1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- fix examples installation, bump portrevision

PR:	170807
Submitted by:	Artis.Caune@gmail.com
This commit is contained in:
Jason Helfman 2012-08-21 05:21:04 +00:00
parent e61440ee89
commit 9d28fd1eb7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=302842

View File

@ -6,6 +6,7 @@
PORTNAME= axis2
PORTVERSION= 1.6.2
PORTREVISION= 1
CATEGORIES= www java
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= axis/${PORTNAME}/java/core/${PORTVERSION}/
@ -80,7 +81,8 @@ do-install:
${ECHO_MSG} " Preserving local configuration file: ${APPHOME}/webapps/${PORTNAME}/WEB-INF/web.xml"; \
fi;
${INSTALL_DATA} ${WRKSRC}/webapp/WEB-INF/web.xml.${CONF_EXT} ${APPHOME}/webapps/${PORTNAME}/WEB-INF
.if $(PORT_OPTIONS:MEXAMPLES}
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}
cd ${WRKSRC}/samples && ${FIND} . -type d -exec ${MKDIR} ${EXAMPLESDIR}/{} \;
cd ${WRKSRC}/samples && ${FIND} . -type f -not -name '*.class' -exec ${INSTALL_DATA} {} ${EXAMPLESDIR}/{} \;
.endif