freebsd-ports/graphics/geoapi/Makefile

39 lines
829 B
Makefile
Raw Normal View History

# New ports collection makefile for: geoapi
# Date created: 07 April 2008
# Whom: Wen heping <wenheping@gmail.com>
#
# $FreeBSD$
#
PORTNAME= geoapi
PORTVERSION= 2.1.0
PORTREVISION= 1
CATEGORIES= graphics geography
MASTER_SITES= SF
DISTNAME= GeoAPI-2_1_0
MAINTAINER= wenheping@gmail.com
COMMENT= A Java interface API based upon OGC Standards
USE_ZIP= yes
NO_BUILD= yes
USE_JAVA= yes
NO_WRKSUBDIR= yes
JARFILES= geoapi-${PORTVERSION} jsr108-0.01 geoapi-nogenerics-${PORTVERSION}
DOCS= README.txt
do-install:
.for jar in ${JARFILES}
${INSTALL_DATA} ${WRKSRC}/binaries/${jar}.jar ${JAVAJARDIR}
.endfor
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCDIR}
cd ${WRKSRC}/javadoc ; \
${FIND} . -type d -exec ${MKDIR} ${DOCSDIR}/\{} \; ;\
${FIND} . -type f -exec ${INSTALL_DATA} \{} ${DOCSDIR}/\{} \;
.endif
.include <bsd.port.mk>