svn commit: r353822 - head/devel/javolution
Alex Dupre
ale at FreeBSD.org
Mon May 12 13:55:14 UTC 2014
Author: ale
Date: Mon May 12 13:55:13 2014
New Revision: 353822
URL: http://svnweb.freebsd.org/changeset/ports/353822
QAT: https://qat.redports.org/buildarchive/r353822/
Log:
Stagify.
Modified:
head/devel/javolution/Makefile
Modified: head/devel/javolution/Makefile
==============================================================================
--- head/devel/javolution/Makefile Mon May 12 13:51:04 2014 (r353821)
+++ head/devel/javolution/Makefile Mon May 12 13:55:13 2014 (r353822)
@@ -23,9 +23,10 @@ PORTDOCS= *
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
-NO_STAGE= yes
+.include <bsd.port.options.mk>
+
post-patch:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} "s|doc, jar, _zip|doc, jar|" ${WRKSRC}/build.xml
.else
@${REINPLACE_CMD} "s|doc, jar, _zip|jar|" ${WRKSRC}/build.xml
@@ -33,15 +34,16 @@ post-patch:
do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
- @${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar ${JAVAJARDIR}/${PORTNAME}.jar
+ @${INSTALL_DATA} ${WRKSRC}/target/${PORTNAME}-${PORTVERSION}.jar \
+ ${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
@${ECHO_MSG} " [DONE]"
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation..."
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${FIND} index.html css \
- | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
@cd ${WRKSRC}/target/site && ${FIND} apidocs \
- | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
@${ECHO_MSG} " [DONE]"
.endif
More information about the svn-ports-all
mailing list