source: trunk/dports/science/gstlal-calibration/Portfile

Last change on this file was 146605, checked in by ram@…, 19 months ago

science/gstlal-calibration: update to 0.5.10

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.2 KB
Line 
1# $Id: Portfile 146605 2016-03-13 04:47:45Z ryandesign@macports.org $
2
3PortSystem    1.0
4
5name          gstlal-calibration
6version       0.5.10
7categories    science
8platforms     darwin
9maintainers   ram
10license       GPL-2+
11
12description   GStreamer elements for online GW data calibration
13long_description \
14  This package contains the plugins and shared libraries required to \
15  run the online gstlal gravitational-wave calibration software.
16
17homepage      https://www.lsc-group.phys.uwm.edu/daswg/projects/gstlal.html
18master_sites  http://software.ligo.org/lscsoft/source/
19
20checksums     rmd160 8293fc86e9123516be6d88de957dc31f12506b95 \
21              sha256 c435ff89014c39899f99a7cd8be2d13f12ceba9672b95f57ec66f36b840e2d1b
22
23depends_build port:pkgconfig
24
25depends_lib   port:gstlal \
26              port:python27 \
27              port:fftw-3 \
28              port:glue \
29              port:pylal \
30              port:gstreamer010 \
31              port:gstreamer010-gst-plugins-base \
32              port:gstreamer010-gst-plugins-good \
33              port:py27-gst-python \
34              port:py27-gobject \
35              port:py27-numpy \
36              port:py27-scipy \
37              port:lal \
38              port:lalmetaio
39
40set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
41configure.pkg_config_path ${python_prefix}/lib/pkgconfig
42configure.python ${prefix}/bin/python2.7
43
44use_parallel_build yes
45
46set pythondir "${frameworks_dir}/Python.framework/Versions/2.7/lib/python2.7/site-packages"
47destroot.args-append \
48              pythondir="${pythondir}" \
49              pyexecdir="${pythondir}" \
50              pkgpythondir="${pythondir}/${name}" \
51              pkgpyexecdir="${pythondir}/${name}"
52
53pre-activate {
54  # gstlal-calibration now contains files that used to be provided by gstlal-ugly
55  if {![catch {set installed [lindex [registry_active gstlal-ugly] 0]}]} {
56    set _version [lindex $installed 1]
57    if {[vercmp $_version 0.6.0] < 0} {
58      # gstlal-ugly used to install some files now provided by gstlal-calibration in versions < 0.6.0
59      registry_deactivate_composite gstlal-ugly "" [list ports_nodepcheck 1]
60    }
61  }
62}
63
64livecheck.type   regex
65livecheck.url    ${master_sites}
66livecheck.regex  {gstlal-calibration-(\d+(?:\.\d+)*).tar.gz}
Note: See TracBrowser for help on using the repository browser.