# $Id: Portfile 61042 2009-11-30 18:55:16Z ram@macports.org $

PortSystem    1.0

name          lalapps
version       6.3.2
categories    science
platforms     darwin
maintainers   ram
license       GPL

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 54235b5db97cb00b93f43bb04a324f05 \
              sha1 6224d853c5ab02dfa3b05bf0c9ec3b22049e3c77 \
              rmd160 fa2505c8acc8df5c34d84053094a03c228845900

depends_build bin:pkg-config:pkgconfig

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

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