[99898] trunk/dports/science/lalxml/Portfile

ram at macports.org ram at macports.org
Tue Nov 20 19:32:26 PST 2012


Revision: 99898
          https://trac.macports.org/changeset/99898
Author:   ram at macports.org
Date:     2012-11-20 19:32:26 -0800 (Tue, 20 Nov 2012)
Log Message:
-----------
science/lalxml: update to 1.1.5

Modified Paths:
--------------
    trunk/dports/science/lalxml/Portfile

Modified: trunk/dports/science/lalxml/Portfile
===================================================================
--- trunk/dports/science/lalxml/Portfile	2012-11-21 03:32:18 UTC (rev 99897)
+++ trunk/dports/science/lalxml/Portfile	2012-11-21 03:32:26 UTC (rev 99898)
@@ -3,7 +3,7 @@
 PortSystem    1.0
 
 name          lalxml
-version       1.1.4
+version       1.1.5
 categories    science
 platforms     darwin
 maintainers   ram
@@ -17,8 +17,8 @@
 homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html
 master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/lalsuite
 
-checksums     rmd160 33917570c4c8666e5e13c51f43bfb9e6131a45f4 \
-              sha256 51b7373e64db6672f23185ef5eb8835e1d2d56fe1dd5d580fb0f9db68e76ee0f
+checksums     rmd160 1821b005e02a11634918d3db1c3a2bd91686ceac \
+              sha256 2a1095739885dd409d7b4e9ea184fed8f811ee9be3d98a902a6db6a3e473e833
 
 depends_build port:pkgconfig \
               port:python27
@@ -35,6 +35,24 @@
 
 use_parallel_build yes
 
+variant swig_python description {Build python SWIG bindings} {
+  pre-fetch {
+    if { ![file exists ${prefix}/lib/python2.7/site-packages/lal/_lal.so] } {
+      ui_error "
+****
+**** LALXML +swig_python requires LAL +swig_python, please
+**** reinstall LAL with the +swig_python variant.
+****
+"
+    error "${name} +swig_python requires lal +swig_python"
+    }
+  }
+  depends_build-append  port:swig-python
+  configure.args-append --enable-swig-python
+}
+
+default_variants +swig_python
+
 livecheck.type   regex
 livecheck.url    ${master_sites}
 livecheck.regex  {lalxml-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121120/fe0b8068/attachment.html>


More information about the macports-changes mailing list