[Midnightbsd-cvs] mports [20622] trunk/java: add jakarta httpclient

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Nov 1 11:58:37 EST 2015


Revision: 20622
          http://svnweb.midnightbsd.org/mports/?rev=20622
Author:   laffer1
Date:     2015-11-01 11:58:37 -0500 (Sun, 01 Nov 2015)
Log Message:
-----------
add jakarta httpclient

Modified Paths:
--------------
    trunk/java/Makefile

Added Paths:
-----------
    trunk/java/jakarta-commons-httpclient/
    trunk/java/jakarta-commons-httpclient/Makefile
    trunk/java/jakarta-commons-httpclient/distinfo
    trunk/java/jakarta-commons-httpclient/files/
    trunk/java/jakarta-commons-httpclient/files/patch-build.xml
    trunk/java/jakarta-commons-httpclient/pkg-descr

Modified: trunk/java/Makefile
===================================================================
--- trunk/java/Makefile	2015-11-01 16:58:07 UTC (rev 20621)
+++ trunk/java/Makefile	2015-11-01 16:58:37 UTC (rev 20622)
@@ -15,6 +15,7 @@
 SUBDIR += jai
 SUBDIR += jakarta-bcel
 SUBDIR += jakarta-commons-cli
+SUBDIR += jakarta-commons-httpclient
 SUBDIR += jakarta-commons-lang
 SUBDIR += jakarta-commons-logging
 SUBDIR += jakarta-commons-primitives

Added: trunk/java/jakarta-commons-httpclient/Makefile
===================================================================
--- trunk/java/jakarta-commons-httpclient/Makefile	                        (rev 0)
+++ trunk/java/jakarta-commons-httpclient/Makefile	2015-11-01 16:58:37 UTC (rev 20622)
@@ -0,0 +1,57 @@
+# Created by: Alex Dupre <ale at FreeBSD.org>
+# $FreeBSD: head/java/jakarta-commons-httpclient/Makefile 386312 2015-05-14 10:15:04Z mat $
+# $MidnightBSD$
+
+PORTNAME=	commons-httpclient
+DISTVERSION=	3.1
+CATEGORIES=	java www
+MASTER_SITES=	APACHE/httpcomponents/${PORTNAME}/source
+PKGNAMEPREFIX=	jakarta-
+DISTNAME=	${PORTNAME}-${DISTVERSION}-src
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	Package implementing the client side of the HTTP standard
+
+LICENSE=	apache2
+
+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
+RUN_DEPENDS+=	${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-codec
+
+OPTIONS_DEFINE=	DOCS
+
+USES+=		cpe
+CPE_VENDOR=	apache
+USE_JAVA=	yes
+JAVA_VERSION=	1.6+
+USE_ANT=	yes
+MAKE_ENV=	ANT_INCLUDE_SHARED_JARS=YES
+
+WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
+ALL_TARGET=	dist
+
+PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar
+
+PORTDOCS=	*
+
+.include <bsd.mport.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 ${STAGEDIR}${JAVAJARDIR}/
+	@${ECHO_MSG} " [DONE]"
+.if ${PORT_OPTIONS:MDOCS}
+	@${ECHO_MSG} -n ">> Installing documentation..."
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@cd ${WRKSRC}/dist/docs && ${FIND} api \
+	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DOCSDIR} > /dev/null 2>&1
+	@${ECHO_MSG} " [DONE]"
+.endif
+
+.include <bsd.port.mk>


Property changes on: trunk/java/jakarta-commons-httpclient/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/java/jakarta-commons-httpclient/distinfo
===================================================================
--- trunk/java/jakarta-commons-httpclient/distinfo	                        (rev 0)
+++ trunk/java/jakarta-commons-httpclient/distinfo	2015-11-01 16:58:37 UTC (rev 20622)
@@ -0,0 +1,2 @@
+SHA256 (commons-httpclient-3.1-src.tar.gz) = f9a496d3418b0e15894fb351652cd4fa5ca434ebfc3ce3bb8da40defd8b097f2
+SIZE (commons-httpclient-3.1-src.tar.gz) = 1882664


Property changes on: trunk/java/jakarta-commons-httpclient/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/java/jakarta-commons-httpclient/files/patch-build.xml
===================================================================
--- trunk/java/jakarta-commons-httpclient/files/patch-build.xml	                        (rev 0)
+++ trunk/java/jakarta-commons-httpclient/files/patch-build.xml	2015-11-01 16:58:37 UTC (rev 20622)
@@ -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"


Property changes on: trunk/java/jakarta-commons-httpclient/files/patch-build.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/java/jakarta-commons-httpclient/pkg-descr
===================================================================
--- trunk/java/jakarta-commons-httpclient/pkg-descr	                        (rev 0)
+++ trunk/java/jakarta-commons-httpclient/pkg-descr	2015-11-01 16:58:37 UTC (rev 20622)
@@ -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/


Property changes on: trunk/java/jakarta-commons-httpclient/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list