diff options
author | Alex Dupre <ale@FreeBSD.org> | 2012-05-28 13:48:00 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2012-05-28 13:48:00 +0000 |
commit | 238f1730c1737d1810431864a5242fa5a80b55c3 (patch) | |
tree | 6604ed106315d1f20199d7b4c383c21a2b928580 /www/httpcore | |
parent | e0057d4bcdacd21d7bd9bcf54560a29bfe8c3be7 (diff) | |
download | ports-238f1730c1737d1810431864a5242fa5a80b55c3.tar.gz ports-238f1730c1737d1810431864a5242fa5a80b55c3.zip |
Notes
Diffstat (limited to 'www/httpcore')
-rw-r--r-- | www/httpcore/Makefile | 10 | ||||
-rw-r--r-- | www/httpcore/distinfo | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/www/httpcore/Makefile b/www/httpcore/Makefile index f4a69f13cffb..a4a3a18d2899 100644 --- a/www/httpcore/Makefile +++ b/www/httpcore/Makefile @@ -6,7 +6,7 @@ # PORTNAME= httpcore -DISTVERSION= 4.1.4 +DISTVERSION= 4.2 CATEGORIES= www java MASTER_SITES= ${MASTER_SITE_APACHE} MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary @@ -26,6 +26,7 @@ WRKSRC= ${WRKDIR}/httpcomponents-core-${DISTVERSION} PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME}-nio.jar PORTDOCS= * +PORTEXAMPLES= * do-install: @${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..." @@ -44,5 +45,12 @@ do-install: @${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.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/httpcore/distinfo b/www/httpcore/distinfo index c608370e21d6..e082bbdd0891 100644 --- a/www/httpcore/distinfo +++ b/www/httpcore/distinfo @@ -1,2 +1,2 @@ -SHA256 (httpcomponents-core-4.1.4-bin.tar.gz) = c6e93340c914eddac4e2010177b9b4b58079db0ec6294018d217c411e01cef1c -SIZE (httpcomponents-core-4.1.4-bin.tar.gz) = 1366620 +SHA256 (httpcomponents-core-4.2-bin.tar.gz) = c850d45bc8c448e5af213e8e824feac581231657d65598e85b3d125dff336d02 +SIZE (httpcomponents-core-4.2-bin.tar.gz) = 1740212 |