svn commit: r418360 - head/graphics/deegree-wpvs
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Jul 11 09:00:12 UTC 2016
Author: amdmi3
Date: Mon Jul 11 09:00:10 2016
New Revision: 418360
URL: https://svnweb.freebsd.org/changeset/ports/418360
Log:
- Add LICENSE
- Switch to options helpers
- Cosmetic fixes
- Add NO_ARCH
Modified:
head/graphics/deegree-wpvs/Makefile
Modified: head/graphics/deegree-wpvs/Makefile
==============================================================================
--- head/graphics/deegree-wpvs/Makefile Mon Jul 11 08:58:51 2016 (r418359)
+++ head/graphics/deegree-wpvs/Makefile Mon Jul 11 09:00:10 2016 (r418360)
@@ -12,10 +12,13 @@ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}_${
MAINTAINER= ports at FreeBSD.org
COMMENT= Deegree Web Terrain Service(WTS)/Web Perspective View Service(WPVS)
+LICENSE= LGPL21+
+
USES= zip
USE_JAVA= 1.6+
NO_BUILD= yes
+NO_ARCH= yes
TOMCATDIR= ${PREFIX}/${TOMCATVER}
APPHOME= ${LOCALBASE}/${TOMCATVER}
WEBAPPDIR= ${TOMCATDIR}/webapps
@@ -34,14 +37,14 @@ OPTIONS_DEFINE= DOCS
.if ${PORT_OPTIONS:MTOMCAT6}
TOMCATVER= apache-tomcat-6.0
-TCPORT= 8180
+TCPORT= 8180
BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat6
RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat6
.endif
.if ${PORT_OPTIONS:MTOMCAT7}
TOMCATVER= apache-tomcat-7.0
-TCPORT= 8080
+TCPORT= 8080
BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat7
RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat7
.endif
@@ -51,9 +54,11 @@ post-extract:
@${TAR} xf ${WRKDIR}/deegree-wpvs.war -C ${WRKDIR}/${PORTDIRNAME}
do-install:
- ${INSTALL} -d ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
+ @${MKDIR} ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
@cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list