aboutsummaryrefslogtreecommitdiff
path: root/www/httpclient
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2010-01-07 09:54:53 +0000
committerAlex Dupre <ale@FreeBSD.org>2010-01-07 09:54:53 +0000
commitfe6bbbdc7b83364401f0d21791f1f088ee5df45b (patch)
tree71fd21e5edbc4b34ef318db8f27259aeee5caaa9 /www/httpclient
parent5f0abd84c6659eec38bd6d5c6846a6711870fc09 (diff)
downloadports-fe6bbbdc7b83364401f0d21791f1f088ee5df45b.tar.gz
ports-fe6bbbdc7b83364401f0d21791f1f088ee5df45b.zip
Update to 4.0.1 release.
Notes
Notes: svn path=/head/; revision=247323
Diffstat (limited to 'www/httpclient')
-rw-r--r--www/httpclient/Makefile12
-rw-r--r--www/httpclient/distinfo6
2 files changed, 13 insertions, 5 deletions
diff --git a/www/httpclient/Makefile b/www/httpclient/Makefile
index 448b3be11e6d..070bfa4b7484 100644
--- a/www/httpclient/Makefile
+++ b/www/httpclient/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= httpclient
-DISTVERSION= 4.0
+DISTVERSION= 4.0.1
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary
@@ -28,6 +28,7 @@ WRKSRC= ${WRKDIR}/httpcomponents-client-${DISTVERSION}
PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME:S/client/mime/}.jar
PORTDOCS= *
+PORTEXAMPLES= *
do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
@@ -41,11 +42,18 @@ do-install:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${DOCSDIR}
- @cd ${WRKSRC} && ${FIND} javadoc tutorial \
+ @cd ${WRKSRC} && ${FIND} tutorial \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${WRKSRC}/NTLM_SUPPORT.txt \
${DOCSDIR}/
@${ECHO_MSG} " [DONE]"
.endif
+.if !defined(NOPORTEXAMPLES)
+ @${ECHO_MSG} -n ">> Installing examples..."
+ @${MKDIR} ${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${FIND} . \
+ | ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > /dev/null 2>&1
+ @${ECHO_MSG} " [DONE]"
+.endif
.include <bsd.port.mk>
diff --git a/www/httpclient/distinfo b/www/httpclient/distinfo
index 06f2b827c87f..27f669839529 100644
--- a/www/httpclient/distinfo
+++ b/www/httpclient/distinfo
@@ -1,3 +1,3 @@
-MD5 (httpcomponents-client-4.0-bin.tar.gz) = 00a8b499aca8ceb099056aa1d19ff48e
-SHA256 (httpcomponents-client-4.0-bin.tar.gz) = 6c8f130a020f6068b3680a926edb53052e7744a7a1cd2bae87315ddcfb03d535
-SIZE (httpcomponents-client-4.0-bin.tar.gz) = 1048403
+MD5 (httpcomponents-client-4.0.1-bin.tar.gz) = a5b66b8152d2635512cc8740a527eb60
+SHA256 (httpcomponents-client-4.0.1-bin.tar.gz) = 392be3938cffceaee1002c28cfd0a26fbea2dd646b9de235a6a19fdfef6d0aae
+SIZE (httpcomponents-client-4.0.1-bin.tar.gz) = 504431