svn commit: r328953 - head/ports-mgmt/pkgs_which

Matthias Andree mandree at FreeBSD.org
Tue Oct 1 14:26:51 UTC 2013


Author: mandree
Date: Tue Oct  1 14:26:50 2013
New Revision: 328953
URL: http://svnweb.freebsd.org/changeset/ports/328953

Log:
  Support staging.

Modified:
  head/ports-mgmt/pkgs_which/Makefile

Modified: head/ports-mgmt/pkgs_which/Makefile
==============================================================================
--- head/ports-mgmt/pkgs_which/Makefile	Tue Oct  1 14:21:35 2013	(r328952)
+++ head/ports-mgmt/pkgs_which/Makefile	Tue Oct  1 14:26:50 2013	(r328953)
@@ -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>


More information about the svn-ports-all mailing list