diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-06 16:29:04 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2006-07-06 16:29:04 +0000 |
commit | 08fdf7d9adcd2b4ecbb3028cc346bd144f45c77b (patch) | |
tree | d4a2c9deab3d7b226c37dba7495e0bcb3953ca8b /databases | |
parent | de7cecba96710419fc3fa492700b0b822d508fcf (diff) | |
download | ports-08fdf7d9adcd2b4ecbb3028cc346bd144f45c77b.tar.gz ports-08fdf7d9adcd2b4ecbb3028cc346bd144f45c77b.zip |
Notes
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgis/Makefile | 13 | ||||
-rw-r--r-- | databases/postgis/distinfo | 7 | ||||
-rw-r--r-- | databases/postgis/files/patch-lwgeom | 12 |
3 files changed, 13 insertions, 19 deletions
diff --git a/databases/postgis/Makefile b/databases/postgis/Makefile index e69305f22669..5b3a1058122d 100644 --- a/databases/postgis/Makefile +++ b/databases/postgis/Makefile @@ -6,19 +6,20 @@ # PORTNAME= postgis -DISTVERSION= 1.1.2 +DISTVERSION= 1.1.3 CATEGORIES= databases MASTER_SITES= http://postgis.refractions.net/download/ MAINTAINER= anderson@cnpm.embrapa.br COMMENT= Adds support for geographic objects to PostgreSQL databases +BUILD_DEPENDS= bison2:${PORTSDIR}/devel/bison2 LIB_DEPENDS= proj.5:${PORTSDIR}/graphics/proj RUN_DEPENDS= postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server +USE_GCC= 3.2+ USE_PGSQL= yes USE_GMAKE= yes -USE_BISON= yes USE_PERL5_BUILD= yes INSTALL_TARGET= install @@ -35,14 +36,6 @@ CONFIGURE_ARGS= --datadir=${PREFIX}/share/postgis \ .include <bsd.port.pre.mk> -#Setting/finding PostgreSQL version we want. -.if exists(${LOCALBASE}/bin/pg_config) -PGSQL_VER!= ${LOCALBASE}/bin/pg_config --version | ${SED} -n 's/PostgreSQL[^0-9]*\([0-9][0-9]*\)\.\([0-9][0-9]*\)\..*/\1\2/p' -.else -PGSQL_VER= ${DEFAULT_PGSQL_VER} -.endif - - .if !defined(NOPORTDOCS) BUILD_DEPENDS+= xsltproc:${PORTSDIR}/textproc/libxslt \ ${LOCALBASE}/share/xsl/docbook/html/chunk.xsl:${PORTSDIR}/textproc/docbook-xsl diff --git a/databases/postgis/distinfo b/databases/postgis/distinfo index e28b550d5940..26c8b0013377 100644 --- a/databases/postgis/distinfo +++ b/databases/postgis/distinfo @@ -1,3 +1,4 @@ -MD5 (postgis-1.1.2.tar.gz) = 4b170cc30d9b7fec493fe779e46aa50c -SHA256 (postgis-1.1.2.tar.gz) = 5d63b1875e6dd8610001ad89d97351eaaf1c3205fc6ec57365e2bb9f6b990fb5 -SIZE (postgis-1.1.2.tar.gz) = 1547680 +SIZE (postgis-1.1.3.tar.gz) = 1619568 +MD5 (postgis-1.1.3.tar.gz) = 555d00f3d96738dd53574aecad4d9a9f +SHA256 (postgis-1.1.3.tar.gz) = 0fde3d9eff68f3b19b002d60c8236f2ee1ec88d583ca4294956a6570e855db07 + diff --git a/databases/postgis/files/patch-lwgeom b/databases/postgis/files/patch-lwgeom index f582e2ea0094..4e4d069b84e9 100644 --- a/databases/postgis/files/patch-lwgeom +++ b/databases/postgis/files/patch-lwgeom @@ -1,11 +1,11 @@ ---- lwgeom/Makefile Wed Dec 28 17:39:49 2005 -+++ lwgeom/Makefile Wed Dec 28 17:41:22 2005 -@@ -128,7 +128,7 @@ +--- lwgeom/Makefile Sun Jun 25 20:59:32 2006 ++++ lwgeom/Makefile Wed Jul 5 16:29:07 2006 +@@ -129,7 +129,7 @@ $(PERL) ../utils/postgis_proc_upgrade.pl ../lwpostgis.sql > ../lwpostgis_upgrade.sql - ../lwpostgis.sql: lwpostgis.sql.in + ../lwpostgis.sql: lwpostgis.sql.in long_xact.sql - cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's:@MODULE_FILENAME@:$(MODULE_FILENAME):g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@ + cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's:@MODULE_FILENAME@:$$libdir/liblwgeom.so.1:g;s:@POSTGIS_VERSION@:$(POSTGIS_VERSION):g;s:@POSTGIS_SCRIPTS_VERSION@:$(SCRIPTS_VERSION):g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@ - install: all install-lib-shared install-lwgeom-scripts - + ../regress/lwpostgis.sql: lwpostgis.sql.in long_xact.sql + cpp -P -traditional-cpp -DUSE_VERSION=$(USE_VERSION) $< | sed -e 's#@MODULE_FILENAME@#$(REGRESS_MODULE_FILENAME)#g;s#@POSTGIS_VERSION@#$(POSTGIS_VERSION)#g;s#@POSTGIS_SCRIPTS_VERSION@#$(SCRIPTS_VERSION)#g;s/@POSTGIS_BUILD_DATE@/$(POSTGIS_BUILD_DATE)/g' | grep -v '^#' > $@ |