blob: 7b95f7fc25542273a3f977d967e1c1966af0a589 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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>
|