aboutsummaryrefslogtreecommitdiff
path: root/graphics/deegree-csw
diff options
context:
space:
mode:
authorJason Helfman <jgh@FreeBSD.org>2012-10-21 21:41:06 +0000
committerJason Helfman <jgh@FreeBSD.org>2012-10-21 21:41:06 +0000
commitf508c120acc8726824735e6a9ea2add994fb64e0 (patch)
treeb40aa968454b297b7b576b5ab46c8634b053ee38 /graphics/deegree-csw
parent66a15b9ec9c25dd4bf2bb8d294106a4a5b56f72a (diff)
downloadports-f508c120acc8726824735e6a9ea2add994fb64e0.tar.gz
ports-f508c120acc8726824735e6a9ea2add994fb64e0.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
Notes
Notes: svn path=/head/; revision=306246
Diffstat (limited to 'graphics/deegree-csw')
-rw-r--r--graphics/deegree-csw/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/deegree-csw/Makefile b/graphics/deegree-csw/Makefile
index 6c1321e0b7e3..c57c094a371d 100644
--- a/graphics/deegree-csw/Makefile
+++ b/graphics/deegree-csw/Makefile
@@ -1,12 +1,10 @@
-# New ports collection makefile for: deegree-csw
-# Date created: 17 April, 2009
-# Whom: wenheping@gmail.com
+# Created by: wenheping@gmail.com
#
# $FreeBSD$
-#
PORTNAME= csw
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 Catalogue Service(CSW)
-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-csw.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_csw_2.0.2_documentation_en.pdf ${DOCSDIR}