# $Id: Portfile 89112 2012-01-19 18:49:52Z ram@macports.org $

PortSystem    1.0

name          lalstochastic
version       1.1.3
categories    science
platforms     darwin
maintainers   ram
license       GPL

description   LSC Algorithm Library - Stochastic
long_description \
  LIGO Scientific Collaboration Algorithm Library  - Stochastic, \
  containing routines for stochastic gravitational wave background \
  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 e2cb9668abe386367d034b6c97d7413f \
              sha1 f65d52cbcce393237389d2e253bec5e4250a4192 \
              rmd160 5cb692515fb9e9b4309ced3f24d2bc13dd2e97d8

depends_build port:pkgconfig \
              port:python27

depends_lib   port:lal \
              port:lalmetaio \
              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  {lalstochastic-(\d+(?:\.\d+)*).tar.gz}
