diff options
author | ale <ale@FreeBSD.org> | 2014-05-12 23:51:11 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2014-05-12 23:51:11 +0800 |
commit | 4c7d59ab3fa0370853d1b762c71d96191e026dca (patch) | |
tree | d68f50de5176d7b99c900bc1f6d74bb43d72fb58 /java/jakarta-commons-httpclient | |
parent | 9065e600df549671789cbf14f710c276d90f7dcb (diff) | |
download | freebsd-ports-gnome-4c7d59ab3fa0370853d1b762c71d96191e026dca.tar.gz freebsd-ports-gnome-4c7d59ab3fa0370853d1b762c71d96191e026dca.tar.zst freebsd-ports-gnome-4c7d59ab3fa0370853d1b762c71d96191e026dca.zip |
Stagify.
Diffstat (limited to 'java/jakarta-commons-httpclient')
-rw-r--r-- | java/jakarta-commons-httpclient/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/java/jakarta-commons-httpclient/Makefile b/java/jakarta-commons-httpclient/Makefile index 4d7088576e74..1e7e1a2c898e 100644 --- a/java/jakarta-commons-httpclient/Makefile +++ b/java/jakarta-commons-httpclient/Makefile @@ -20,6 +20,8 @@ BUILD_DEPENDS+= ${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons RUN_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging RUN_DEPENDS+= ${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-codec +OPTIONS_DEFINE= DOCS + USE_JAVA= yes JAVA_VERSION= 1.6+ USE_ANT= yes @@ -32,10 +34,6 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar PORTDOCS= * -NO_STAGE= yes - -OPTIONS_DEFINE= DOCS - .include <bsd.port.options.mk> post-patch: @@ -45,13 +43,13 @@ post-patch: do-install: @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." - @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${JAVAJARDIR}/ + @${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/ @${ECHO_MSG} " [DONE]" .if ${PORT_OPTIONS:MDOCS} @${ECHO_MSG} -n ">> Installing documentation..." - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} @cd ${WRKSRC}/dist/docs && ${FIND} api \ - | ${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 |