svn commit: r345958 - head/security/gag

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 11:21:17 UTC 2014


Author: ehaupt
Date: Tue Feb 25 11:21:16 2014
New Revision: 345958
URL: http://svnweb.freebsd.org/changeset/ports/345958
QAT: https://qat.redports.org/buildarchive/r345958/

Log:
  Support staging

Modified:
  head/security/gag/Makefile

Modified: head/security/gag/Makefile
==============================================================================
--- head/security/gag/Makefile	Tue Feb 25 11:19:57 2014	(r345957)
+++ head/security/gag/Makefile	Tue Feb 25 11:21:16 2014	(r345958)
@@ -18,12 +18,11 @@ ALL_TARGET=	gag
 PORTDOCS=	README
 PLIST_FILES=	sbin/gag
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/gag ${PREFIX}/sbin
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
-.endif
+	@${INSTALL_PROGRAM} ${WRKSRC}/gag ${STAGEDIR}${PREFIX}/sbin
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list