From b6d2341a6f2a94c37f993fe5ee27da7b84a738e7 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 1 Oct 2013 14:26:50 +0000 Subject: Support staging. --- ports-mgmt/pkgs_which/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'ports-mgmt/pkgs_which') 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 .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 -- cgit v1.2.3