[99895] trunk/dports/science/lalframe/Portfile

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


Revision: 99895
          https://trac.macports.org/changeset/99895
Author:   ram at macports.org
Date:     2012-11-20 19:32:01 -0800 (Tue, 20 Nov 2012)
Log Message:
-----------
science/lalframe: update to 1.0.7

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

Modified: trunk/dports/science/lalframe/Portfile
===================================================================
--- trunk/dports/science/lalframe/Portfile	2012-11-21 03:31:53 UTC (rev 99894)
+++ trunk/dports/science/lalframe/Portfile	2012-11-21 03:32:01 UTC (rev 99895)
@@ -3,7 +3,7 @@
 PortSystem    1.0
 
 name          lalframe
-version       1.0.6
+version       1.0.7
 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 055477f597b9a05e5cf08139f5ead95daaff71e8 \
-              sha256 34f10f5767a062e67e5bac74118d10bb0526bea94ed3c325505f5de526daa02a
+checksums     rmd160 8a45abbebb73f2eea3125bcc285005be9ab4c967 \
+              sha256 02de9a22b77d82c0b2c39e74bac5174c1d496f9cd381a566fc0f381ddb50c9a9
 
 depends_build port:pkgconfig \
               port:python27
@@ -34,6 +34,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 "
+****
+**** LALFrame +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  {lalframe-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121120/83a06ada/attachment.html>


More information about the macports-changes mailing list