aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-08-21 13:21:04 +0800
committerjgh <jgh@FreeBSD.org>2012-08-21 13:21:04 +0800
commitc42cfbc58101e28ea24ec8c4ecf1a9f9111d2e41 (patch)
tree1abdefd7a5f46761462d0657e47641a0975e0d53 /www
parenta348326e13c396cc5547f2b141ba2e111086d7fc (diff)
downloadfreebsd-ports-gnome-c42cfbc58101e28ea24ec8c4ecf1a9f9111d2e41.tar.gz
freebsd-ports-gnome-c42cfbc58101e28ea24ec8c4ecf1a9f9111d2e41.tar.zst
freebsd-ports-gnome-c42cfbc58101e28ea24ec8c4ecf1a9f9111d2e41.zip
- fix examples installation, bump portrevision
PR: 170807 Submitted by: Artis.Caune@gmail.com
Diffstat (limited to 'www')
-rw-r--r--www/axis2/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/axis2/Makefile b/www/axis2/Makefile
index 58e496fcb816..bacedb7487fa 100644
--- a/www/axis2/Makefile
+++ b/www/axis2/Makefile
@@ -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