# $Id: Portfile 89054 2012-01-18 22:48:40Z ram@macports.org $

PortSystem         1.0
PortGroup          python27 1.0

name               pylal
version            0.1.3
categories         science
platforms          darwin
maintainers        ram gmail.com:nickolas.fotopoulos
license            GPL

description        Python LSC Algorithm Library
long_description \
  The PyLAL package is best described as the Python LIGO Algorithm \
  Library. It was originally a Python wrapping of parts of the LAL \
  library, and although it continues to provide that function it has \
  acquired a large collection of independent code of its own so that \
  it is no longer exclusively a Python interface to LAL. In this \
  package you will find convenience code to assist with manipulating \
  XML documents using the glue.ligolw I/O library, you will find a \
  wrapping to libframe to enable GWF frame-file reading, you will \
  find binning and smoothing code, and you will find (partial) \
  wrappings of LALs burstsearch, date, inject, tools, and window \
  packages. Additionally, you will find most, if not all, of the \
  inspiral pipeline's follow-up and summary tools, and several \
  burst-related trigger post-production tools.

homepage           https://www.lsc-group.phys.uwm.edu/daswg/projects/pylal.html
master_sites       http://www.lsc-group.phys.uwm.edu/daswg/download/software/source/

checksums          md5 03f9a19667120ea3b4aca8326091f3ab \
                   sha1 45a2ffa6349857042f067b10c6eb39eff43e028e \
                   rmd160 9ce54f2af75337dea921bb9d81eb9c0af65ddc8a

depends_build      port:pkgconfig

depends_lib-append port:py27-numpy \
                   port:py27-scipy \
                   port:py27-matplotlib \
                   port:glue \
                   port:lal \
                   port:lalframe \
                   port:lalmetaio \
                   port:lalsimulation \
                   port:lalburst \
                   port:lalinspiral

#python.link_binaries no

#post-destroot {
#  foreach x [glob -type {x} ${destroot}${python.prefix}/bin/*] { system "ln $x ${destroot}${prefix}/bin" }
#}

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