# $Id: Portfile 146605 2016-03-13 04:47:45Z ram@macports.org $ PortSystem 1.0 name gstlal-calibration version 0.5.10 categories science platforms darwin maintainers ram license GPL-2+ description GStreamer elements for online GW data calibration long_description \ This package contains the plugins and shared libraries required to \ run the online gstlal gravitational-wave calibration software. homepage https://www.lsc-group.phys.uwm.edu/daswg/projects/gstlal.html master_sites http://software.ligo.org/lscsoft/source/ checksums rmd160 8293fc86e9123516be6d88de957dc31f12506b95 \ sha256 c435ff89014c39899f99a7cd8be2d13f12ceba9672b95f57ec66f36b840e2d1b depends_build port:pkgconfig depends_lib port:gstlal \ port:python27 \ port:fftw-3 \ port:glue \ port:pylal \ 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:lalmetaio 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 set pythondir "${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages" destroot.args-append \ pythondir="${pythondir}" \ pyexecdir="${pythondir}" \ pkgpythondir="${pythondir}/${name}" \ pkgpyexecdir="${pythondir}/${name}" pre-activate { # gstlal-calibration now contains files that used to be provided by gstlal-ugly if {![catch {set installed [lindex [registry_active gstlal-ugly] 0]}]} { set _version [lindex $installed 1] if {[vercmp $_version 0.6.0] < 0} { # gstlal-ugly used to install some files now provided by gstlal-calibration in versions < 0.6.0 registry_deactivate_composite gstlal-ugly "" [list ports_nodepcheck 1] } } } livecheck.type regex livecheck.url ${master_sites} livecheck.regex {gstlal-calibration-(\d+(?:\.\d+)*).tar.gz}