aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/deegree-wms
diff options
context:
space:
mode:
authorjgh <jgh@FreeBSD.org>2012-10-22 05:41:06 +0800
committerjgh <jgh@FreeBSD.org>2012-10-22 05:41:06 +0800
commitecb7f273af0911e3e6a5f07fd4fd5ed0c15a973b (patch)
treeb40aa968454b297b7b576b5ab46c8634b053ee38 /graphics/deegree-wms
parent0c72f9a302f41ae9e49a37ec2ce53dc78202b980 (diff)
downloadfreebsd-ports-gnome-ecb7f273af0911e3e6a5f07fd4fd5ed0c15a973b.tar.gz
freebsd-ports-gnome-ecb7f273af0911e3e6a5f07fd4fd5ed0c15a973b.tar.zst
freebsd-ports-gnome-ecb7f273af0911e3e6a5f07fd4fd5ed0c15a973b.zip
- move graphics/deegree-* suite to tomcat6
- move DOCS to optionsNG while here, and trim Makefile headers Submitted by: jgh@ Approved by: wen@ (private mail) Feature safe: yes
Diffstat (limited to 'graphics/deegree-wms')
-rw-r--r--graphics/deegree-wms/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/deegree-wms/Makefile b/graphics/deegree-wms/Makefile
index 11392a251d8b..5bd2ea940df3 100644
--- a/graphics/deegree-wms/Makefile
+++ b/graphics/deegree-wms/Makefile
@@ -1,12 +1,10 @@
-# New ports collection makefile for: deegree-wms
-# Date created: 17 April, 2009
-# Whom: wenheping@gmail.com
+# Created by: wenheping@gmail.com
#
# $FreeBSD$
-#
PORTNAME= wms
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= graphics java
MASTER_SITES= http://download.deegree.org/deegree${PORTVERSION}/
PKGNAMEPREFIX= deegree-
@@ -15,13 +13,13 @@ DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}_${PORTVERSION}
MAINTAINER= wenheping@gmail.com
COMMENT= Deegree Web Map Service(WMS)
-RUN_DEPENDS= ${LOCALBASE}/${TOMCATVER}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
+RUN_DEPENDS= ${LOCALBASE}/${TOMCATVER}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
USE_ZIP= yes
USE_JAVA= 1.5+
NO_BUILD= yes
-TOMCATVER= tomcat5.5
+TOMCATVER= apache-tomcat-6.0
TOMCATDIR= ${PREFIX}/${TOMCATVER}
WEBAPPDIR= ${TOMCATDIR}/webapps
PORTDOCS= *
@@ -32,11 +30,13 @@ post-extract:
@${MKDIR} ${WRKDIR}/${PORTDIRNAME}
@${TAR} xf ${WRKDIR}/deegree-wms.war -C ${WRKDIR}/${PORTDIRNAME}
+.include <bsd.port.options.mk>
+
do-install:
${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} ${TOMCATDIR}/webapps/${PORTDIRNAME}
@cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${WEBAPPDIR}/${PORTDIRNAME}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/README.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/deegree_wms_documentation_en.pdf ${DOCSDIR}