1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update to 1.4.1

PR:		ports/143136
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
Approved by:	maintainer
This commit is contained in:
Wen Heping 2010-02-01 14:43:46 +00:00
parent eaf7459476
commit d9ef380e29
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249028
4 changed files with 22 additions and 13 deletions

View File

@ -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/

View File

@ -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

View File

@ -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

View File

@ -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