source: trunk/dports/net/ganglia/Portfile @ 65190

Last change on this file since 65190 was 65190, checked in by ryandesign@…, 9 years ago

ganglia: new port, version 3.1.7; see #24095

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 65190 2010-03-23 13:05:55Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    ganglia
7version                 3.1.7
8categories              net
9maintainers             uni-osnabrueck.de:uwaechte
10description             Ganglia monitoring client
11long_description        Ganglia is a scalable distributed monitoring system for high-performance computing systems such as clusters and Grids.
12platforms               darwin
13homepage                http://ganglia.sourceforge.net/
14master_sites            sourceforge
15
16checksums               md5 6aa5e2109c2cc8007a6def0799cf1b4c \
17                        sha1 e234d64814af1c9f55f1cd039a5840039d175f85 \
18                        rmd160 918d678ad234d477fc98427d96485a8111c64f06
19
20depends_lib             port:libconfuse \
21                        port:apr \
22                        port:gettext \
23                        port:pcre
24
25configure.args          --without-gmetad \
26                        --program-transform-name="s/gstat/ganglia-stat/" \
27                        --mandir=${prefix}/share/man \
28                        --sysconfdir=${prefix}/etc/ganglia
29
30platform darwin {
31    patchfiles-append   patch-libmetrics-darwin-metrics.c.diff
32}
33
34startupitem.create      yes
35startupitem.logfile     ${prefix}/var/log/ganglia-monitor.log
36startupitem.logevents   yes
37startupitem.executable  ${prefix}/sbin/gmond -f
38
39destroot.keepdirs       ${destroot}${prefix}/lib/ganglia/python_modules
40post-destroot {
41    system "DYLD_FALLBACK_LIBRARY_PATH=${destroot}${prefix}/lib ${destroot}${prefix}/sbin/gmond --default_config > ${destroot}${prefix}/etc/ganglia/gmond.conf.sample"
42}
Note: See TracBrowser for help on using the repository browser.