source: trunk/dports/science/lalinspiral/Portfile @ 99900

Last change on this file since 99900 was 99900, checked in by ram@…, 7 years ago

science/lalinspiral: update to 1.4.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
Line 
1# $Id: Portfile 99900 2012-11-21 03:32:43Z ram@macports.org $
2
3PortSystem    1.0
4
5name          lalinspiral
6version       1.4.0
7categories    science
8platforms     darwin
9maintainers   ram
10license       GPL
11
12description   LSC Algorithm Library - Inspiral
13long_description \
14  LIGO Scientific Collaboration Algorithm Library - Inspiral, containing \
15  routines for compact binary gravitational wave data analysis.
16
17homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lalsuite.html
18master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/lalsuite
19
20checksums     rmd160 5f32d64323717464eed117ce8ecba2d031fec939 \
21              sha256 69f74349155737e0017b457fb38516a4f1d4ac99b970ec2ccb4a4b8370e4b8a7
22
23depends_build port:pkgconfig \
24              port:python27
25
26depends_lib   port:lal \
27              port:lalframe \
28              port:lalmetaio \
29              port:lalsimulation \
30              port:gsl \
31              port:metaio
32
33configure.python ${prefix}/bin/python2.7
34configure.args --mandir=${prefix}/share/man \
35               --disable-silent-rules \
36               --disable-gcc-flags \
37               --disable-debug
38
39use_parallel_build yes
40
41variant swig_python description {Build python SWIG bindings} {
42  pre-fetch {
43    if { ![file exists ${prefix}/lib/python2.7/site-packages/lal/_lal.so] } {
44      ui_error "
45****
46**** LALInspiral +swig_python requires LAL +swig_python, please
47**** reinstall LAL with the +swig_python variant.
48****
49"
50    error "${name} +swig_python requires lal +swig_python"
51    }
52    if { ![file exists ${prefix}/lib/python2.7/site-packages/lalframe/_lalframe.so] } {
53      ui_error "
54****
55**** LALInspiral +swig_python requires LALFrame +swig_python, please
56**** reinstall LALFrame with the +swig_python variant.
57****
58"
59    error "${name} +swig_python requires lal +swig_python"
60    }
61    if { ![file exists ${prefix}/lib/python2.7/site-packages/lalsimulation/_lalsimulation.so] } {
62      ui_error "
63****
64**** LALInspiral +swig_python requires LALSimulation +swig_python,
65**** please reinstall LALSimulation with the +swig_python variant.
66****
67"
68    error "${name} +swig_python requires lalsimulation +swig_python"
69    }
70  }
71  depends_build-append  port:swig-python
72  configure.args-append --enable-swig-python
73}
74
75default_variants +swig_python
76
77livecheck.type   regex
78livecheck.url    ${master_sites}
79livecheck.regex  {lalinspiral-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.