svn commit: r346341 - head/devel/google-styleguide
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Feb 27 14:10:50 UTC 2014
Author: ehaupt
Date: Thu Feb 27 14:10:50 2014
New Revision: 346341
URL: http://svnweb.freebsd.org/changeset/ports/346341
QAT: https://qat.redports.org/buildarchive/r346341/
Log:
- Support staging
- Define DOCS option
Modified:
head/devel/google-styleguide/Makefile
Modified: head/devel/google-styleguide/Makefile
==============================================================================
--- head/devel/google-styleguide/Makefile Thu Feb 27 14:08:14 2014 (r346340)
+++ head/devel/google-styleguide/Makefile Thu Feb 27 14:10:50 2014 (r346341)
@@ -18,7 +18,8 @@ NO_WRKSUBDIR= yes
PLIST_FILES= bin/cpplint.py
PORTDOCS= README
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-extract:
@${MKDIR} ${WRKSRC}
@cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
@@ -27,10 +28,8 @@ post-patch:
@${REINPLACE_CMD} -Ee "s,#!.*,#!${PYTHON_CMD}," ${WRKSRC}/*.py
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/cpplint.py ${PREFIX}/bin
-.ifndef NOPORTDOCS
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/cpplint.py ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list