[142740] trunk/dports/databases/postgis2/Portfile
vince at macports.org
vince at macports.org
Sat Dec 12 07:02:09 PST 2015
Revision: 142740
https://trac.macports.org/changeset/142740
Author: vince at macports.org
Date: 2015-11-21 08:27:59 -0800 (Sat, 21 Nov 2015)
Log Message:
-----------
postgis2: bump to 2.2.0 / remove obsolete postgresql92 variant / clean up some cruft
Modified Paths:
--------------
trunk/dports/databases/postgis2/Portfile
Modified: trunk/dports/databases/postgis2/Portfile
===================================================================
--- trunk/dports/databases/postgis2/Portfile 2015-11-21 15:50:55 UTC (rev 142739)
+++ trunk/dports/databases/postgis2/Portfile 2015-11-21 16:27:59 UTC (rev 142740)
@@ -7,7 +7,7 @@
name postgis2
categories databases gis
license GPL
-version 2.1.8
+version 2.2.0
epoch 1
platforms darwin
maintainers vince openmaintainer
@@ -25,8 +25,8 @@
master_sites http://download.osgeo.org/postgis/source
distname postgis-${version}
-checksums rmd160 006d475584fdc5b00a063a68d923e97ed1701ca7 \
- sha256 7c2380b895fe7bda34c2e70deab3fcf4c12b13ab40d7501cdaa6fa36f1a6c662
+checksums rmd160 f2bf87fe7cfe1511c6c4219601ae8c8abb1b8359 \
+ sha256 66f0f8480d535959b8bb9abb5ee5d602d1001413ca770df120baf3de627f9e91
depends_build port:autoconf \
port:automake \
@@ -49,16 +49,6 @@
# Neither is PostGIS 2.0 compatible with PostGreSQL 8
-variant postgresql92 description {Builds with postgresql 9.2} \
- conflicts postgresql93 postgresql94 {
- depends_lib-append port:postgresql92
- archcheck.files-append lib/postgresql92/libpq.dylib
- configure.args-append --libdir=${prefix}/lib/postgresql92\
- --with-pgconfig=${prefix}/lib/postgresql92/bin/pg_config
- build.args-append PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql92\
- PGSQL_MANDIR=${destroot}${prefix}/share/man
-}
-
variant postgresql93 description {Builds with postgresql 9.3} \
conflicts postgresql92 postgresql94 {
depends_lib-append port:postgresql93
@@ -69,7 +59,6 @@
PGSQL_MANDIR=${destroot}${prefix}/share/man
}
-
variant postgresql94 description {Builds with postgresql 9.4} \
conflicts postgresql92 postgresql93 {
depends_lib-append port:postgresql94
@@ -120,21 +109,14 @@
default_variants +raster +topology
-if {![variant_isset postgresql92] && ![variant_isset postgresql93] && \
- ![variant_isset postgresql94]} {
- default_variants +postgresql93
+if {![variant_isset postgresql93] && ![variant_isset postgresql94]} {
+ default_variants +postgresql94
}
# Port phases
-#pre-configure {
-
-# system -W ${worksrcpath} "./autogen.sh"
-#}
-
configure.cflags-append \
- -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close \
- -I${prefix}/include
+ -Diconv=libiconv -Diconv_open=libiconv_open -Diconv_close=libiconv_close
# JSON-C new version is incompatible with this version of PostGIS
configure.args-append -without-json
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/052339ee/attachment.html>
More information about the macports-changes
mailing list