1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/graphics/jumpgis-postgis/pkg-install
Herve Quiroz 3435ab1ef6 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>
2004-11-07 02:00:39 +00:00

12 lines
262 B
Bash

#!/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