diff options
author | ale <ale@FreeBSD.org> | 2014-05-12 21:55:13 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2014-05-12 21:55:13 +0800 |
commit | e75694b431ba414347c87b37292f096ee07710c5 (patch) | |
tree | 03db96efd7d1ad3b1c05eb9b18b2029ba37777aa /devel | |
parent | b784016eb841e3cef2e755ae5c71e6841ce7a6b4 (diff) | |
download | freebsd-ports-gnome-e75694b431ba414347c87b37292f096ee07710c5.tar.gz freebsd-ports-gnome-e75694b431ba414347c87b37292f096ee07710c5.tar.zst freebsd-ports-gnome-e75694b431ba414347c87b37292f096ee07710c5.zip |
Stagify.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/javolution/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/devel/javolution/Makefile b/devel/javolution/Makefile index feb901ae69dc..47b5f787780f 100644 --- a/devel/javolution/Makefile +++ b/devel/javolution/Makefile @@ -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 |