[135703] trunk/dports/devel/xapian-bindings/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Apr 29 21:32:48 PDT 2015


Revision: 135703
          https://trac.macports.org/changeset/135703
Author:   ryandesign at macports.org
Date:     2015-04-29 21:32:48 -0700 (Wed, 29 Apr 2015)
Log Message:
-----------
xapian-bindings: adjust whitespace; adjust variant descriptions

Modified Paths:
--------------
    trunk/dports/devel/xapian-bindings/Portfile

Modified: trunk/dports/devel/xapian-bindings/Portfile
===================================================================
--- trunk/dports/devel/xapian-bindings/Portfile	2015-04-30 04:29:48 UTC (rev 135702)
+++ trunk/dports/devel/xapian-bindings/Portfile	2015-04-30 04:32:48 UTC (rev 135703)
@@ -29,32 +29,42 @@
 configure.args      --without-python --without-csharp --without-java \
                     --without-tcl --without-php --without-ruby --without-perl
 
-variant     ruby description {builds ruby bindings} {
-                    depends_lib-append port:ruby
-    configure.args-replace --without-ruby --with-ruby
+variant java description {build java bindings} {
+    configure.args-replace  --without-java --with-java
+}
+
+variant php description {build php bindings} {
+    depends_lib-append      path:bin/php:php5
+
+    configure.args-replace  --without-php --with-php
+}
+
+variant python26 conflicts python27 description {build python 2.6 bindings} {
+    depends_lib-append      port:python26
+
+    configure.python        ${prefix}/bin/python2.6
+    configure.args-replace  --without-python --with-python
+}
+
+variant python27 conflicts python26 description {build python 2.7 bindings} {
+    depends_lib-append      port:python27
+
+    configure.python        ${prefix}/bin/python2.7
+    configure.args-replace  --without-python --with-python
+}
+
+variant ruby description {build ruby bindings} {
+    depends_lib-append      port:ruby
+
+    configure.args-replace  --without-ruby --with-ruby
+
     post-destroot {
         delete ${destroot}${prefix}/share/doc/xapian-bindings/ruby/rdocs
     }
-                }
-variant     php description {builds php bindings} {
-                    depends_lib-append path:bin/php:php5
-    configure.args-replace --without-php --with-php
-                }
-variant     python26 conflicts python27 description {builds python bindings} {
-                    configure.python       ${prefix}/bin/python2.6
-                    depends_lib-append port:python26
-    configure.args-replace --without-python --with-python
-                }
-variant     python27 conflicts python26 description {builds python bindings} {
-                    configure.python       ${prefix}/bin/python2.7
-                    depends_lib-append port:python27
-    configure.args-replace --without-python --with-python
-                }
-variant     java description {builds java bindings} {
-    configure.args-replace --without-java --with-java
-                }
-default_variants +ruby
+}
 
+default_variants    +ruby
+
 livecheck.type      regex
 livecheck.url       ${homepage}download
 livecheck.regex     ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150429/3d8a6c02/attachment.html>


More information about the macports-changes mailing list