aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/geoapi/Makefile
blob: bfb4a416bdd33bb7eb856b57ee65c711e02c7783 (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
# 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

.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>