mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-17 05:51:19 +02:00
create bsd12 branch
This commit is contained in:
38
java/jakarta-commons-httpclient/Makefile
Normal file
38
java/jakarta-commons-httpclient/Makefile
Normal file
@@ -0,0 +1,38 @@
|
||||
# Created by: Alex Dupre <ale@FreeBSD.org>
|
||||
# $FreeBSD: head/java/jakarta-commons-httpclient/Makefile 431796 2017-01-18 13:20:31Z tijl $
|
||||
|
||||
PORTNAME= commons-httpclient
|
||||
DISTVERSION= 3.1
|
||||
CATEGORIES= java www
|
||||
MASTER_SITES= APACHE/httpcomponents/${PORTNAME}/source
|
||||
PKGNAMEPREFIX= jakarta-
|
||||
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
||||
|
||||
MAINTAINER= ale@FreeBSD.org
|
||||
COMMENT= Package implementing the client side of the HTTP standard
|
||||
|
||||
BUILD_DEPENDS= ${JAVALIBDIR}/commons-logging.jar:java/jakarta-commons-logging
|
||||
BUILD_DEPENDS+= ${JAVALIBDIR}/commons-codec.jar:java/jakarta-commons-codec
|
||||
RUN_DEPENDS= ${JAVALIBDIR}/commons-logging.jar:java/jakarta-commons-logging
|
||||
RUN_DEPENDS+= ${JAVALIBDIR}/commons-codec.jar:java/jakarta-commons-codec
|
||||
|
||||
USE_JAVA= yes
|
||||
JAVA_VERSION= 1.6+
|
||||
USE_ANT= yes
|
||||
MAKE_ENV= ANT_INCLUDE_SHARED_JARS=YES
|
||||
NO_ARCH= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
ALL_TARGET= dist
|
||||
|
||||
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar
|
||||
|
||||
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:
|
||||
${INSTALL_DATA} ${WRKSRC}/dist/${PORTNAME}.jar ${STAGEDIR}${JAVAJARDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
java/jakarta-commons-httpclient/distinfo
Normal file
2
java/jakarta-commons-httpclient/distinfo
Normal file
@@ -0,0 +1,2 @@
|
||||
SHA256 (commons-httpclient-3.1-src.tar.gz) = f9a496d3418b0e15894fb351652cd4fa5ca434ebfc3ce3bb8da40defd8b097f2
|
||||
SIZE (commons-httpclient-3.1-src.tar.gz) = 1882664
|
||||
18
java/jakarta-commons-httpclient/files/patch-build.xml
Normal file
18
java/jakarta-commons-httpclient/files/patch-build.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
--- build.xml.orig 2007-10-28 09:00:18.000000000 +0100
|
||||
+++ build.xml 2007-10-28 09:00:37.000000000 +0100
|
||||
@@ -184,13 +184,13 @@
|
||||
optimize ="${compile.optimize}">
|
||||
<classpath refid="compile.classpath"/>
|
||||
</javac>
|
||||
- <javac srcdir ="${source.home}/examples"
|
||||
+ <!--javac srcdir ="${source.home}/examples"
|
||||
destdir ="${build.home}/examples"
|
||||
debug ="${compile.debug}"
|
||||
deprecation ="${compile.deprecation}"
|
||||
optimize ="${compile.optimize}">
|
||||
<classpath refid="compile.classpath"/>
|
||||
- </javac>
|
||||
+ </javac-->
|
||||
</target>
|
||||
|
||||
<target name="compile.tests" depends="compile"
|
||||
11
java/jakarta-commons-httpclient/pkg-descr
Normal file
11
java/jakarta-commons-httpclient/pkg-descr
Normal file
@@ -0,0 +1,11 @@
|
||||
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/
|
||||
Reference in New Issue
Block a user