diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 02:58:15 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-12-09 02:58:15 +0800 |
commit | 70bc3fd991b0fe02f1fbccd64d00909557511da4 (patch) | |
tree | e1b79b8bc24c257e7c4edbba939d06dcfb90dcae /java | |
parent | 3443499944c66ee571514dfa3a94d4653d9dfcae (diff) | |
download | freebsd-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/Makefile | 7 |
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> |