1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Revert last commits and restore previous working fix [1].

Switch to OptionsNG.

PR:		ports/176795 [1]
Submitted by:	Eric Krausser <eric@krausser-edv.de>
This commit is contained in:
Alex Dupre 2013-03-12 10:39:30 +00:00
parent 921ad20c3a
commit 4021303cec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=313961

View File

@ -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 \