diff options
author | sem <sem@FreeBSD.org> | 2005-10-21 00:52:56 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-10-21 00:52:56 +0800 |
commit | 634b422974739641e890f041321e258221554adb (patch) | |
tree | bb14cc840e256586c242fd6b7fed39eb67f66cc9 /databases | |
parent | e0a056bd5cb43a5b2b83762a8248113d6fce073a (diff) | |
download | freebsd-ports-gnome-634b422974739641e890f041321e258221554adb.tar.gz freebsd-ports-gnome-634b422974739641e890f041321e258221554adb.tar.zst freebsd-ports-gnome-634b422974739641e890f041321e258221554adb.zip |
- Fix build with non-standard LOCALBASE
PR: ports/87657
Submitted by: maintainer
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgis/Makefile | 1 | ||||
-rw-r--r-- | databases/postgis/pkg-deinstall | 10 | ||||
-rw-r--r-- | databases/postgis/pkg-install | 6 | ||||
-rw-r--r-- | databases/postgis/pkg-plist | 2 |
4 files changed, 2 insertions, 17 deletions
diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile index 710b91ede74e..a76ad1d6b419 100644 --- a/databases/postgis/Makefile +++ b/databases/postgis/Makefile @@ -7,6 +7,7 @@ PORTNAME= postgis DISTVERSION= 1.0.4 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= http://postgis.refractions.net/download/ diff --git a/databases/postgis/pkg-deinstall b/databases/postgis/pkg-deinstall deleted file mode 100644 index 919233a5ee57..000000000000 --- a/databases/postgis/pkg-deinstall +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -case "$2" in - "POST-DEINSTALL") - PREF=${PREFIX:-$PKG_PREFIX} - SHAREDIR=${PREF}/share/postgis - rm -f ${SHAREDIR}/lwpostgis.sql - rmdir ${SHAREDIR} - ;; -esac diff --git a/databases/postgis/pkg-install b/databases/postgis/pkg-install index f0516ea8eac6..422fb48ca282 100644 --- a/databases/postgis/pkg-install +++ b/databases/postgis/pkg-install @@ -38,12 +38,6 @@ case "$2" in "PRE-INSTALL") msg ;; - "POST-INSTALL") - PREF=${PREFIX:-$PKG_PREFIX} - SHAREDIR=${PREF}/share/postgis - LIBDIR=${PREF}/lib - sed -e "s|\$libdir|${LIBDIR}|g" ${SHAREDIR}/lwpostgis.sql.default > ${SHAREDIR}/lwpostgis.sql - ;; "MESSAGE") msg ;; diff --git a/databases/postgis/pkg-plist b/databases/postgis/pkg-plist index 27cd3f3e17ad..a7881395e9c3 100644 --- a/databases/postgis/pkg-plist +++ b/databases/postgis/pkg-plist @@ -3,7 +3,7 @@ bin/shp2pgsql lib/liblwgeom.so lib/liblwgeom.so.1 %%DATADIR%%/README.postgis -%%DATADIR%%/lwpostgis.sql.default +%%DATADIR%%/lwpostgis.sql %%DATADIR%%/spatial_ref_sys.sql %%DATADIR%%/utils/postgis_restore.pl %%DATADIR%%/utils/profile_intersects.pl |