aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-09 02:58:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-09 02:58:15 +0800
commit70bc3fd991b0fe02f1fbccd64d00909557511da4 (patch)
treee1b79b8bc24c257e7c4edbba939d06dcfb90dcae /java
parent3443499944c66ee571514dfa3a94d4653d9dfcae (diff)
downloadfreebsd-ports-gnome-70bc3fd991b0fe02f1fbccd64d00909557511da4.tar.gz
freebsd-ports-gnome-70bc3fd991b0fe02f1fbccd64d00909557511da4.tar.zst
freebsd-ports-gnome-70bc3fd991b0fe02f1fbccd64d00909557511da4.zip
- Add NO_ARCH
- Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'java')
-rw-r--r--java/jakarta-commons-httpclient/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/java/jakarta-commons-httpclient/Makefile b/java/jakarta-commons-httpclient/Makefile
index 32ee3bef3c42..f4aba58702fe 100644
--- a/java/jakarta-commons-httpclient/Makefile
+++ b/java/jakarta-commons-httpclient/Makefile
@@ -27,6 +27,7 @@ USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
+NO_ARCH= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
ALL_TARGET= dist
@@ -35,8 +36,6 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
PORTDOCS= *
-.include <bsd.port.options.mk>
-
post-patch:
@LANG=C ${REINPLACE_CMD} 's/Ortwin Gl.*ck/Ortwin Glueck/' \
${WRKSRC}/src/java/org/apache/commons/httpclient/*.java \
@@ -46,12 +45,12 @@ do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
@${ECHO_MSG} " [DONE]"
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC}/dist/docs && ${FIND} api \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
@${ECHO_MSG} " [DONE]"
-.endif
.include <bsd.port.mk>