# $Id: Portfile 89476 2012-01-31 15:27:00Z ram@macports.org $

PortSystem    1.0

name          lalinspiral
version       1.2.3
categories    science
platforms     darwin
maintainers   ram
license       GPL

description   LSC Algorithm Library - Inspiral
long_description \
  LIGO Scientific Collaboration Algorithm Library - Inspiral, containing \
  routines for compact binary gravitational wave data analysis.

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 6a21ac157226176acd6341ca7eb352d6 \
              sha1 909657656f7d3175e1b38c8090913d7440f4cd80 \
              rmd160 30eb2a389aa1955c97548fd31556ab8e68956a05

depends_build port:pkgconfig \
              port:python27

depends_lib   port:lal \
              port:lalmetaio \
              port:lalsimulation \
              port:gsl \
              port:metaio

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

build.args    V=1

use_parallel_build yes

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