aboutsummaryrefslogtreecommitdiff
path: root/sysutils/asfsm
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2013-11-08 12:46:34 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2013-11-08 12:46:34 +0000
commita1cd4da20d4b9ec24d56346b2281fea1a4417551 (patch)
tree7a5e1d5f14d868d80efd1ee326eec4144c3f5d0a /sysutils/asfsm
parentf2db8331d857e3eeea6a62916dde176aa7f1e841 (diff)
downloadports-a1cd4da20d4b9ec24d56346b2281fea1a4417551.tar.gz
ports-a1cd4da20d4b9ec24d56346b2281fea1a4417551.zip
Support STAGEDIR.
Notes
Notes: svn path=/head/; revision=333216
Diffstat (limited to 'sysutils/asfsm')
-rw-r--r--sysutils/asfsm/Makefile16
-rw-r--r--sysutils/asfsm/files/pkg-message.in4
2 files changed, 8 insertions, 12 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.