freebsd-ports/graphics/deegree-csw/Makefile
Martin Wilke b4b07a8bb2 Deegree is a Java Framework offering the main building blocks for
Spatial Data Infrastructures (SDIs). Its entire architecture is
developed using standards of the Open Geospatial Consortium (OGC) and
ISO Technical Committee 211-Geographic information/Geoinformatics
(ISO/TC 211). deegree encompasses OGC Web Services as well as clients.
deegree is Free Software protected by the GNU Lesser General Public
License (GNU LGPL) and is accessible at http://www.deegree.org.

Deegree's Web Catalogue Service implementation (Catalogue Service - Web
profile, therefore CS-W) is able to serve different metadata formats in
parallel based on the same physical datastore. This is possible because
deegree CS-W uses XSLT processing to transform requests as well as
responses into the desired format. deegree CS-W does not contain its a
data access modul of its own. It uses an OGC WFS (at the moment limited
to deegree WFS) as datasource. So in future it will be possible to use
deegree CS-W on top of any other OGC compliant WFS to offer catalogue
functionalities.

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

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

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: deegree-csw
# Date created: 17 April, 2009
# Whom: wenheping@gmail.com
#
# $FreeBSD$
#
PORTNAME= csw
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 Catalogue Service(CSW)
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/${DISTNAME}
PLIST_FILES= ${TOMCATVER}/webapps/deegree-csw.war
do-install:
cd ${WRKDIR} && \
${INSTALL} -g ${TOMCATGRP} -o ${TOMCATOWN} -m 444 deegree-csw.war ${WEBAPPDIR};
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/README_CSW.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/deegree_csw_2.0.2_documentation_en.pdf ${DOCSDIR}
.endif
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>