# $Id: Portfile 77245 2011-03-24 15:51:18Z ram@macports.org $

PortSystem    1.0

name          lal
version       6.5.0
categories    science
platforms     darwin
maintainers   ram
license       GPL

description   LSC Algorithm Library
long_description \
  LIGO Scientific Collaboration Algorithm Library containing core \
  routines for gravitational wave data analysis.

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     md5 6f39d83b7385e37d508409910c9a7cc5 \
              sha1 71e03a546dbdd99e8dd512604c89966b98dfc026 \
              rmd160 75b37d6068ecb5ca2a3cf4f6e2b0dcb1df8f4e0b

depends_build bin:pkg-config:pkgconfig \
              port:python26

depends_lib   port:gsl \
              port:fftw-3 \
              port:fftw-3-single

configure.python ${prefix}/bin/python2.6
configure.args --mandir=${prefix}/share/man \
               --disable-gcc-flags

build.args    V=1

use_parallel_build yes

livecheck.type   regex
livecheck.url    ${master_sites}
livecheck.regex  {lal-(\d+(?:\.\d+)*).tar.gz}
