aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgis-jdbc/Makefile
blob: f1e4bf2604e569caef2a49933c1f437a26c3a889 (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
# New ports collection makefile for:    postgis-jdbc
# Date created:         June 25 2004
# Whom:             Sam Lawrance <boris@brooknet.com.au>
#
# $FreeBSD$
#

PORTNAME=   postgis-jdbc
PORTVERSION=    0.8.2
CATEGORIES= databases java
MASTER_SITES=   http://postgis.refractions.net/
DISTNAME=   postgis-${PORTVERSION}

MAINTAINER= boris@brooknet.com.au
COMMENT=    PostGIS spatial data structures for JDBC

BUILD_DEPENDS=  ${JAVAJARDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc

USE_JAVA=   1.4+
EXAMPLESDIR=    ${PREFIX}/share/examples/${PKGBASE}
MAKE_ARGS=  EXAMPLESDIR="${EXAMPLESDIR}" \
        DESTDIR="${PREFIX}" \
        INSTALL_DATA="${INSTALL_DATA}" \
        JAVAJARDIR="${JAVAJARDIR}" \
        JAVAC="${JAVAC}" \
        JAVA="${JAVA}" \
        JAR="${JAR}"

WRKSRC=     ${WRKDIR}/postgis-${PORTVERSION}/jdbc

.include <bsd.port.mk>