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

vince at macports.org vince at macports.org
Wed Oct 9 04:34:08 PDT 2013


Revision: 112007
          https://trac.macports.org/changeset/112007
Author:   vince at macports.org
Date:     2013-10-09 04:34:08 -0700 (Wed, 09 Oct 2013)
Log Message:
-----------
Add a sfcgal variant to link against the SFCGAL library

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

Modified: trunk/dports/databases/postgis2/Portfile
===================================================================
--- trunk/dports/databases/postgis2/Portfile	2013-10-09 11:23:00 UTC (rev 112006)
+++ trunk/dports/databases/postgis2/Portfile	2013-10-09 11:34:08 UTC (rev 112007)
@@ -50,16 +50,6 @@
 
 # Neither is PostGIS 2.0 compatible with PostGreSQL 8
 
-variant postgresql90        description {Builds with postgresql 9.0 – Deprecated} \
-                            conflicts postgresql91 postgresql92 postgresql93 {
-    depends_lib-append      port:postgresql90
-    archcheck.files-append  lib/postgresql90/libpq.dylib
-    configure.args-append   --libdir=${prefix}/lib/postgresql90\
-                            --with-pgconfig=${prefix}/lib/postgresql90/bin/pg_config
-    build.args-append       PGSQL_DOCDIR=${destroot}${prefix}/share/doc/postgresql90\
-                            PGSQL_MANDIR=${destroot}${prefix}/share/man
-}
-
 variant postgresql91        description {Builds with postgresql 9.1} \
                             conflicts postgresql90 postgresql92 postgresql93 {
     depends_lib-append      port:postgresql91 
@@ -101,6 +91,11 @@
     configure.args-append   --with-topology
 }
 
+variant sfcgal              description {Uses SFCGAL for 3D queries} {
+    depends_lib-append      port:sfcgal
+    configure.args-append   --with-sfcgal=${prefix}/bin/sfcgal-config
+}
+
 variant gui                 description {Build the GUI import tool} {
 
     depends_lib-append      port:gtk2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131009/6bc8ff0d/attachment.html>


More information about the macports-changes mailing list