svn commit: r333977 - in head/sysutils: pdixtract personality personality/files prips procmap progsreiserfs pslist
Vanilla I. Shu
vanilla at FreeBSD.org
Sat Nov 16 03:33:40 UTC 2013
Author: vanilla
Date: Sat Nov 16 03:33:37 2013
New Revision: 333977
URL: http://svnweb.freebsd.org/changeset/ports/333977
Log:
Support STAGEDIR.
Added:
head/sysutils/personality/files/
head/sysutils/personality/files/pkg-message.in (contents, props changed)
head/sysutils/pslist/pkg-plist (contents, props changed)
Modified:
head/sysutils/pdixtract/Makefile
head/sysutils/personality/Makefile
head/sysutils/personality/pkg-message
head/sysutils/prips/Makefile
head/sysutils/procmap/Makefile
head/sysutils/progsreiserfs/Makefile
head/sysutils/progsreiserfs/pkg-plist
head/sysutils/pslist/Makefile
Modified: head/sysutils/pdixtract/Makefile
==============================================================================
--- head/sysutils/pdixtract/Makefile Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/pdixtract/Makefile Sat Nov 16 03:33:37 2013 (r333977)
@@ -19,11 +19,10 @@ USE_ZIP= yes
PLIST_FILES= bin/pdixtract
-NO_STAGE= yes
do-build:
cd ${WRKDIR}; ${CC} ${CFLAGS} pdixtract.c -o pdixtract
do-install:
- ${INSTALL_PROGRAM} ${WRKDIR}/pdixtract ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKDIR}/pdixtract ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
Modified: head/sysutils/personality/Makefile
==============================================================================
--- head/sysutils/personality/Makefile Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/personality/Makefile Sat Nov 16 03:33:37 2013 (r333977)
@@ -11,21 +11,17 @@ COMMENT= System configuration management
WRKSRC= ${WRKDIR}/src
NO_BUILD= YES
+SUB_FILES= pkg-message
+
+PLIST_FILES= man/man8/${PORTNAME}.8.gz sbin/personality
-NO_STAGE= yes
do-extract:
@ ${RM} -rf ${WRKDIR}
@ ${MKDIR} ${WRKDIR}
@ ${CP} -RP ${.CURDIR}/src ${WRKDIR}
-MAN8= personality.8
-PLIST_FILES= sbin/personality
-
do-install:
- @ ${INSTALL_SCRIPT} ${WRKSRC}/personality ${PREFIX}/sbin
- @ ${INSTALL_DATA} ${WRKSRC}/personality.8 ${PREFIX}/man/man8
-
-post-install:
- @ ${CAT} ${.CURDIR}/pkg-message
+ @ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
+ @ ${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.8 ${STAGEDIR}${PREFIX}/man/man8
.include <bsd.port.mk>
Added: head/sysutils/personality/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/personality/files/pkg-message.in Sat Nov 16 03:33:37 2013 (r333977)
@@ -0,0 +1,8 @@
+To change the personality of your system at system boot
+you have to add the following line into the /etc/rc script.
+
+[ -x %%PREFIX%%/sbin/personality ] && %%PREFIX%%/sbin/personality menu 60
+
+Make sure that you add this after mounting of the ufs filesystems.
+If you prefer you can use other values than 60 seconds.
+After 60 seconds the system boots with the last configuration.
Modified: head/sysutils/personality/pkg-message
==============================================================================
--- head/sysutils/personality/pkg-message Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/personality/pkg-message Sat Nov 16 03:33:37 2013 (r333977)
@@ -1,8 +0,0 @@
-To change the personality of your system at system boot
-you have to add the following line into the /etc/rc script.
-
-[ -x /usr/local/sbin/personality ] && /usr/local/sbin/personality menu 60
-
-Make sure that you add this after mounting of the ufs filesystems.
-If you prefer you can use other values than 60 seconds.
-After 60 seconds the system boots with the last configuration.
Modified: head/sysutils/prips/Makefile
==============================================================================
--- head/sysutils/prips/Makefile Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/prips/Makefile Sat Nov 16 03:33:37 2013 (r333977)
@@ -11,25 +11,14 @@ COMMENT= Prints IP subnet ranges by list
LICENSE= GPLv2
-PORTDOCS= README
-PLIST_FILES= bin/prips
-
-MAN1= prips.1
-MANCOMPRESSED= yes
-
MAKE_ENV+= CFLAGS_WARN="-Wall -W"
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/prips ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/prips.1.gz ${PREFIX}/man/man1/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/prips ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/prips.1.gz ${STAGEDIR}${PREFIX}/man/man1/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Modified: head/sysutils/procmap/Makefile
==============================================================================
--- head/sysutils/procmap/Makefile Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/procmap/Makefile Sat Nov 16 03:33:37 2013 (r333977)
@@ -14,13 +14,10 @@ MAKEFILE= /usr/share/mk/bsd.prog.mk
MAKE_ENV+= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man \
PROG=procmap MAN8=procmap.8
-PLIST_FILES= bin/procmap
-MAN8= procmap.8
-MANCOMPRESSED= yes
+PLIST_FILES= bin/procmap man/man8/${PORTNAME}.8.gz
procmap_files := procmap.c procmap.8
-NO_STAGE= yes
post-extract:
cd ${FILESDIR} ; \
${CP} -p ${procmap_files} ${WRKSRC}
Modified: head/sysutils/progsreiserfs/Makefile
==============================================================================
--- head/sysutils/progsreiserfs/Makefile Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/progsreiserfs/Makefile Sat Nov 16 03:33:37 2013 (r333977)
@@ -18,7 +18,6 @@ CFLAGS+= -Dgetopt_long_only=getopt_long
EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
@@ -29,9 +28,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS+=--disable-nls
.endif
-MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \
- resizefs.reiserfs.8 tunefs.reiserfs.8
-
post-patch:
@${REINPLACE_CMD} -e 's|^LIBTOOL=.*|LIBTOOL=${LIBTOOL}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
Modified: head/sysutils/progsreiserfs/pkg-plist
==============================================================================
--- head/sysutils/progsreiserfs/pkg-plist Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/progsreiserfs/pkg-plist Sat Nov 16 03:33:37 2013 (r333977)
@@ -29,6 +29,11 @@ lib/libreiserfs-0.3.so.0
lib/libreiserfs.a
lib/libreiserfs.la
lib/libreiserfs.so
+man/man8/cpfs.reiserfs.8.gz
+man/man8/mkfs.reiserfs.8.gz
+man/man8/reiserfs.8.gz
+man/man8/resizefs.reiserfs.8.gz
+man/man8/tunefs.reiserfs.8.gz
sbin/cpfs.reiserfs
sbin/fsck.reiserfs
sbin/mkfs.reiserfs
Modified: head/sysutils/pslist/Makefile
==============================================================================
--- head/sysutils/pslist/Makefile Sat Nov 16 03:20:14 2013 (r333976)
+++ head/sysutils/pslist/Makefile Sat Nov 16 03:33:37 2013 (r333977)
@@ -12,11 +12,4 @@ COMMENT= A utility to view or send signa
USES= perl5
USE_PERL5= run
-MAN1= pslist.1
-MLINKS= pslist.1 rkill.1 pslist.1 rrenice.1
-PLIST_FILES= bin/pslist \
- bin/rkill \
- bin/rrenice
-
-NO_STAGE= yes
.include <bsd.port.mk>
Added: head/sysutils/pslist/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/pslist/pkg-plist Sat Nov 16 03:33:37 2013 (r333977)
@@ -0,0 +1,6 @@
+bin/pslist
+bin/rkill
+bin/rrenice
+man/man1/pslist.1.gz
+man/man1/rkill.1.gz
+man/man1/rrenice.1.gz
More information about the svn-ports-head
mailing list