2013-09-20 20:35:44 +02:00
|
|
|
# Created by: wenheping@gmail.com
|
2009-04-23 11:19:43 +02:00
|
|
|
|
|
|
|
PORTNAME= wcs
|
2012-02-01 02:19:18 +01:00
|
|
|
PORTVERSION= 2.5
|
2019-08-11 23:28:00 +02:00
|
|
|
PORTREVISION= 2
|
2009-04-23 11:19:43 +02:00
|
|
|
CATEGORIES= graphics java
|
|
|
|
MASTER_SITES= http://download.deegree.org/deegree${PORTVERSION}/
|
|
|
|
PKGNAMEPREFIX= deegree-
|
2012-02-01 02:19:18 +01:00
|
|
|
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}_${PORTVERSION}
|
2009-04-23 11:19:43 +02:00
|
|
|
|
2014-07-23 19:07:12 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2009-04-23 11:19:43 +02:00
|
|
|
COMMENT= Deegree Web Coverage Service(WCS)
|
|
|
|
|
2016-07-14 11:00:29 +02:00
|
|
|
LICENSE= LGPL21+
|
|
|
|
|
2021-12-31 14:43:37 +01:00
|
|
|
DEPRECATED= Depends on expired www/tomcat7
|
|
|
|
EXPIRATION_DATE=2022-03-31
|
|
|
|
|
2014-03-10 15:49:26 +01:00
|
|
|
USES= zip
|
2016-08-24 20:48:11 +02:00
|
|
|
USE_JAVA= yes
|
2009-04-23 11:19:43 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2016-07-14 11:00:29 +02:00
|
|
|
NO_ARCH= yes
|
2009-04-23 11:19:43 +02:00
|
|
|
TOMCATDIR= ${PREFIX}/${TOMCATVER}
|
2012-10-30 23:07:30 +01:00
|
|
|
APPHOME= ${LOCALBASE}/${TOMCATVER}
|
2009-04-23 11:19:43 +02:00
|
|
|
WEBAPPDIR= ${TOMCATDIR}/webapps
|
2012-10-30 23:07:30 +01:00
|
|
|
PORTDOCS= README.txt deegree_wcs_documentation_en.pdf
|
2009-04-23 11:19:43 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/deegree-wcs
|
2014-08-15 05:38:10 +02:00
|
|
|
PLIST_SUB= TOMCATDIR=${TOMCATDIR:S|^${PREFIX}/||} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
|
2012-10-30 23:07:30 +01:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
SUB_LIST= TCPORT=${TCPORT}
|
|
|
|
|
2014-02-21 14:37:15 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2012-10-30 23:07:30 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
TOMCATVER= apache-tomcat-7.0
|
2016-07-14 11:00:29 +02:00
|
|
|
TCPORT= 8080
|
2016-04-01 16:00:51 +02:00
|
|
|
BUILD_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat7
|
|
|
|
RUN_DEPENDS+= ${APPHOME}/bin/bootstrap.jar:www/tomcat7
|
2012-02-01 02:19:18 +01:00
|
|
|
|
|
|
|
post-extract:
|
2016-12-22 22:45:07 +01:00
|
|
|
@${MKDIR} ${WRKDIR}/${PKGBASE}
|
|
|
|
@${TAR} xf ${WRKDIR}/deegree-wcs.war -C ${WRKDIR}/${PKGBASE}
|
2009-04-23 11:19:43 +02:00
|
|
|
|
|
|
|
do-install:
|
2016-12-22 22:45:07 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${WEBAPPDIR}/${PKGBASE}
|
|
|
|
@cd ${WRKDIR}/${PKGBASE} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WEBAPPDIR}/${PKGBASE}
|
2016-07-14 11:00:29 +02:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-08-15 05:38:10 +02:00
|
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}
|
2009-04-23 11:19:43 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|