mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
40 lines
1015 B
Makefile
40 lines
1015 B
Makefile
# New ports collection makefile for: postgis-jdbc
|
|
# Date created: June 25 2004
|
|
# Whom: Sam Lawrance <boris@brooknet.com.au>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= postgis-jdbc
|
|
PORTVERSION= 1.1.1
|
|
CATEGORIES= databases java
|
|
MASTER_SITES= http://postgis.refractions.net/download/
|
|
DISTNAME= postgis-${PORTVERSION}
|
|
|
|
MAINTAINER= lawrance@FreeBSD.org
|
|
COMMENT= PostGIS spatial data structures for JDBC
|
|
|
|
BUILD_DEPENDS= ${JAVALIBDIR}/postgresql.jar:${PORTSDIR}/databases/postgresql-jdbc
|
|
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.4+
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
USE_GMAKE= yes
|
|
MAKE_ARGS= EXAMPLESDIR="${EXAMPLESDIR}" \
|
|
DESTDIR="${JAVAJARDIR}" \
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
JAVAC="${JAVAC}" \
|
|
JAVA="${JAVA}" \
|
|
JAR="${JAR}" \
|
|
CLASSPATH="${JAVALIBDIR}/postgresql.jar" \
|
|
mkinstalldirs="${MKDIR}"
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/jdbc2
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/postgis.jar ${JAVAJARDIR}
|
|
${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/src/examples/* ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|