# $Id: Portfile 77244 2011-03-24 15:47:31Z ram@macports.org $

PortSystem    1.0

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

checksums     md5 6461bcf80914a8a2249f8e2e4799b2a3 \
              sha1 abd38491c2380553159e1361a674585d5f2a9fbf \
              rmd160 5a2c13a9a66d04557622eec034b1c73bd19abecc

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:lalframe \
              port:lalmetaio \
              port:lalxml \
              port:lalburst \
              port:lalinspiral \
              port:lalpulsar \
              port:lalstochastic \
              port:glue

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

build.args    V=1

use_parallel_build yes

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