# $Id: Portfile 104898 2013-04-04 19:49:24Z ram@macports.org $

PortSystem    1.0

name          gstlal
version       0.5.3
revision      2
categories    science
platforms     darwin
maintainers   ram
license       GPL

description   GStreamer elements for gravitational-wave data analysis
long_description \
  This package provides a variety of GStreamer elements for \
  gravitational-wave data analysis and some libraries to help write \
  such elements. The code here sits on top of several other libraries, \
  notably the LIGO Algorithm Library, FFTW, the GNU Scientific Library, \
  and, of course, GStreamer

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

checksums     rmd160 65f75e118fa4dd7767aafe4ae46c1a1379e0af58 \
              sha256 772b3e5bfe6c363bc185cc0d8639d8bac93e8222f6a136e6127a830a1ab17e79

depends_build port:pkgconfig

depends_lib   port:python27 \
              port:glue \
              port:pylal \
              port:fftw-3 \
              port:fftw-3-single \
              port:gstreamer010 \
              port:gstreamer010-gst-plugins-base \
              port:gstreamer010-gst-plugins-good \
              port:py27-gst-python \
              port:py27-gobject \
              port:py27-numpy \
              port:py27-scipy \
              port:lal \
              port:lalframe \
              port:lalmetaio \
              port:lalsimulation \
              port:lalburst \
              port:lalinspiral \
              port:gsl \
              port:orc

set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
configure.pkg_config_path ${python_prefix}/lib/pkgconfig
configure.python ${prefix}/bin/python2.7

use_parallel_build yes

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