svn commit: r341790 - head/multimedia/szap-s2

Juergen Lock nox at FreeBSD.org
Wed Jan 29 22:44:37 UTC 2014


Author: nox
Date: Wed Jan 29 22:44:36 2014
New Revision: 341790
URL: http://svnweb.freebsd.org/changeset/ports/341790
QAT: https://qat.redports.org/buildarchive/r341790/

Log:
  - Actually finish the stagification.
  - Rewrite NOPORTDOCS.

Modified:
  head/multimedia/szap-s2/Makefile

Modified: head/multimedia/szap-s2/Makefile
==============================================================================
--- head/multimedia/szap-s2/Makefile	Wed Jan 29 22:39:57 2014	(r341789)
+++ head/multimedia/szap-s2/Makefile	Wed Jan 29 22:44:36 2014	(r341790)
@@ -22,13 +22,14 @@ MAKE_ARGS+=	CXX=${CXX}
 WRKSRC=		${WRKDIR}/szap-s2-e34f73b254db
 PORTDOCS=	README
 PLIST_FILES=	bin/szap-s2
-NO_STAGE=	yes
+
+.include <bsd.port.options.mk>
 
 do-install:
 	(cd ${WRKSRC} && ${INSTALL_PROGRAM} szap-s2 ${STAGEDIR}/${PREFIX}/bin)
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list