<pre style='margin:0'>
Vincent (Veence) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/edae202a3a96b55b575463c3f1bbf6a6d31a2ff5">https://github.com/macports/macports-ports/commit/edae202a3a96b55b575463c3f1bbf6a6d31a2ff5</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit edae202a3a96b55b575463c3f1bbf6a6d31a2ff5
</span>Author: Veence <vince@macports.org>
AuthorDate: Tue Apr 10 12:44:40 2018 +0200
<span style='display:block; white-space:pre;color:#404040;'> postgis2: step up to 2.4.4 and create +proj4 variant
</span>---
databases/postgis2/Portfile | 20 ++++++++++++++------
1 file changed, 14 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/postgis2/Portfile b/databases/postgis2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9aac0c0..847160f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/postgis2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/postgis2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,9 +5,9 @@ PortSystem 1.0
</span> name postgis2
categories databases gis
license GPL-2+
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.4.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.4.4
</span> epoch 1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> platforms darwin
maintainers vince openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,8 +24,8 @@ homepage http://postgis.refractions.net/
</span> master_sites http://download.osgeo.org/postgis/source
distname postgis-${version}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 0c0d4ca47a9a0cddfdc3127558d19a5a193d8c68 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 ea5374c5db6b645ba5628ddcb08f71d3b3d90a464d366b4e1d20d5a268bde4b9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 f9d5274a25b9e9e05a6f25343c9185bcd1fa4b3a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 0663efb589210d5048d95c817e5cf29552ec8180e16d4c6ef56c94255faca8c2
</span>
depends_build port:autoconf \
port:automake \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -33,7 +33,7 @@ depends_build port:autoconf \
</span> port:libxslt
depends_lib port:geos\
<span style='display:block; white-space:pre;background:#ffe0e0;'>- port:proj4\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:proj\
</span> port:libiconv\
port:libxml2\
port:json-c
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,6 +105,15 @@ variant gui description {Build the GUI import tool} {
</span> configure.args-append --with-gui
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --with-projdir=${prefix}/lib/proj5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant proj4 description {Builds with PROJ4 4.9 instead of PROJ4 5+} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete port:proj
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:proj4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-delete --with-projdir=${prefix}/lib/proj5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-projdir=${prefix}/lib/proj49
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant comments description {Build comments -- ! broken } {
ui_warn "The comments variant is currently broken. Use at your own risk."
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -131,7 +140,6 @@ configure.cflags-append \
</span>
# see https://trac.macports.org/wiki/UsingTheRightCompiler
configure.env-append CPPBIN=${configure.cpp}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args-append --with-projdir=${prefix}/lib/proj49
</span>
post-configure {
if {[variant_isset universal]} {
</pre><pre style='margin:0'>
</pre>