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

PortSystem    1.0

name          lalstochastic
version       1.1.1
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 fca0e2da76f0783b8c4585efae42c1a0 \
              sha1 11af58c783280f4750ab967303e8f9121fcd6bea \
              rmd160 aaf3407ec4db4745e706b21247516a7ed41b71f9

depends_build bin:pkg-config:pkgconfig \
              port:python26

depends_lib   port:lal \
              port:lalmetaio \
              port:metaio

configure.python ${prefix}/bin/python2.6
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}
