View | Details | Raw Unified | Return to bug 173093 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-16 / +34 lines)
Lines 7-50 Link Here
7
7
8
PORTNAME=	wps
8
PORTNAME=	wps
9
PORTVERSION=	2.5
9
PORTVERSION=	2.5
10
PORTREVISION=	1
10
CATEGORIES=	graphics java
11
CATEGORIES=	graphics java
11
MASTER_SITES=	http://download.deegree.org/deegree${PORTVERSION}/
12
MASTER_SITES=	http://download.deegree.org/deegree${PORTVERSION}/
12
PKGNAMEPREFIX=	deegree-
13
PKGNAMEPREFIX=	deegree-
13
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}_${PORTVERSION}
14
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}_${PORTVERSION}
15
DIST_SUBDIR=	java
14
16
15
MAINTAINER=	wenheping@gmail.com
17
MAINTAINER=	wenheping@gmail.com
16
COMMENT=	Deegree Web Processing Service(WPS)
18
COMMENT=	Deegree Web Processing Service(WPS)
17
19
18
RUN_DEPENDS=	${LOCALBASE}/${TOMCATVER}/bin/bootstrap.jar:${PORTSDIR}/www/tomcat55
19
20
USE_ZIP=	yes
20
USE_ZIP=	yes
21
USE_JAVA=	1.5+
21
USE_JAVA=	1.5+
22
23
NO_BUILD=	yes
22
NO_BUILD=	yes
24
TOMCATVER=	tomcat5.5
23
25
TOMCATDIR=	${PREFIX}/${TOMCATVER}
24
PORTDOCS=	README.txt deegree_wps_documentation_en.pdf
26
TOMCATOWN=	www
27
TOMCATGRP=	www
28
WEBAPPDIR=	${TOMCATDIR}/webapps
29
PORTDOCS=	*
30
DOCSDIR=	${PREFIX}/share/doc/deegree-wps
25
DOCSDIR=	${PREFIX}/share/doc/deegree-wps
31
PLIST_SUB=	TOMCATDIR=${TOMCATDIR:S|^${PREFIX}/||}
26
27
OPTIONS_SINGLE=	AS
28
OPTIONS_SINGLE_AS=	TOMCAT6 TOMCAT7
29
OPTIONS_DEFAULT=	TOMCAT6
30
31
.include <bsd.port.options.mk>
32
33
.if ${PORT_OPTIONS:MTOMCAT6}
34
TOMCATDIR=	${PREFIX}/apache-tomcat-6.0
35
BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
36
RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-6.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat6
37
.endif
38
39
.if ${PORT_OPTIONS:MTOMCAT7}
40
TOMCATDIR=	${PREFIX}apache-tomcat-7.0
41
BUILD_DEPENDS+=	${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
42
RUN_DEPENDS+=	${LOCALBASE}/apache-tomcat-7.0/bin/bootstrap.jar:${PORTSDIR}/www/tomcat7
43
.endif
44
45
WEBAPPDIR=	${TOMCATDIR}/webapps
46
47
PLIST_SUB+=	TOMCAT=${TOMCATDIR:S|^${PREFIX}/||}
48
PLIST_SUB+=	WEBAPPS=${WEBAPPDIR:S|^${PREFIX}/||}
32
49
33
post-extract:
50
post-extract:
34
	@${MKDIR} ${WRKDIR}/${PORTDIRNAME}
51
	${MKDIR} ${WRKDIR}/${PORTDIRNAME}
35
	@${TAR} xf ${WRKDIR}/deegree-wps.war -C ${WRKDIR}/${PORTDIRNAME}
52
	${TAR} xf ${WRKDIR}/deegree-wps.war -C ${WRKDIR}/${PORTDIRNAME}
36
53
37
do-install:
54
do-install:
38
	${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} ${TOMCATDIR}/webapps/${PORTDIRNAME}
55
	${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} ${TOMCATDIR}/webapps/${PORTDIRNAME}
39
	@cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${WEBAPPDIR}/${PORTDIRNAME}
56
	@(cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${WEBAPPDIR}/${PORTDIRNAME})
40
57
41
.if !defined(NOPORTDOCS)
58
.if ${PORT_OPTIONS:MDOCS}
42
	${MKDIR} ${DOCSDIR}
59
	${MKDIR} ${DOCSDIR}
43
	${INSTALL_DATA} ${WRKDIR}/README.txt ${DOCSDIR}
60
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${DOCSDIR}
44
	${INSTALL_DATA} ${WRKDIR}/deegree_wps_documentation_en.pdf ${DOCSDIR}
45
.endif
61
.endif
46
62
47
post-install:
63
post-install:
64
	@${ECHO_CMD}
48
	@${CAT} ${PKGMESSAGE}
65
	@${CAT} ${PKGMESSAGE}
66
	@${ECHO_CMD}
49
67
50
.include <bsd.port.mk>
68
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (deegree-wps_2.5.zip) = 5df734b337d9238d9675452320366bc9b441b9053aaeebf33d3fc63a7e334722
1
SHA256 (java/deegree-wps_2.5.zip) = 5df734b337d9238d9675452320366bc9b441b9053aaeebf33d3fc63a7e334722
2
SIZE (deegree-wps_2.5.zip) = 9355461
2
SIZE (java/deegree-wps_2.5.zip) = 9355461
(-)./pkg-plist (-57 / +58 lines)
Lines 1-57 Link Here
1
%%TOMCATDIR%%/webapps/deegree-wps/META-INF/MANIFEST.MF
1
%%WEBAPPS%%/deegree-wps/META-INF/MANIFEST.MF
2
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/classes/log4j.properties
2
%%WEBAPPS%%/deegree-wps/WEB-INF/classes/log4j.properties
3
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/conf/wps/processConfigs/buffer_process_config.xml
3
%%WEBAPPS%%/deegree-wps/WEB-INF/conf/wps/processConfigs/buffer_process_config.xml
4
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/conf/wps/wps_configuration.xml
4
%%WEBAPPS%%/deegree-wps/WEB-INF/conf/wps/wps_configuration.xml
5
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/commons-codec-1.3.jar
5
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/commons-codec-1.3.jar
6
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/commons-httpclient-2.0.2-deegreeversion.jar
6
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/commons-httpclient-2.0.2-deegreeversion.jar
7
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/commons-logging.jar
7
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/commons-logging.jar
8
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/deegree2.jar
8
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/deegree2.jar
9
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/ehcache-1.2.0_03.jar
9
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/ehcache-1.2.0_03.jar
10
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/jai_codec.jar
10
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/jai_codec.jar
11
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/jai_core.jar
11
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/jai_core.jar
12
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/jaxen-1.1-beta-8.jar
12
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/jaxen-1.1-beta-8.jar
13
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/jts-1.8.jar
13
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/jts-1.8.jar
14
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/log4j-1.2.13.jar
14
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/log4j-1.2.13.jar
15
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/mlibwrapper_jai.jar
15
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/mlibwrapper_jai.jar
16
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib/vecmath.jar
16
%%WEBAPPS%%/deegree-wps/WEB-INF/lib/vecmath.jar
17
%%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/web.xml
17
%%WEBAPPS%%/deegree-wps/WEB-INF/web.xml
18
%%TOMCATDIR%%/webapps/deegree-wps/client/client.html
18
%%WEBAPPS%%/deegree-wps/client/client.html
19
%%TOMCATDIR%%/webapps/deegree-wps/client/client.jsp
19
%%WEBAPPS%%/deegree-wps/client/client.jsp
20
%%TOMCATDIR%%/webapps/deegree-wps/client/output.html
20
%%WEBAPPS%%/deegree-wps/client/output.html
21
%%TOMCATDIR%%/webapps/deegree-wps/client/requestHandler.jsp
21
%%WEBAPPS%%/deegree-wps/client/requestHandler.jsp
22
%%TOMCATDIR%%/webapps/deegree-wps/client/requests.jsp
22
%%WEBAPPS%%/deegree-wps/client/requests.jsp
23
%%TOMCATDIR%%/webapps/deegree-wps/client/requests/wps/examples/Execute/xml/buffer.xml
23
%%WEBAPPS%%/deegree-wps/client/requests/wps/examples/Execute/xml/buffer.xml
24
%%TOMCATDIR%%/webapps/deegree-wps/client/requests/wps/examples/Execute/xml/buffer_two_features.xml
24
%%WEBAPPS%%/deegree-wps/client/requests/wps/examples/Execute/xml/buffer_two_features.xml
25
%%TOMCATDIR%%/webapps/deegree-wps/client/requests/wps/examples/Execute/xml/buffer_two_geometries.xml
25
%%WEBAPPS%%/deegree-wps/client/requests/wps/examples/Execute/xml/buffer_two_geometries.xml
26
%%TOMCATDIR%%/webapps/deegree-wps/css/deegree.css
26
%%WEBAPPS%%/deegree-wps/css/deegree.css
27
%%TOMCATDIR%%/webapps/deegree-wps/deegree_header.jsp
27
%%WEBAPPS%%/deegree-wps/deegree_header.jsp
28
%%TOMCATDIR%%/webapps/deegree-wps/deegree_main.html
28
%%WEBAPPS%%/deegree-wps/deegree_main.html
29
%%TOMCATDIR%%/webapps/deegree-wps/deegree_navi.jsp
29
%%WEBAPPS%%/deegree-wps/deegree_navi.jsp
30
%%TOMCATDIR%%/webapps/deegree-wps/error.jsp
30
%%WEBAPPS%%/deegree-wps/error.jsp
31
%%TOMCATDIR%%/webapps/deegree-wps/images/OSGeo_project.png
31
%%WEBAPPS%%/deegree-wps/images/OSGeo_project.png
32
%%TOMCATDIR%%/webapps/deegree-wps/images/logo-deegree.png
32
%%WEBAPPS%%/deegree-wps/images/logo-deegree.png
33
%%TOMCATDIR%%/webapps/deegree-wps/images/logo-latlon.png
33
%%WEBAPPS%%/deegree-wps/images/logo-latlon.png
34
%%TOMCATDIR%%/webapps/deegree-wps/images/logo-unibonn.png
34
%%WEBAPPS%%/deegree-wps/images/logo-unibonn.png
35
%%TOMCATDIR%%/webapps/deegree-wps/images/portal_saltlake.jpg
35
%%WEBAPPS%%/deegree-wps/images/portal_saltlake.jpg
36
%%TOMCATDIR%%/webapps/deegree-wps/index.jsp
36
%%WEBAPPS%%/deegree-wps/index.jsp
37
%%TOMCATDIR%%/webapps/deegree-wps/wps.jsp
37
%%WEBAPPS%%/deegree-wps/wps.jsp
38
%%TOMCATDIR%%/webapps/deegree-wps/wps_basic.html
38
%%WEBAPPS%%/deegree-wps/wps_basic.html
39
%%TOMCATDIR%%/webapps/deegree-wps/wps_main.html
39
%%WEBAPPS%%/deegree-wps/wps_main.html
40
%%TOMCATDIR%%/webapps/deegree-wps/wps_navi.jsp
40
%%WEBAPPS%%/deegree-wps/wps_navi.jsp
41
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/images
41
@dirrm %%WEBAPPS%%/deegree-wps/images
42
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/css
42
@dirrm %%WEBAPPS%%/deegree-wps/css
43
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/client/requests/wps/examples/Execute/xml
43
@dirrm %%WEBAPPS%%/deegree-wps/client/requests/wps/examples/Execute/xml
44
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/client/requests/wps/examples/Execute
44
@dirrm %%WEBAPPS%%/deegree-wps/client/requests/wps/examples/Execute
45
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/client/requests/wps/examples
45
@dirrm %%WEBAPPS%%/deegree-wps/client/requests/wps/examples
46
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/client/requests/wps
46
@dirrm %%WEBAPPS%%/deegree-wps/client/requests/wps
47
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/client/requests
47
@dirrm %%WEBAPPS%%/deegree-wps/client/requests
48
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/client
48
@dirrm %%WEBAPPS%%/deegree-wps/client
49
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/lib
49
@dirrm %%WEBAPPS%%/deegree-wps/WEB-INF/lib
50
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/conf/wps/processConfigs
50
@dirrm %%WEBAPPS%%/deegree-wps/WEB-INF/conf/wps/processConfigs
51
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/conf/wps
51
@dirrm %%WEBAPPS%%/deegree-wps/WEB-INF/conf/wps
52
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/conf
52
@dirrm %%WEBAPPS%%/deegree-wps/WEB-INF/conf
53
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/classes
53
@dirrm %%WEBAPPS%%/deegree-wps/WEB-INF/classes
54
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF
54
@dirrm %%WEBAPPS%%/deegree-wps/WEB-INF
55
@dirrm %%TOMCATDIR%%/webapps/deegree-wps/META-INF
55
@dirrm %%WEBAPPS%%/deegree-wps/META-INF
56
@dirrm %%TOMCATDIR%%/webapps/deegree-wps
56
@dirrm %%WEBAPPS%%/deegree-wps
57
@dirrm %%TOMCATDIR%%/webapps
57
@dirrmtry %%WEBAPPS%%
58
@dirrmtry %%TOMCAT%%

Return to bug 173093