# $Id: Portfile 77246 2011-03-24 15:55:36Z ram@macports.org $

PortSystem    1.0

name          lalpulsar
version       1.1.0
categories    science
platforms     darwin
maintainers   ram
license       GPL

description   LSC Algorithm Library - Pulsar
long_description \
  LIGO Scientific Collaboration Algorithm Library - Pulsar containing \
  routines for continuous gravitatin wave gravitational 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 20a38455e4bf173580a5c0c88f13e5be \
              sha1 0b19bc09fb92bdec19789205daa46752aebdf62e \
              rmd160 497e6fb9fb05341025ec917abeea20c4f4255271

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

depends_lib   port:lal \
              port:gsl

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

build.args    V=1

use_parallel_build yes

variant lalxml description {Enable LALXML support} {
  depends_lib-append    port:lalxml
  configure.args-append --enable-lalxml
}

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