diff options
author | Alex Dupre <ale@FreeBSD.org> | 2012-03-13 08:57:19 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2012-03-13 08:57:19 +0000 |
commit | 33809f5d9296332be721f61b4212aae3c86e288c (patch) | |
tree | c8efcc779b100b4c4eee26f2100d90fff159b2ba /java/jakarta-commons-httpclient/Makefile | |
parent | 79ce43334675581f40d5e7a9e6e2d6ad8b609244 (diff) |
Notes
Diffstat (limited to 'java/jakarta-commons-httpclient/Makefile')
-rw-r--r-- | java/jakarta-commons-httpclient/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/java/jakarta-commons-httpclient/Makefile b/java/jakarta-commons-httpclient/Makefile index d23c44150a4c..5a61bf9dd987 100644 --- a/java/jakarta-commons-httpclient/Makefile +++ b/java/jakarta-commons-httpclient/Makefile @@ -17,6 +17,8 @@ DISTNAME= ${PORTNAME}-${DISTVERSION}-src MAINTAINER= ale@FreeBSD.org COMMENT= A package implementing the client side of the HTTP standard +LICENSE= AL2 + BUILD_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging BUILD_DEPENDS+= ${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-codec RUN_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging @@ -32,8 +34,12 @@ ALL_TARGET= dist PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar -PORTDOCS= LICENSE api +PORTDOCS= * +post-patch: + @${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}/ @@ -43,7 +49,6 @@ do-install: @${MKDIR} ${DOCSDIR} @cd ${WRKSRC}/dist/docs && ${FIND} api \ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1 - @${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR}/ @${ECHO_MSG} " [DONE]" .endif |