Add jakarta-commons-httpclient 2.0.2, a package implementing the client
side of the HTTP standard.
This commit is contained in:
@@ -50,6 +50,7 @@
|
||||
SUBDIR += jakarta-commons-collections
|
||||
SUBDIR += jakarta-commons-dbcp
|
||||
SUBDIR += jakarta-commons-discovery
|
||||
SUBDIR += jakarta-commons-httpclient
|
||||
SUBDIR += jakarta-commons-lang
|
||||
SUBDIR += jakarta-commons-logging
|
||||
SUBDIR += jakarta-commons-pool
|
||||
|
||||
49
java/jakarta-commons-httpclient/Makefile
Normal file
49
java/jakarta-commons-httpclient/Makefile
Normal file
@@ -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>
|
||||
2
java/jakarta-commons-httpclient/distinfo
Normal file
2
java/jakarta-commons-httpclient/distinfo
Normal file
@@ -0,0 +1,2 @@
|
||||
MD5 (commons-httpclient-2.0.2-src.tar.gz) = f3ae7736fbfb559cb228291427f22c2d
|
||||
SIZE (commons-httpclient-2.0.2-src.tar.gz) = 1447937
|
||||
13
java/jakarta-commons-httpclient/files/patch-build.xml
Normal file
13
java/jakarta-commons-httpclient/files/patch-build.xml
Normal file
@@ -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 ===================== -->
|
||||
14
java/jakarta-commons-httpclient/pkg-descr
Normal file
14
java/jakarta-commons-httpclient/pkg-descr
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user