diff options
author | vanilla <vanilla@FreeBSD.org> | 2013-11-08 20:46:34 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2013-11-08 20:46:34 +0800 |
commit | e5695a93ca5c96cbdb588e23f464b7bbf77be6d1 (patch) | |
tree | 7a5e1d5f14d868d80efd1ee326eec4144c3f5d0a | |
parent | 9c6a94b9dd4fe48baddf8d1d854c3634ca5c39ee (diff) | |
download | freebsd-ports-gnome-e5695a93ca5c96cbdb588e23f464b7bbf77be6d1.tar.gz freebsd-ports-gnome-e5695a93ca5c96cbdb588e23f464b7bbf77be6d1.tar.zst freebsd-ports-gnome-e5695a93ca5c96cbdb588e23f464b7bbf77be6d1.zip |
Support STAGEDIR.
-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> |