source: trunk/dports/science/lal/Portfile @ 147610

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

science/lal: fix build with newer Xcode, fixes #51096

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 147610 2016-04-09 21:18:47Z ram@macports.org $
2
3PortSystem    1.0
4
5name          lal
6version       6.15.2
7revision      1
8categories    science
9platforms     darwin
10maintainers   ram
11license       GPL-2+
12
13description   LSC Algorithm Library
14long_description \
15  LIGO Scientific Collaboration Algorithm Library containing core \
16  routines for gravitational wave data analysis.
17
18homepage      https://wiki.ligo.org/DASWG/LALSuite
19master_sites  http://software.ligo.org/lscsoft/source/lalsuite
20
21checksums     rmd160 ebe0e18eab2edfdf6b77d8bf4d5b02e1b43d93d3 \
22              sha256 769722c047992eba2e5b0bebb182cb9a99584fac91def3009fc9676c4e670700
23
24patchfiles    9f725309cc54c73ed03e5bfe2502e89217ee7dae.diff
25patch.pre_args -p2
26
27depends_build-append port:pkgconfig
28
29depends_lib   port:python27 \
30              port:gsl \
31              port:fftw-3 \
32              port:fftw-3-single
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
42set pythondir "${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages"
43destroot.args-append \
44              pythondir="${pythondir}" \
45              pyexecdir="${pythondir}" \
46              pkgpythondir="${pythondir}/${name}" \
47              pkgpyexecdir="${pythondir}/${name}"
48
49variant swig_python description {Build python SWIG bindings} {
50  depends_build-append  port:swig-python
51  depends_lib-append    port:py27-numpy
52  configure.args-append --enable-swig-python
53}
54
55default_variants +swig_python
56
57livecheck.type   regex
58livecheck.url    ${master_sites}
59livecheck.regex  {lal-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.