freebsd-ports/graphics/deegree-wpvs/Makefile
Martin Wilke 825a5466ec A WPVS is a web service which is able to generate perspective terrain
views, e.g. images of a certain terrain/area (possibly containing three
dimensional objects, e.g. building or trees) rendered from a requested
viewpoint. For this purposes the WPVS needs to process and render
different kinds of geospatial data which is retrieved from different
pre-configured datasets. These datasets can be remote OGC web services
or locally installed deegree 2 web services.

WWW: http://www.deegree.org/

PR:		ports/133811
Submitted by:	wenheping at gmail.com
2009-04-23 09:23:23 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: deegree-wpvs
# Date created: 17 April, 2009
# Whom: wenheping@gmail.com
#
# $FreeBSD$
#
PORTNAME= wpvs
PORTVERSION= 2.2
CATEGORIES= graphics java
MASTER_SITES= http://download.deegree.org/deegree${PORTVERSION}/
PKGNAMEPREFIX= deegree-
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}_v${PORTVERSION:S/./_/}
MAINTAINER= wenheping@gmail.com
COMMENT= Deegree Web Terrain Service(WTS)/Web Perspective View Service(WPVS)
RUN_DEPENDS= ${TOMCATDIR}:${PORTSDIR}/www/tomcat55
USE_ZIP= yes
USE_JAVA= 1.5+
NO_BUILD= yes
TOMCATVER= tomcat5.5
TOMCATDIR= ${PREFIX}/${TOMCATVER}
TOMCATOWN= www
TOMCATGRP= www
WEBAPPDIR= ${TOMCATDIR}/webapps
PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/deegree-wpvs
PLIST_FILES= ${TOMCATVER}/webapps/deegree-wpvs.war
do-install:
cd ${WRKDIR} && \
${INSTALL} -g ${TOMCATGRP} -o ${TOMCATOWN} -m 444 deegree-wpvs.war ${WEBAPPDIR};
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/README_WPVS.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/deegree_wpvs_documentation_en.pdf ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>