[99900] trunk/dports/science/lalinspiral/Portfile
ram at macports.org
ram at macports.org
Tue Nov 20 19:32:43 PST 2012
Revision: 99900
https://trac.macports.org/changeset/99900
Author: ram at macports.org
Date: 2012-11-20 19:32:43 -0800 (Tue, 20 Nov 2012)
Log Message:
-----------
science/lalinspiral: update to 1.4.0
Modified Paths:
--------------
trunk/dports/science/lalinspiral/Portfile
Modified: trunk/dports/science/lalinspiral/Portfile
===================================================================
--- trunk/dports/science/lalinspiral/Portfile 2012-11-21 03:32:33 UTC (rev 99899)
+++ trunk/dports/science/lalinspiral/Portfile 2012-11-21 03:32:43 UTC (rev 99900)
@@ -3,7 +3,7 @@
PortSystem 1.0
name lalinspiral
-version 1.3.2
+version 1.4.0
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 97cce122814b206cd87b2294576001e99ec40f9a \
- sha256 987709595a897d29d7d4e6d6696e701fd0a1ba04825d1c2f2164938da800a541
+checksums rmd160 5f32d64323717464eed117ce8ecba2d031fec939 \
+ sha256 69f74349155737e0017b457fb38516a4f1d4ac99b970ec2ccb4a4b8370e4b8a7
depends_build port:pkgconfig \
port:python27
@@ -38,6 +38,42 @@
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 "
+****
+**** LALInspiral +swig_python requires LAL +swig_python, please
+**** reinstall LAL with the +swig_python variant.
+****
+"
+ error "${name} +swig_python requires lal +swig_python"
+ }
+ if { ![file exists ${prefix}/lib/python2.7/site-packages/lalframe/_lalframe.so] } {
+ ui_error "
+****
+**** LALInspiral +swig_python requires LALFrame +swig_python, please
+**** reinstall LALFrame with the +swig_python variant.
+****
+"
+ error "${name} +swig_python requires lal +swig_python"
+ }
+ if { ![file exists ${prefix}/lib/python2.7/site-packages/lalsimulation/_lalsimulation.so] } {
+ ui_error "
+****
+**** LALInspiral +swig_python requires LALSimulation +swig_python,
+**** please reinstall LALSimulation with the +swig_python variant.
+****
+"
+ error "${name} +swig_python requires lalsimulation +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 {lalinspiral-(\d+(?:\.\d+)*).tar.gz}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121120/e0bc62ba/attachment.html>
More information about the macports-changes
mailing list