1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/graphics/geoapi/Makefile

38 lines
842 B
Makefile

# Created by: Wen heping <wenheping@gmail.com>
# $FreeBSD$
PORTNAME= geoapi
PORTVERSION= 3.0.0
CATEGORIES= graphics geography
MASTER_SITES= SF/${PORTNAME}/
DISTNAME= GeoAPI-3_0_0
MAINTAINER= wen@FreeBSD.org
COMMENT= Java interface API based upon OGC Standards
USES= zip
NO_BUILD= yes
USE_JAVA= yes
NO_WRKSUBDIR= yes
JARFILES= geoapi-${PORTVERSION} jsr-275-0.9.3 geoapi-conformance-${PORTVERSION}
DOCS= README.txt
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
do-install:
.for jar in ${JARFILES}
${INSTALL_DATA} ${WRKDIR}/${jar}.jar ${STAGEDIR}${JAVAJARDIR}
.endfor
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKDIR}/javadoc \
&& ${FIND} . -type d -exec ${MKDIR} ${STAGEDIR}${DOCSDIR}/\{} \; \
&& ${FIND} . -type f -exec ${INSTALL_DATA} \{} ${STAGEDIR}${DOCSDIR}/\{} \;
.endif
.include <bsd.port.mk>