2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Wen heping <wenheping@gmail.com>
|
2008-04-11 16:48:14 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= geoapi
|
2014-05-18 15:37:20 +02:00
|
|
|
PORTVERSION= 3.0.0
|
2008-04-11 16:48:14 +02:00
|
|
|
CATEGORIES= graphics geography
|
2014-05-18 15:37:20 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/
|
|
|
|
DISTNAME= GeoAPI-3_0_0
|
2008-04-11 16:48:14 +02:00
|
|
|
|
2014-05-18 15:37:20 +02:00
|
|
|
MAINTAINER= wen@FreeBSD.org
|
|
|
|
COMMENT= Java interface API based upon OGC Standards
|
2008-04-11 16:48:14 +02:00
|
|
|
|
2014-03-10 15:49:26 +01:00
|
|
|
USES= zip
|
2008-04-11 16:48:14 +02:00
|
|
|
NO_BUILD= yes
|
2015-08-26 20:26:14 +02:00
|
|
|
NO_ARCH= yes
|
2008-04-11 16:48:14 +02:00
|
|
|
USE_JAVA= yes
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
2014-05-18 15:37:20 +02:00
|
|
|
JARFILES= geoapi-${PORTVERSION} jsr-275-0.9.3 geoapi-conformance-${PORTVERSION}
|
2008-04-11 16:48:14 +02:00
|
|
|
DOCS= README.txt
|
|
|
|
|
2014-07-15 17:30:08 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2008-04-11 16:48:14 +02:00
|
|
|
do-install:
|
|
|
|
.for jar in ${JARFILES}
|
2015-11-05 13:36:25 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${jar}.jar ${STAGEDIR}${JAVAJARDIR}
|
2008-04-11 16:48:14 +02:00
|
|
|
.endfor
|
|
|
|
|
2015-08-26 20:26:14 +02:00
|
|
|
do-install-DOCS-on:
|
2014-05-18 15:37:20 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2015-11-05 13:36:25 +01:00
|
|
|
cd ${WRKSRC}/javadoc \
|
2014-05-18 15:37:20 +02:00
|
|
|
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
|
|
|
|
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
|
2008-04-11 16:48:14 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|