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

PortSystem    1.0

name          lalapps
version       6.2
categories    science
platforms     darwin
maintainers   ram

description   LSC Algorithm Library Applications
long_description \
  LALApps is a set of codes for gravitational wave data analysis, \
  against the LSC Algorithm Library.

homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/lalapps.html
master_sites  http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/

checksums     md5 2110c5bec6f3212ab4b3d50bcb6bd449 \
              sha1 cca93c150a1cc6922e6f41d23ee4ae8770a639c7 \
              rmd160 edc446950e558d740b6178549435761567a9efd9

depends_build path:bin/pkg-config:pkgconfig

depends_lib   port:python25 \
              port:gsl \
              port:fftw-3 \
              port:fftw-3-single \
              port:libframe \
              port:metaio \
              port:lal \
              port:glue \
              port:libxml2 \
              port:cfitsio

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  {lalapps-(\d+(?:\.\d+)*).tar.gz}
