aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2010-02-01 22:43:46 +0800
committerwen <wen@FreeBSD.org>2010-02-01 22:43:46 +0800
commit884e602e8e517c8732698cc0b5944c3dad8655dd (patch)
treedbf7775f0aee1e2a14a46b6b1682afc8e56fcd77 /databases
parent2ca604c224356bb27da070706122d9b9e80795ed (diff)
downloadfreebsd-ports-gnome-884e602e8e517c8732698cc0b5944c3dad8655dd.tar.gz
freebsd-ports-gnome-884e602e8e517c8732698cc0b5944c3dad8655dd.tar.zst
freebsd-ports-gnome-884e602e8e517c8732698cc0b5944c3dad8655dd.zip
- Update to 1.4.1
PR: ports/143136 Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net> Approved by: maintainer
Diffstat (limited to 'databases')
-rw-r--r--databases/postgis/Makefile3
-rw-r--r--databases/postgis/distinfo6
-rw-r--r--databases/postgis/files/patch-postgis-Makefile.in22
-rw-r--r--databases/postgis/pkg-plist4
4 files changed, 22 insertions, 13 deletions
diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile
index 5ea2c23cf965..367bdb2f2b0f 100644
--- a/databases/postgis/Makefile
+++ b/databases/postgis/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= postgis
-DISTVERSION= 1.4.0
-PORTREVISION= 2
+PORTVERSION= 1.4.1
CATEGORIES= databases geography
MASTER_SITES= http://postgis.refractions.net/download/ \
http://www.postgis.org/download/
diff --git a/databases/postgis/distinfo b/databases/postgis/distinfo
index d1940a36f1c7..ee0dca43dd20 100644
--- a/databases/postgis/distinfo
+++ b/databases/postgis/distinfo
@@ -1,3 +1,3 @@
-MD5 (postgis-1.4.0.tar.gz) = bc5b97d5399bd20ca90bfdf784ab6c33
-SHA256 (postgis-1.4.0.tar.gz) = 71c5ffde54a2ecbb88fbffa12ca18c617ecfe2404fb9049940cd1b7a06a7e38d
-SIZE (postgis-1.4.0.tar.gz) = 3143966
+MD5 (postgis-1.4.1.tar.gz) = 78d13c4294f3336502ad35c8a30e5583
+SHA256 (postgis-1.4.1.tar.gz) = 17d96c59e1653d7441c98ba0762b55cae3dc22f51e897294d3262dee22ba0a50
+SIZE (postgis-1.4.1.tar.gz) = 3273182
diff --git a/databases/postgis/files/patch-postgis-Makefile.in b/databases/postgis/files/patch-postgis-Makefile.in
index fec63c4beb38..aecbcdae6065 100644
--- a/databases/postgis/files/patch-postgis-Makefile.in
+++ b/databases/postgis/files/patch-postgis-Makefile.in
@@ -1,5 +1,5 @@
---- postgis/Makefile.in.orig 2009-06-06 11:09:39.000000000 -0300
-+++ postgis/Makefile.in 2009-09-20 09:48:02.000000000 -0300
+--- postgis/Makefile.in.orig 2009-11-14 06:26:00.000000000 +0800
++++ postgis/Makefile.in 2010-01-22 11:41:18.000000000 +0800
@@ -12,6 +12,10 @@
MODULE_big=postgis-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@
@@ -9,18 +9,26 @@
+override pkglibdir := $(PREFIX)/lib/postgresql
+
# Files to be copied to the contrib/ directory
- DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade.sql
+ DATA_built=postgis.sql uninstall_postgis.sql postgis_upgrade_14_minor.sql postgis_upgrade_13_to_14.sql postgis_upgrade_12_to_14.sql
DATA=../spatial_ref_sys.sql
-@@ -73,10 +77,10 @@
+@@ -73,16 +77,16 @@
# Borrow the $libdir substitution from PGXS but customise by adding the version number
%.sql: %.sql.in
- sed 's,MODULE_PATHNAME,$$libdir/$*-@POSTGIS_MAJOR_VERSION@.@POSTGIS_MINOR_VERSION@,g' $< >$@
+ sed 's,MODULE_PATHNAME,$$libdir/$*,g' $< >$@
- postgis_upgrade.sql: postgis.sql
-- $(PERL) ../utils/postgis_proc_upgrade.pl $< > $@
-+ %PERL% ../utils/postgis_proc_upgrade.pl $< > $@
+ postgis_upgrade_14_minor.sql: postgis.sql
+- $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.4 > $@
++ %PERL% ../utils/postgis_proc_upgrade.pl $< 1.4 > $@
+
+ postgis_upgrade_13_to_14.sql: postgis.sql
+- $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.3 > $@
++ %PERL% ../utils/postgis_proc_upgrade.pl $< 1.3 > $@
+
+ postgis_upgrade_12_to_14.sql: postgis.sql
+- $(PERL) ../utils/postgis_proc_upgrade.pl $< 1.2 > $@
++ %PERL% ../utils/postgis_proc_upgrade.pl $< 1.2 > $@
# Generate any .sql.in files from .sql.in.c files by running them through the C pre-processor
$(SQL_OBJS): %.in: %.in.c
diff --git a/databases/postgis/pkg-plist b/databases/postgis/pkg-plist
index a54a57379666..128d624d17f8 100644
--- a/databases/postgis/pkg-plist
+++ b/databases/postgis/pkg-plist
@@ -5,7 +5,9 @@ lib/postgresql/postgis.so
lib/postgresql/liblwgeom.so
lib/postgresql/liblwgeom.so.1
%%DATADIR%%/contrib/postgis.sql
-%%DATADIR%%/contrib/postgis_upgrade.sql
+%%DATADIR%%/contrib/postgis_upgrade_14_minor.sql
+%%DATADIR%%/contrib/postgis_upgrade_13_to_14.sql
+%%DATADIR%%/contrib/postgis_upgrade_12_to_14.sql
%%DATADIR%%/contrib/spatial_ref_sys.sql
%%DATADIR%%/contrib/uninstall_postgis.sql
%%DATADIR%%/utils/create_undef.pl