aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/geoapi/Makefile
blob: 26abe58cb65ad1397ee4b8b2dc6e2d9468b4cb49 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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>