# $Id: Portfile 61039 2009-11-30 18:50:54Z ram@macports.org $

PortSystem    1.0

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

checksums     md5 b5dbd2caa20bb1e76ccee165698f0ea0 \
              sha1 15fc74d23cb134296176c7a1af5da77d6f8f2de0 \
              rmd160 424c98993cdecda4ae74589ff8fa256bd4161ce1

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

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

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

use_parallel_build yes

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