[115100] trunk/dports/textproc/sphinx/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Dec 24 20:26:41 PST 2013


Revision: 115100
          https://trac.macports.org/changeset/115100
Author:   ryandesign at macports.org
Date:     2013-12-24 20:26:40 -0800 (Tue, 24 Dec 2013)
Log Message:
-----------
sphinx: add postgresql93 and mysql56 variants; remove postgres legacy compatibility variant

Modified Paths:
--------------
    trunk/dports/textproc/sphinx/Portfile

Modified: trunk/dports/textproc/sphinx/Portfile
===================================================================
--- trunk/dports/textproc/sphinx/Portfile	2013-12-24 23:15:18 UTC (rev 115099)
+++ trunk/dports/textproc/sphinx/Portfile	2013-12-25 04:26:40 UTC (rev 115100)
@@ -28,7 +28,7 @@
 checksums           rmd160  6fd53230457e62a6aabcb5321265abd8ea324cf6 \
                     sha256  de943c397efda706661b3a12e12e9f8cc8a03bf6c02c5a6ba967a06384feede2
 
-if {${name} == ${subport}} {
+if {${name} eq ${subport}} {
 depends_lib         port:expat \
                     port:libiconv
 
@@ -41,71 +41,83 @@
 
 test.run            yes
 
-variant postgres requires postgresql82 description {Legacy compatibility variant} {}
-
-variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 description {Enable PostgreSQL 8.2 support} {
+variant postgresql82 conflicts postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description {Enable PostgreSQL 8.2 support} {
     depends_lib-append      port:postgresql82
     configure.args-append   --with-pgsql \
                             --with-pgsql-includes=${prefix}/include/postgresql82 \
                             --with-pgsql-libs=${prefix}/lib/postgresql82
 }
 
-variant postgresql83 conflicts postgresql82 postgresql84 postgresql90 postgresql91 postgresql92 description {Enable PostgreSQL 8.3 support} {
+variant postgresql83 conflicts postgresql82 postgresql84 postgresql90 postgresql91 postgresql92 postgresql93 description {Enable PostgreSQL 8.3 support} {
     depends_lib-append      port:postgresql83
     configure.args-append   --with-pgsql \
                             --with-pgsql-includes=${prefix}/include/postgresql83 \
                             --with-pgsql-libs=${prefix}/lib/postgresql83
 }
 
-variant postgresql84 conflicts postgresql82 postgresql83 postgresql90 postgresql91 postgresql92 description {Enable PostgreSQL 8.4 support} {
+variant postgresql84 conflicts postgresql82 postgresql83 postgresql90 postgresql91 postgresql92 postgresql93 description {Enable PostgreSQL 8.4 support} {
     depends_lib-append      port:postgresql84
     configure.args-append   --with-pgsql \
                             --with-pgsql-includes=${prefix}/include/postgresql84 \
                             --with-pgsql-libs=${prefix}/lib/postgresql84
 }
 
-variant postgresql90 conflicts postgresql82 postgresql83 postgresql84 postgresql91 postgresql92 description {Enable PostgreSQL 9.0 support} {
+variant postgresql90 conflicts postgresql82 postgresql83 postgresql84 postgresql91 postgresql92 postgresql93 description {Enable PostgreSQL 9.0 support} {
     depends_lib-append      port:postgresql90
     configure.args-append   --with-pgsql \
                             --with-pgsql-includes=${prefix}/include/postgresql90 \
                             --with-pgsql-libs=${prefix}/lib/postgresql90
 }
 
-variant postgresql91 conflicts postgresql82 postgresql83 postgresql84 postgresql90 postgresql92 description {Enable PostgreSQL 9.1 support} {
+variant postgresql91 conflicts postgresql82 postgresql83 postgresql84 postgresql90 postgresql92 postgresql93 description {Enable PostgreSQL 9.1 support} {
     depends_lib-append      port:postgresql91
     configure.args-append   --with-pgsql \
                             --with-pgsql-includes=${prefix}/include/postgresql91 \
                             --with-pgsql-libs=${prefix}/lib/postgresql91
 }
 
-variant postgresql92 conflicts postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 description {Enable PostgreSQL 9.2 support} {
+variant postgresql92 conflicts postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql93 description {Enable PostgreSQL 9.2 support} {
     depends_lib-append      port:postgresql92
     configure.args-append   --with-pgsql \
                             --with-pgsql-includes=${prefix}/include/postgresql92 \
                             --with-pgsql-libs=${prefix}/lib/postgresql92
 }
 
-variant mysql5 conflicts mysql51 mysql55 mariadb percona description {Enable MySQL 5 support} {
+variant postgresql93 conflicts postgresql82 postgresql83 postgresql84 postgresql90 postgresql91 postgresql92 description {Enable PostgreSQL 9.3 support} {
+    depends_lib-append      port:postgresql93
+    configure.args-append   --with-pgsql \
+                            --with-pgsql-includes=${prefix}/include/postgresql93 \
+                            --with-pgsql-libs=${prefix}/lib/postgresql93
+}
+
+variant mysql5 conflicts mysql51 mysql55 mysql56 mariadb percona description {Enable MySQL 5 support} {
     depends_lib-append      path:bin/mysql_config5:mysql5
     configure.args-delete   --without-mysql
     configure.args-append   --with-mysql-includes=${prefix}/include/mysql5/mysql \
                             --with-mysql-libs=${prefix}/lib/mysql5/mysql
 }
 
-variant mysql51 conflicts mysql5 mysql55 mariadb percona description {Enable MySQL 5.1 support} {
+variant mysql51 conflicts mysql5 mysql55 mysql56 mariadb percona description {Enable MySQL 5.1 support} {
     depends_lib-append      port:mysql51
     configure.args-delete   --without-mysql
     configure.args-append   --with-mysql-includes=${prefix}/include/mysql51/mysql \
                             --with-mysql-libs=${prefix}/lib/mysql51/mysql
 }
 
-variant mysql55 conflicts mysql5 mysql51 mariadb percona description {Enable MySQL 5.5 support} {
+variant mysql55 conflicts mysql5 mysql51 mysql56 mariadb percona description {Enable MySQL 5.5 support} {
     depends_lib-append      port:mysql55
     configure.args-delete   --without-mysql
     configure.args-append   --with-mysql-includes=${prefix}/include/mysql55/mysql \
                             --with-mysql-libs=${prefix}/lib/mysql55/mysql
 }
 
+variant mysql56 conflicts mysql5 mysql51 mysql55 mariadb percona description {Enable MySQL 5.6 support} {
+    depends_lib-append      port:mysql56
+    configure.args-delete   --without-mysql
+    configure.args-append   --with-mysql-includes=${prefix}/include/mysql56/mysql \
+                            --with-mysql-libs=${prefix}/lib/mysql56/mysql
+}
+
 variant mariadb conflicts mysql5 mysql51 mysql55 percona description {Enable MariaDB support} {
     depends_lib-append      port:mariadb
     configure.args-delete   --without-mysql
@@ -120,7 +132,7 @@
                             --with-mysql-libs=${prefix}/lib/percona/mysql
 }
 
-if {![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset mysql5] && ![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset mariadb] && ![variant_isset percona]} {
+if {![variant_isset postgresql82] && ![variant_isset postgresql83] && ![variant_isset postgresql84] && ![variant_isset postgresql90] && ![variant_isset postgresql91] && ![variant_isset postgresql92] && ![variant_isset postgresql93] && ![variant_isset mysql5] && ![variant_isset mysql51] && ![variant_isset mysql55] && ![variant_isset mysql56] && ![variant_isset mariadb] && ![variant_isset percona]} {
     default_variants +mysql5
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20131224/3c61e27f/attachment-0001.html>


More information about the macports-changes mailing list