diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-08 12:46:34 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2013-11-08 12:46:34 +0000 |
commit | a1cd4da20d4b9ec24d56346b2281fea1a4417551 (patch) | |
tree | 7a5e1d5f14d868d80efd1ee326eec4144c3f5d0a /sysutils | |
parent | f2db8331d857e3eeea6a62916dde176aa7f1e841 (diff) | |
download | ports-a1cd4da20d4b9ec24d56346b2281fea1a4417551.tar.gz ports-a1cd4da20d4b9ec24d56346b2281fea1a4417551.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/asfsm/Makefile | 16 | ||||
-rw-r--r-- | sysutils/asfsm/files/pkg-message.in | 4 | ||||
-rw-r--r-- | sysutils/asmem/Makefile | 8 |
3 files changed, 11 insertions, 17 deletions
diff --git a/sysutils/asfsm/Makefile b/sysutils/asfsm/Makefile index 95f66321c224..087189a07d75 100644 --- a/sysutils/asfsm/Makefile +++ b/sysutils/asfsm/Makefile @@ -14,19 +14,11 @@ COMMENT= File-system monitor for the AfterStep window manager USE_XORG= xpm x11 sm ice xext xaw xt GNU_CONFIGURE= yes -MAN1= asfsm.1 -PLIST_FILES= bin/asfsm +SUB_FILES= pkg-message +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz -NO_STAGE= yes do-install: - ${INSTALL_MAN} ${WRKSRC}/asfsm.man ${PREFIX}/man/man1/asfsm.1 - ${INSTALL_PROGRAM} ${WRKSRC}/asfsm ${PREFIX}/bin - -post-install: - @${ECHO_MSG} "" - @${ECHO_MSG} "If you would like to be able to mount and umount file systems" - @${ECHO_MSG} "using asfsm, as root, type \`chmod 4555 ${PREFIX}/bin/asfsm\`" - @${ECHO_MSG} "NOTE: This opens a SECURITY HOLE as ALL users will have this ability." - @${ECHO_MSG} "" + ${INSTALL_MAN} ${WRKSRC}/asfsm.man ${STAGEDIR}${PREFIX}/man/man1/asfsm.1 + ${INSTALL_PROGRAM} ${WRKSRC}/asfsm ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> diff --git a/sysutils/asfsm/files/pkg-message.in b/sysutils/asfsm/files/pkg-message.in new file mode 100644 index 000000000000..1c7ee9dd8012 --- /dev/null +++ b/sysutils/asfsm/files/pkg-message.in @@ -0,0 +1,4 @@ + +If you would like to be able to mount and umount file systems +using asfsm, as root, type \`chmod 4555 %%PREFIX%%/bin/asfsm\` +NOTE: This opens a SECURITY HOLE as ALL users will have this ability. diff --git a/sysutils/asmem/Makefile b/sysutils/asmem/Makefile index 0eb6cf9415a1..90d22070dd7a 100644 --- a/sysutils/asmem/Makefile +++ b/sysutils/asmem/Makefile @@ -16,12 +16,10 @@ CONFIGURE_ARGS= --with-xpm \ --with-xpm-includes=${LOCALBASE}/include \ --with-xpm-library=${LOCALBASE}/lib -MAN1= asmem.1 -PLIST_FILES= bin/asmem +PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz -NO_STAGE= yes do-install: - ${INSTALL_PROGRAM} -g kmem -m 2755 ${WRKSRC}/asmem ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/asmem.man ${MANPREFIX}/man/man1/asmem.1 + ${INSTALL_PROGRAM} -g kmem -m 2755 ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.man ${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1 .include <bsd.port.mk> |