freebsd-ports/graphics/jumpgis-postgis/pkg-deinstall
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
329 B
Bash

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