diff options
author | Matthias Andree <mandree@FreeBSD.org> | 2013-10-01 14:26:50 +0000 |
---|---|---|
committer | Matthias Andree <mandree@FreeBSD.org> | 2013-10-01 14:26:50 +0000 |
commit | b6d2341a6f2a94c37f993fe5ee27da7b84a738e7 (patch) | |
tree | 10c1e9530a96f15aaa8ebb3885d121de4456acb3 | |
parent | fc1e4986a449ed0200044a75e8505632770056f1 (diff) | |
download | ports-b6d2341a6f2a94c37f993fe5ee27da7b84a738e7.tar.gz ports-b6d2341a6f2a94c37f993fe5ee27da7b84a738e7.zip |
Support staging.
Notes
Notes:
svn path=/head/; revision=328953
-rw-r--r-- | ports-mgmt/pkgs_which/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ports-mgmt/pkgs_which/Makefile b/ports-mgmt/pkgs_which/Makefile index e9f3971cf66a..41df103ceddc 100644 --- a/ports-mgmt/pkgs_which/Makefile +++ b/ports-mgmt/pkgs_which/Makefile @@ -16,19 +16,18 @@ USES= perl5 NO_BUILD= yes PLIST_FILES= bin/${PORTNAME} -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MDOCS} -MAN1= ${PORTNAME}.1 +PLIST_FILES+= man/man1/${PORTNAME}.1.gz .endif do-install: - ${MKDIR} ${PREFIX}/bin - ${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${PREFIX}/bin + ${MKDIR} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${PREFIX}/man/man1 - ${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${PREFIX}/man/man1/${MAN1} + ${MKDIR} ${STAGEDIR}${PREFIX}/man/man1 + ${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1 .endif .include <bsd.port.mk> |