diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 22:44:36 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-02-25 22:44:36 +0800 |
commit | 1b98906698906f80375decc432c70e191c5cca8f (patch) | |
tree | 718da83d6e5ef1afcf0331870e7d4d7a1db71d39 /sysutils/open | |
parent | 09a5c764f67bd70b0d79480aa6d88e7363a0e45c (diff) | |
download | freebsd-ports-gnome-1b98906698906f80375decc432c70e191c5cca8f.tar.gz freebsd-ports-gnome-1b98906698906f80375decc432c70e191c5cca8f.tar.zst freebsd-ports-gnome-1b98906698906f80375decc432c70e191c5cca8f.zip |
Support staging
Diffstat (limited to 'sysutils/open')
-rw-r--r-- | sysutils/open/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/sysutils/open/Makefile b/sysutils/open/Makefile index c3653bcbc2e3..7072cd51169d 100644 --- a/sysutils/open/Makefile +++ b/sysutils/open/Makefile @@ -12,24 +12,21 @@ MAINTAINER= fjoe@FreeBSD.org COMMENT= Open opens a new vt and runs a command on it ALL_TARGET= open -MAN1= open.1 -PLIST_FILES= bin/open +PLIST_FILES= bin/open man/man1/open.1.gz OPTIONS_DEFINE= SETUID SETUID_DESC= Install setuid open binary PKGMESSAGE= ${WRKDIR}/pkg-message -NO_STAGE= yes .include <bsd.port.options.mk> do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/open ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/open.1 ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/open ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/open.1 ${STAGEDIR}${MANPREFIX}/man/man1 .if ${PORT_OPTIONS:MSETUID} - ${CHMOD} u+s ${PREFIX}/bin/open + ${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/open .else @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${FILESDIR}/pkg-message.in > ${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} .endif .include <bsd.port.mk> |