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:
parent
c6f3aee419
commit
3435ab1ef6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121021
@ -204,6 +204,7 @@
|
||||
SUBDIR += jpgtn
|
||||
SUBDIR += jslice
|
||||
SUBDIR += jumpgis
|
||||
SUBDIR += jumpgis-postgis
|
||||
SUBDIR += juno-2
|
||||
SUBDIR += k3d
|
||||
SUBDIR += kalbum
|
||||
|
37
graphics/jumpgis-postgis/Makefile
Normal file
37
graphics/jumpgis-postgis/Makefile
Normal 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>
|
2
graphics/jumpgis-postgis/distinfo
Normal file
2
graphics/jumpgis-postgis/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (postgisdriver-1.1.0.zip) = cd5e5e588e87f25dee1043c8cd9912ce
|
||||
SIZE (postgisdriver-1.1.0.zip) = 239876
|
12
graphics/jumpgis-postgis/pkg-deinstall
Normal file
12
graphics/jumpgis-postgis/pkg-deinstall
Normal 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
|
4
graphics/jumpgis-postgis/pkg-descr
Normal file
4
graphics/jumpgis-postgis/pkg-descr
Normal 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/
|
11
graphics/jumpgis-postgis/pkg-install
Normal file
11
graphics/jumpgis-postgis/pkg-install
Normal 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
|
2
graphics/jumpgis-postgis/pkg-plist
Normal file
2
graphics/jumpgis-postgis/pkg-plist
Normal file
@ -0,0 +1,2 @@
|
||||
jumpgis/lib/ext/postgisdriver-1.1.0.jar
|
||||
jumpgis/lib/pg74jdbc3.jar
|
Loading…
Reference in New Issue
Block a user