aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/httpcore/Makefile8
-rw-r--r--www/httpcore/distinfo4
2 files changed, 7 insertions, 5 deletions
diff --git a/www/httpcore/Makefile b/www/httpcore/Makefile
index 78b3ff5ea525..c801a7fa46f1 100644
--- a/www/httpcore/Makefile
+++ b/www/httpcore/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= httpcore
-DISTVERSION= 4.2.3
+DISTVERSION= 4.2.4
CATEGORIES= www java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= httpcomponents/${PORTNAME}/binary
@@ -24,6 +24,8 @@ PLIST_FILES= %%JAVAJARDIR%%/${PORTNAME}.jar %%JAVAJARDIR%%/${PORTNAME}-nio.jar
PORTDOCS= *
PORTEXAMPLES= *
+.include <bsd.port.options.mk>
+
do-install:
@${ECHO_MSG} -n ">> Installing JAR file as ${JAVAJARDIR}/${PORTNAME}.jar..."
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-${DISTVERSION}.jar \
@@ -33,7 +35,7 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/lib/${PORTNAME}-nio-${DISTVERSION}.jar \
${JAVAJARDIR}/${PORTNAME}-nio.jar
@${ECHO_MSG} " [DONE]"
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${ECHO_MSG} -n ">> Installing documentation..."
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} && ${FIND} javadoc tutorial \
@@ -41,7 +43,7 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/RELEASE_NOTES.txt ${DOCSDIR}/
@${ECHO_MSG} " [DONE]"
.endif
-.if !defined(NOPORTEXAMPLES)
+.if ${PORT_OPTIONS:MEXAMPLES}
@${ECHO_MSG} -n ">> Installing examples..."
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${FIND} . \
diff --git a/www/httpcore/distinfo b/www/httpcore/distinfo
index 4dbad2dba59f..0730c3a59fa9 100644
--- a/www/httpcore/distinfo
+++ b/www/httpcore/distinfo
@@ -1,2 +1,2 @@
-SHA256 (httpcomponents-core-4.2.3-bin.tar.gz) = 6bcffd167e2d0c906f10cf4a6214b09cf99a3e0f052d83704b15c354c95f75da
-SIZE (httpcomponents-core-4.2.3-bin.tar.gz) = 1763906
+SHA256 (httpcomponents-core-4.2.4-bin.tar.gz) = 03af28d0f6b3ea77578a014ca151830aeb348716d1307287b2f1192eae8ba8ab
+SIZE (httpcomponents-core-4.2.4-bin.tar.gz) = 1755871