aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jumpgis-postgis/Makefile
blob: df4a445c83fbe98594bb24718409f830d20c8bba (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:    JUMP PostGIS plugin
# Date created:             June 25 2004
# Whom:                 Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
#

PORTNAME=   jumpgis-postgis
PORTVERSION=    1.1.0
CATEGORIES= graphics databases java
MASTER_SITES=   http://postgis.refractions.net/
DISTNAME=   postgisdriver-${PORTVERSION}

MAINTAINER= lawrance@FreeBSD.org
COMMENT=    JUMP support for reading and writing a PostGIS database

RUN_DEPENDS=    jumpgis:${PORTSDIR}/graphics/jumpgis

BROKEN=     Incomplete pkg-plist

TARGET_DIR= ${PREFIX}/jumpgis
USE_JAVA=   yes
JAVA_VERSION=   1.3+
USE_ZIP=    yes
USE_REINPLACE=  yes
NO_BUILD=   yes
NO_WRKSUBDIR=   yes

do-install:
    @${ECHO_MSG} " >> Installing JAR files"
    ${MKDIR} ${TARGET_DIR}/lib/ext/
    ${INSTALL_DATA} ${WRKSRC}/lib/ext/postgisdriver-1.1.0.jar ${TARGET_DIR}/lib/ext/
    ${INSTALL_DATA} ${WRKSRC}/lib/ext/pg74jdbc3.jar ${TARGET_DIR}/lib/

post-install:
    @${SETENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>