[144946] trunk/dports/databases/postgis2/Portfile

vince at macports.org vince at macports.org
Fri Jan 22 01:39:09 PST 2016


Revision: 144946
          https://trac.macports.org/changeset/144946
Author:   vince at macports.org
Date:     2016-01-22 01:39:09 -0800 (Fri, 22 Jan 2016)
Log Message:
-----------
postgis2: add postgresql95 option/support

Modified Paths:
--------------
    trunk/dports/databases/postgis2/Portfile

Modified: trunk/dports/databases/postgis2/Portfile
===================================================================
--- trunk/dports/databases/postgis2/Portfile	2016-01-22 09:38:45 UTC (rev 144945)
+++ trunk/dports/databases/postgis2/Portfile	2016-01-22 09:39:09 UTC (rev 144946)
@@ -50,7 +50,7 @@
 # Neither is PostGIS 2.0 compatible with PostGreSQL 8
 
 variant postgresql93        description {Builds with postgresql 9.3} \
-                            conflicts postgresql92 postgresql94 {
+                            conflicts postgresql95 postgresql94 {
     depends_lib-append      port:postgresql93
     archcheck.files-append  lib/postgresql93/libpq.dylib
     configure.args-append   --libdir=${prefix}/lib/postgresql93\
@@ -60,7 +60,7 @@
 }
 
 variant postgresql94        description {Builds with postgresql 9.4} \
-                            conflicts postgresql92 postgresql93 {
+                            conflicts postgresql95 postgresql93 {
     depends_lib-append      port:postgresql94
     archcheck.files-append  lib/postgresql94/libpq.dylib
     configure.args-append   --libdir=${prefix}/lib/postgresql94\
@@ -69,6 +69,16 @@
                             PGSQL_MANDIR=${destroot}${prefix}/share/man
 }
 
+variant postgresql95        description {Builds with postgresql 9.5} \
+                            conflicts postgresql94 postgresql93 {
+    depends_lib-append      port:postgresql95
+    archcheck.files-append  lib/postgresql95/libpq.dylib
+    configure.args-append   --libdir=${prefix}/lib/postgresql95\
+                            --with-pgconfig=${prefix}/lib/postgresql95/bin/pg_config
+    build.args-append       PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql95\
+                            PGSQL_MANDIR=${destroot}${prefix}/share/man
+}
+
 variant raster              description {Build raster support} {
 
     depends_lib-append      port:gdal
@@ -109,7 +119,7 @@
 
 default_variants            +raster +topology
 
-if {![variant_isset postgresql93] && ![variant_isset postgresql94]} {
+if {![variant_isset postgresql93] && ![variant_isset postgresql94] && ![variant_isset postgresql95]} {
     default_variants        +postgresql94
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160122/d9d6be9f/attachment.html>


More information about the macports-changes mailing list