aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2013-03-12 18:39:30 +0800
committerale <ale@FreeBSD.org>2013-03-12 18:39:30 +0800
commitaf359c66248d23e4ef126ee5480e414181adfafe (patch)
treeff2f175b885e602256e339cc8e3efd5de3d6812a /java
parent337ed01753bd3018f9dfc16d4700e6c7bdcbeef2 (diff)
downloadfreebsd-ports-gnome-af359c66248d23e4ef126ee5480e414181adfafe.tar.gz
freebsd-ports-gnome-af359c66248d23e4ef126ee5480e414181adfafe.tar.zst
freebsd-ports-gnome-af359c66248d23e4ef126ee5480e414181adfafe.zip
Revert last commits and restore previous working fix [1].
Switch to OptionsNG. PR: ports/176795 [1] Submitted by: Eric Krausser <eric@krausser-edv.de>
Diffstat (limited to 'java')
-rw-r--r--java/jakarta-commons-httpclient/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/java/jakarta-commons-httpclient/Makefile b/java/jakarta-commons-httpclient/Makefile
index b5ffd017e4f0..91408473cd98 100644
--- a/java/jakarta-commons-httpclient/Makefile
+++ b/java/jakarta-commons-httpclient/Makefile
@@ -23,7 +23,7 @@ RUN_DEPENDS+= ${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-c
USE_JAVA= yes
JAVA_VERSION= 1.6+
USE_ANT= yes
-MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES LANG=C LC_ALL=C
+MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
ALL_TARGET= dist
@@ -32,11 +32,18 @@ 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 \
+ ${WRKSRC}/src/java/org/apache/commons/httpclient/*/*.java
+
do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${JAVAJARDIR}/
@${ECHO_MSG} " [DONE]"
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/dist/docs && ${FIND} api \