aboutsummaryrefslogtreecommitdiff
path: root/www/axis2/Makefile
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2021-08-19 19:06:05 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2021-08-19 19:09:44 +0000
commitc618c925ff11969e29d043660c0f047a5a9e84b3 (patch)
treeeb5357bc084bd1555c93c5b2661285be1c9bac46 /www/axis2/Makefile
parent5b40ab6b2fa808cb98febc1cfb00b8c74360c82a (diff)
Diffstat (limited to 'www/axis2/Makefile')
-rw-r--r--www/axis2/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/www/axis2/Makefile b/www/axis2/Makefile
index dbb2daab442d..b0edf9ff66e7 100644
--- a/www/axis2/Makefile
+++ b/www/axis2/Makefile
@@ -1,6 +1,5 @@
PORTNAME= axis2
-PORTVERSION= 1.7.9
-PORTREVISION= 1
+PORTVERSION= 1.8.0
CATEGORIES= www java
MASTER_SITES= APACHE/axis/${PORTNAME}/java/core/${PORTVERSION}/
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
@@ -18,8 +17,8 @@ NO_BUILD= yes
NO_ARCH= yes
OPTIONS_SINGLE= AS
-OPTIONS_SINGLE_AS= TOMCAT7 TOMCAT85
-OPTIONS_DEFAULT= TOMCAT7
+OPTIONS_SINGLE_AS= TOMCAT7 TOMCAT85 TOMCAT9 TOMCAT10
+OPTIONS_DEFAULT= TOMCAT85
OPTIONS_DEFINE= EXAMPLES
@@ -29,6 +28,12 @@ TOMCAT7_RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat7
TOMCAT85_VARS= APPHOME=${LOCALBASE}/apache-tomcat-8.5
TOMCAT85_RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat85
+TOMCAT9_VARS= APPHOME=${LOCALBASE}/apache-tomcat-9.0
+TOMCAT9_RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat9
+
+TOMCAT10_VARS= APPHOME=${LOCALBASE}/apache-tomcat-10.0
+TOMCAT10_RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat10
+
USE_JAVA= yes
SHAREOWN= www
SHAREGRP= www
@@ -42,7 +47,7 @@ do-install:
( ${MKDIR} ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/axis2-web && cd ${WRKSRC}/webapp/axis2-web && ${COPYTREE_SHARE} \* ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/axis2-web )
( cd ${WRKSRC}/repository && ${COPYTREE_SHARE} \* ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF )
${MKDIR} ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF/conf
-.for f in axis2.policy axis2.xml commons-logging.properties log4j.properties
+.for f in axis2.policy axis2.xml commons-logging.properties log4j2.xml
${INSTALL_DATA} ${WRKSRC}/conf/${f} ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF/conf/${f}.sample
.endfor
${MV} ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF/web.xml ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF/web.xml.sample