diff options
author | ale <ale@FreeBSD.org> | 2004-10-17 21:32:16 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-10-17 21:32:16 +0800 |
commit | 1c964bf4938d4b9d614c05bf1ec937ffa268c357 (patch) | |
tree | 7a38ed8c7c72329dcb4982aa728f43da39126939 /java/jakarta-commons-httpclient | |
parent | bfd24d1f6b0c36059393fa3485a2b27f15e499fc (diff) | |
download | freebsd-ports-gnome-1c964bf4938d4b9d614c05bf1ec937ffa268c357.tar.gz freebsd-ports-gnome-1c964bf4938d4b9d614c05bf1ec937ffa268c357.tar.zst freebsd-ports-gnome-1c964bf4938d4b9d614c05bf1ec937ffa268c357.zip |
Add jakarta-commons-httpclient 2.0.2, a package implementing the client
side of the HTTP standard.
Diffstat (limited to 'java/jakarta-commons-httpclient')
-rw-r--r-- | java/jakarta-commons-httpclient/Makefile | 49 | ||||
-rw-r--r-- | java/jakarta-commons-httpclient/distinfo | 2 | ||||
-rw-r--r-- | java/jakarta-commons-httpclient/files/patch-build.xml | 13 | ||||
-rw-r--r-- | java/jakarta-commons-httpclient/pkg-descr | 14 |
4 files changed, 78 insertions, 0 deletions
diff --git a/java/jakarta-commons-httpclient/Makefile b/java/jakarta-commons-httpclient/Makefile new file mode 100644 index 000000000000..95577b3f41cf --- /dev/null +++ b/java/jakarta-commons-httpclient/Makefile @@ -0,0 +1,49 @@ +# Ports collection makefile for: Jakarta Commons HttpCLient +# Date created: 17 October 2004 +# Whom: Alex Dupre <ale@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= commons-httpclient +PORTVERSION= 2.0.2 +CATEGORIES= java www +MASTER_SITES= ${MASTER_SITE_APACHE_JAKARTA} +MASTER_SITE_SUBDIR= commons/httpclient/source +PKGNAMEPREFIX= jakarta- +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= ale@FreeBSD.org +COMMENT= A package implementing the client side of the HTTP standard + +BUILD_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging +RUN_DEPENDS= ${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging + +USE_JAVA= yes +JAVA_VERSION= 1.4+ +USE_ANT= yes +MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +ALL_TARGET= dist + +PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar + +.if !defined(NOPORTDOCS) +PORTDOCS= LICENSE api +.endif + +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) + @${ECHO_MSG} -n ">> Installing documentation..." + @${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 + +.include <bsd.port.mk> diff --git a/java/jakarta-commons-httpclient/distinfo b/java/jakarta-commons-httpclient/distinfo new file mode 100644 index 000000000000..6ab901382744 --- /dev/null +++ b/java/jakarta-commons-httpclient/distinfo @@ -0,0 +1,2 @@ +MD5 (commons-httpclient-2.0.2-src.tar.gz) = f3ae7736fbfb559cb228291427f22c2d +SIZE (commons-httpclient-2.0.2-src.tar.gz) = 1447937 diff --git a/java/jakarta-commons-httpclient/files/patch-build.xml b/java/jakarta-commons-httpclient/files/patch-build.xml new file mode 100644 index 000000000000..bf2184153274 --- /dev/null +++ b/java/jakarta-commons-httpclient/files/patch-build.xml @@ -0,0 +1,13 @@ +--- build.xml.orig Sun Oct 17 01:24:11 2004 ++++ build.xml Sun Oct 17 01:26:18 2004 +@@ -199,10 +199,6 @@ + <copy todir="${dist.home}/src" filtering="on"> + <fileset dir="${source.home}"/> + </copy> +- <mkdir dir="${dist.home}/lib"/> +- <copy todir="${dist.home}/lib"> +- <fileset dir="lib"/> +- </copy> + </target> + + <!-- ========== Targets: "External" Targets: Clean-up ===================== --> diff --git a/java/jakarta-commons-httpclient/pkg-descr b/java/jakarta-commons-httpclient/pkg-descr new file mode 100644 index 000000000000..50e04aaf68df --- /dev/null +++ b/java/jakarta-commons-httpclient/pkg-descr @@ -0,0 +1,14 @@ +The Jakarta Commons HttpClient component provides an efficient, up-to-date, +and feature-rich package implementing the client side of the most recent HTTP +standards and recommendations. + +Designed for extension while providing robust support for the base HTTP +protocol, the HttpClient component may be of interest to anyone building +HTTP-aware client applications such as web browsers, web service clients, +or systems that leverage or extend the HTTP protocol for distributed +communication. + +WWW: http://jakarta.apache.org/commons/httpclient/ + +- Alex Dupre +ale@FreeBSD.org |