mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
a65181d477
processes. OGC's WPS (Schut & Whiteside 2005) specification describes WPS as follows: "WPS defines a standardized interface that facilitates the publishing of geospatial processes, and the discovery of and binding to those processes by clients. "Processes" include any algorithm, calculation or model that operates on spatially referenced data. "Publishing" means making available machine-readable binding information as well as human-readable metadata that allows service discovery and use." WWW: http://www.deegree.org/ PR: ports/133810 Submitted by: wenheping at gmail.com
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# New ports collection makefile for: deegree-wps
|
|
# Date created: 17 April, 2009
|
|
# Whom: wenheping@gmail.com
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= wps
|
|
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 Processing Service(WPS)
|
|
|
|
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-wps
|
|
PLIST_FILES= ${TOMCATVER}/webapps/deegree-wps.war
|
|
|
|
do-install:
|
|
cd ${WRKDIR} && \
|
|
${INSTALL} -g ${TOMCATGRP} -o ${TOMCATOWN} -m 444 deegree-wps.war ${WEBAPPDIR};
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/README_WPS.txt ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKDIR}/deegree_wps_documentation_en.pdf ${DOCSDIR}
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|