aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jumpgis-postgis/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/jumpgis-postgis/pkg-install')
-rw-r--r--graphics/jumpgis-postgis/pkg-install11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/jumpgis-postgis/pkg-install b/graphics/jumpgis-postgis/pkg-install
new file mode 100644
index 000000000000..ddad414b70f4
--- /dev/null
+++ b/graphics/jumpgis-postgis/pkg-install
@@ -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