1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

The JUMP PostGIS driver plugin allows reading from and writing to a

PostGIS database.

WWW: http://www.jump-project.org/

PR:		68331
Submitted by:	Sam Lawrance <boris@brooknet.com.au>
This commit is contained in:
Herve Quiroz 2004-11-07 02:00:39 +00:00
parent c6f3aee419
commit 3435ab1ef6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121021
7 changed files with 69 additions and 0 deletions

View File

@ -204,6 +204,7 @@
SUBDIR += jpgtn
SUBDIR += jslice
SUBDIR += jumpgis
SUBDIR += jumpgis-postgis
SUBDIR += juno-2
SUBDIR += k3d
SUBDIR += kalbum

View File

@ -0,0 +1,37 @@
# 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= boris@brooknet.com.au
COMMENT= JUMP support for reading and writing a PostGIS database
RUN_DEPENDS= jumpgis:${PORTSDIR}/graphics/jumpgis
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
${CHMOD} 0755 ${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>

View File

@ -0,0 +1,2 @@
MD5 (postgisdriver-1.1.0.zip) = cd5e5e588e87f25dee1043c8cd9912ce
SIZE (postgisdriver-1.1.0.zip) = 239876

View File

@ -0,0 +1,12 @@
#!/bin/sh
# $FreeBSD$
if [ "$2" != "DEINSTALL" ]; then
exit
fi
echo Restoring CLASSPATH in ${PKG_PREFIX}/bin/jumpgis
grep -v '^CLASSPATH=$CLASSPATH:$LIB/pg74jdbc3.jar$' ${PKG_PREFIX}/bin/jumpgis > ${PKG_PREFIX}/bin/jumpgis.new
cat ${PKG_PREFIX}/bin/jumpgis.new > ${PKG_PREFIX}/bin/jumpgis
rm ${PKG_PREFIX}/bin/jumpgis.new

View File

@ -0,0 +1,4 @@
The JUMP PostGIS driver plugin allows reading from and writing to a
PostGIS database.
WWW: http://www.jump-project.org/

View File

@ -0,0 +1,11 @@
#!/bin/sh
# $FreeBSD$
if [ "$2" != "POST-INSTALL" ]; then
exit
fi
echo Fixing CLASSPATH in ${PKG_PREFIX}/bin/jumpgis
sed -i '.bak' 's,CLASSPATH=.*,&\
CLASSPATH=$CLASSPATH:$LIB/pg74jdbc3.jar,g' ${PKG_PREFIX}/bin/jumpgis && rm ${PKG_PREFIX}/bin/jumpgis.bak

View File

@ -0,0 +1,2 @@
jumpgis/lib/ext/postgisdriver-1.1.0.jar
jumpgis/lib/pg74jdbc3.jar