Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Feb 2014 10:22:42 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342109 - head/www/httpclient
Message-ID:  <201402011022.s11AMgje009077@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Sat Feb  1 10:22:41 2014
New Revision: 342109
URL: http://svnweb.freebsd.org/changeset/ports/342109
QAT: https://qat.redports.org/buildarchive/r342109/

Log:
  Update to 4.3.2 release and stagify (javadocs not in tarball anymore).

Modified:
  head/www/httpclient/Makefile
  head/www/httpclient/distinfo

Modified: head/www/httpclient/Makefile
==============================================================================
--- head/www/httpclient/Makefile	Sat Feb  1 10:21:52 2014	(r342108)
+++ head/www/httpclient/Makefile	Sat Feb  1 10:22:41 2014	(r342109)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	httpclient
-DISTVERSION=	4.3
+DISTVERSION=	4.3.2
 CATEGORIES=	www java
 MASTER_SITES=	${MASTER_SITE_APACHE}
 MASTER_SITE_SUBDIR=	httpcomponents/${PORTNAME}/binary
@@ -18,10 +18,11 @@ RUN_DEPENDS=	${JAVAJARDIR}/httpcore.jar:
 		${JAVAJARDIR}/commons-logging.jar:${PORTSDIR}/java/jakarta-commons-logging \
 		${JAVAJARDIR}/commons-codec.jar:${PORTSDIR}/java/jakarta-commons-codec
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
 USE_JAVA=	yes
 JAVA_VERSION=	1.6+
 NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
+WRKSRC=		${WRKDIR}/httpcomponents-client-${DISTVERSION}
 
 PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.jar \
 		%%JAVAJARDIR%%/${PORTNAME}-cache.jar \
@@ -31,39 +32,38 @@ PLIST_FILES=	%%JAVAJARDIR%%/${PORTNAME}.
 PORTDOCS=	*
 PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-install:
 	@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
 	@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${DISTVERSION}.jar \
-		${JAVAJARDIR}/${PORTNAME}.jar
+		${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}.jar
 	@${ECHO_MSG} " [DONE]"
 	@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}-cache.jar..."
 	@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-cache-${DISTVERSION}.jar \
-		${JAVAJARDIR}/${PORTNAME}-cache.jar
+		${STAGEDIR}/${JAVAJARDIR}/${PORTNAME}-cache.jar
 	@${ECHO_MSG} " [DONE]"
 	@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME:S/client/mime/}.jar..."
 	@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME:S/client/mime/}-${DISTVERSION}.jar \
-		${JAVAJARDIR}/${PORTNAME:S/client/mime/}.jar
+		${STAGEDIR}/${JAVAJARDIR}/${PORTNAME:S/client/mime/}.jar
 	@${ECHO_MSG} " [DONE]"
 	@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/fluent-hc.jar..."
 	@${INSTALL_DATA} ${WRKSRC}/lib/fluent-hc-${DISTVERSION}.jar \
-		${JAVAJARDIR}/fluent-hc.jar
+		${STAGEDIR}/${JAVAJARDIR}/fluent-hc.jar
 	@${ECHO_MSG} " [DONE]"
 .if ${PORT_OPTIONS:MDOCS}
 	@${ECHO_MSG} -n ">> Installing documentation..."
-	@${MKDIR} ${DOCSDIR}
-	@cd ${WRKSRC} && ${FIND} javadoc tutorial \
-	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
-	@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}/
+	@${MKDIR} ${STAGEDIR}/${DOCSDIR}
+	@cd ${WRKSRC} && ${FIND} tutorial \
+	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}/${DOCSDIR} > /dev/null 2>&1
+	@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${STAGEDIR}/${DOCSDIR}/
 	@${ECHO_MSG} " [DONE]"
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
 	@${ECHO_MSG} -n ">> Installing examples..."
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}/${EXAMPLESDIR}
 	@cd ${WRKSRC}/examples && ${FIND} . \
-	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > /dev/null 2>&1
+	  | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}/${EXAMPLESDIR} > /dev/null 2>&1
 	@${ECHO_MSG} " [DONE]"
 .endif
 

Modified: head/www/httpclient/distinfo
==============================================================================
--- head/www/httpclient/distinfo	Sat Feb  1 10:21:52 2014	(r342108)
+++ head/www/httpclient/distinfo	Sat Feb  1 10:22:41 2014	(r342109)
@@ -1,2 +1,2 @@
-SHA256 (httpcomponents-client-4.3-bin.tar.gz) = 7530b6553219d4256e32de9091acc7bb5eaa7fb83f4218f76ef140ec3210cd6a
-SIZE (httpcomponents-client-4.3-bin.tar.gz) = 2520242
+SHA256 (httpcomponents-client-4.3.2-bin.tar.gz) = ac6c6163de1923f1c7491981ff6cfdcd2c9600be884568cc1f924d15cd0fa991
+SIZE (httpcomponents-client-4.3.2-bin.tar.gz) = 1452764



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402011022.s11AMgje009077>