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

PortSystem    1.0

name          lalpulsar
version       1.2.1
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 16f6a46add2370a7b3bc87e31d8a6709 \
              sha1 90af8c951e056bb7055ef7cbddfce6e0a6d39f59 \
              rmd160 c52fc2643a88db0f955f9c83e9879408c6d1d404

depends_build port:pkgconfig \
              port:python27

depends_lib   port:gsl \
              port:lal \
              port:lalxml

configure.python ${prefix}/bin/python2.7
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  {lalpulsar-(\d+(?:\.\d+)*).tar.gz}
