diff options
author | mandree <mandree@FreeBSD.org> | 2013-10-01 14:26:50 +0000 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2013-10-01 14:26:50 +0000 |
commit | 593546125f2d971bd8439608e8965d073f3449a7 (patch) | |
tree | 10c1e9530a96f15aaa8ebb3885d121de4456acb3 | |
parent | 3515ae0a5ac0f0af13ceb194e822878cfe6db62e (diff) | |
download | FreeBSD-ports-593546125f2d971bd8439608e8965d073f3449a7.zip FreeBSD-ports-593546125f2d971bd8439608e8965d073f3449a7.tar.gz |
Support staging.
-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 e9f3971..41df103 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> |