aboutsummaryrefslogtreecommitdiffstats
path: root/java/jakarta-commons-httpclient
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2014-05-12 23:51:11 +0800
committerale <ale@FreeBSD.org>2014-05-12 23:51:11 +0800
commit4c7d59ab3fa0370853d1b762c71d96191e026dca (patch)
treed68f50de5176d7b99c900bc1f6d74bb43d72fb58 /java/jakarta-commons-httpclient
parent9065e600df549671789cbf14f710c276d90f7dcb (diff)
downloadfreebsd-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/Makefile12
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