Ticket #13286: postgis-update.patch
File postgis-update.patch, 2.2 KB (added by seanasy@…, 17 years ago) |
---|
-
(a) /dev/fd/63 vs. (b) Portfile
a b 1 # $Id: Portfile 2 9811 2007-10-10 13:25:43Z dluke@macports.org $1 # $Id: Portfile 22211 2007-02-21 23:24:27Z mww@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 5 5 name postgis 6 6 version 1.3.1 7 revision 1 7 8 categories databases 8 9 platforms darwin 9 maintainers frank-lists@auroralux.net10 maintainers nomaintainer@macports.org 10 11 description adds support for geographic objects to the postgresql database 11 12 long_description PostGIS adds support for geographic objects to the \ 12 13 PostgreSQL object-relational database. In effect, PostGIS \ 13 14 "spatially enables" the PostgreSQL server, allowing it to be used \ 14 15 as a backend spatial database for geographic information systems \ 15 16 (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS \ 16 follows the OpenGIS Simple Features Specification for SQL and \17 will be submitted for conformance testing at version 1.0.17 follows the OpenGIS Simple Features Specification for SQL and has \ 18 been certified as compliant with the "Types and Functions" profile. 18 19 19 20 homepage http://postgis.refractions.net/ 20 master_sites http://postgis.refractions.net/download/21 master_sites ${homepage}download/ 21 22 checksums sha1 db8e954dfc19e73c2331358a396e2064d1333a72 22 patchfiles patch-extras-template_gis-postgis_env.sh.in23 #patchfiles patch-extras-template_gis-postgis_env.sh.in 23 24 24 25 depends_lib port:postgresql82 port:geos port:proj 25 26 … … 29 30 --with-geos=${prefix}/bin/geos-config \ 30 31 --with-proj=${prefix} 31 32 32 build.args "ICONV_LDFLAGS=\"-L${prefix}/lib -liconv\"" 33 variant postgresql81 { 34 depends_lib-delete port:postgresql82 35 depends_lib-append port:postgresql81 36 configure.args-delete --libdir=${prefix}/lib/postgresql82/ \ 37 --with-pgsql=${prefix}/lib/postgresql82/bin/pg_config 38 configure.args-append --libdir=${prefix}/lib/postgresql81/ \ 39 --with-pgsql=${prefix}/lib/postgresql81/bin/pg_config 40 } 33 41 34 42 platform darwin 8 { 35 configure. compiler gcc-4.043 configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 36 44 } 37 45 46 #post-destroot { 47 # file rename ${destroot}/etc/default/postgis \ 48 # ${destroot}${prefix}/etc/postgis.default 49 #} 50 51