aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/asfsm
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2013-11-08 20:46:34 +0800
committervanilla <vanilla@FreeBSD.org>2013-11-08 20:46:34 +0800
commite5695a93ca5c96cbdb588e23f464b7bbf77be6d1 (patch)
tree7a5e1d5f14d868d80efd1ee326eec4144c3f5d0a /sysutils/asfsm
parent9c6a94b9dd4fe48baddf8d1d854c3634ca5c39ee (diff)
downloadfreebsd-ports-gnome-e5695a93ca5c96cbdb588e23f464b7bbf77be6d1.tar.gz
freebsd-ports-gnome-e5695a93ca5c96cbdb588e23f464b7bbf77be6d1.tar.zst
freebsd-ports-gnome-e5695a93ca5c96cbdb588e23f464b7bbf77be6d1.zip
Support STAGEDIR.
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.