aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-04-23 17:21:23 +0800
committermiwi <miwi@FreeBSD.org>2009-04-23 17:21:23 +0800
commite0406b59081d32f9c06dcd885317de251495b73c (patch)
treeacca7cb6263b94fdc9a2fd56ad1f85e5ecebe783
parent7d859f6a459c738d5fc046e9fb48af3077185d65 (diff)
downloadfreebsd-ports-gnome-e0406b59081d32f9c06dcd885317de251495b73c.tar.gz
freebsd-ports-gnome-e0406b59081d32f9c06dcd885317de251495b73c.tar.zst
freebsd-ports-gnome-e0406b59081d32f9c06dcd885317de251495b73c.zip
Deegree's WMS is able to render vector data as well as raster data
from different storage formats and deliver it to any client that is able to perform a HTTP GET or POST request. WWW: http://www.deegree.org/ PR: ports/133807 Submitted by: wenheping at gmail.com
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/deegree-wms/Makefile46
-rw-r--r--graphics/deegree-wms/distinfo3
-rw-r--r--graphics/deegree-wms/pkg-descr5
-rw-r--r--graphics/deegree-wms/pkg-message10
5 files changed, 65 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index b7f75af2992f..7656cea63d53 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -94,6 +94,7 @@
SUBDIR += deegree-igeoportal
SUBDIR += deegree-wcs
SUBDIR += deegree-wfs
+ SUBDIR += deegree-wms
SUBDIR += demeter
SUBDIR += devil
SUBDIR += dia
diff --git a/graphics/deegree-wms/Makefile b/graphics/deegree-wms/Makefile
new file mode 100644
index 000000000000..e9c1418f37c7
--- /dev/null
+++ b/graphics/deegree-wms/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: deegree-wms
+# Date created: 17 April, 2009
+# Whom: wenheping@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= wms
+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 Map Service(WMS)
+
+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-wms
+PLIST_FILES= ${TOMCATVER}/webapps/deegree-wms.war
+
+do-install:
+ cd ${WRKDIR} && \
+ ${INSTALL} -g ${TOMCATGRP} -o ${TOMCATOWN} -m 444 deegree-wms.war ${WEBAPPDIR};
+
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/README_WMS.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKDIR}/deegree_wms_documentation_en.pdf ${DOCSDIR}
+.endif
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/graphics/deegree-wms/distinfo b/graphics/deegree-wms/distinfo
new file mode 100644
index 000000000000..5b63f56ceeb3
--- /dev/null
+++ b/graphics/deegree-wms/distinfo
@@ -0,0 +1,3 @@
+MD5 (deegree-wms_v2_2.zip) = eacd92c14844af9ef0d0f5081bb806ca
+SHA256 (deegree-wms_v2_2.zip) = 65084891175736295cc68190440a543827d3b11f57de31788c5053f801ab87a3
+SIZE (deegree-wms_v2_2.zip) = 164648281
diff --git a/graphics/deegree-wms/pkg-descr b/graphics/deegree-wms/pkg-descr
new file mode 100644
index 000000000000..fada71a20e57
--- /dev/null
+++ b/graphics/deegree-wms/pkg-descr
@@ -0,0 +1,5 @@
+Deegree's WMS is able to render vector data as well as raster data
+from different storage formats and deliver it to any client that is
+able to perform a HTTP GET or POST request.
+
+WWW: http://www.deegree.org/
diff --git a/graphics/deegree-wms/pkg-message b/graphics/deegree-wms/pkg-message
new file mode 100644
index 000000000000..13df82f03621
--- /dev/null
+++ b/graphics/deegree-wms/pkg-message
@@ -0,0 +1,10 @@
+==========================================================================
+To start DeeGree correctly, please set the variable JAVA_OPTS with:
+
+setenv JAVA_OPTS "-server -Xms256m -Xmx512m"
+
+Now you should start your Tomcat server and browse with:
+ http://your-server:8180/deegree-wcs
+
+Enjoy it !
+==========================================================================