mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
defe418729
- Add TOMCAT85 as new option Changes: http://axis.apache.org/axis2/java/core/release-notes/1.7.6.html MFH: 2017Q3 Security: c1265e85-7c95-11e7-93af-005056925db4
59 lines
2.0 KiB
Makefile
59 lines
2.0 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= axis2
|
|
PORTVERSION= 1.7.6
|
|
CATEGORIES= www java
|
|
MASTER_SITES= APACHE/axis/${PORTNAME}/java/core/${PORTVERSION}/
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-bin
|
|
|
|
MAINTAINER= dbaio@FreeBSD.org
|
|
COMMENT= Provides a Web Services,SOAP and WSDL engine from Apache
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
|
|
|
USES= cpe zip
|
|
CPE_VENDOR= apache
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
NO_BUILD= yes
|
|
NO_ARCH= yes
|
|
|
|
OPTIONS_SINGLE= AS
|
|
OPTIONS_SINGLE_AS= TOMCAT6 TOMCAT7 TOMCAT85
|
|
OPTIONS_DEFAULT= TOMCAT6
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
TOMCAT6_VARS= APPHOME=${LOCALBASE}/apache-tomcat-6.0
|
|
TOMCAT6_RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat6
|
|
|
|
TOMCAT7_VARS= APPHOME=${LOCALBASE}/apache-tomcat-7.0
|
|
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
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
SHAREOWN= www
|
|
SHAREGRP= www
|
|
|
|
PLIST_SUB+= APPHOME=${APPHOME:S|^${PREFIX}/||} \
|
|
PORTVERSION=${PORTVERSION}
|
|
|
|
do-install:
|
|
( ${MKDIR} ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF && cd ${WRKSRC}/webapp/WEB-INF && ${COPYTREE_SHARE} \* ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF )
|
|
( cd ${WRKSRC}/lib && ${COPYTREE_SHARE} \* ${STAGEDIR}${APPHOME}/webapps/${PORTNAME}/WEB-INF/lib )
|
|
( ${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 )
|
|
.for f in axis2.policy axis2.xml commons-logging.properties log4j.properties
|
|
${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
|
|
|
|
do-install-EXAMPLES-on:
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
cd ${WRKSRC}/samples && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|