# $Id: Portfile 55819 2009-08-19 22:40:24Z ram@macports.org $

PortSystem    1.0

name          lal
version       6.2
categories    science
platforms     darwin
maintainers   ram

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/lal.html
master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/

checksums     md5 2c809c25365e0f82245fa9bcddfddcc2 \
              sha1 48647f44e532583ed89cc624dddf3e9c30264865 \
              rmd160 2763b6c737eba81fbfc63dfa8c86b068b4daa6c5

depends_build path:bin/pkg-config:pkgconfig \
              port:python25

depends_lib   port:gsl \
              port:fftw-3 \
              port:fftw-3-single \
              port:libframe \
              port:metaio \
              port:libxml2

configure.env-append PYTHON=${prefix}/bin/python2.5
configure.args --mandir=${prefix}/share/man \
               --enable-xml \
               --disable-gcc-flags \
               --disable-debug

use_parallel_build yes

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