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

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

science/lalinspiral: add missing dependency

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