[145655] trunk/dports/net

khindenburg at macports.org khindenburg at macports.org
Fri Feb 12 09:06:47 PST 2016


Revision: 145655
          https://trac.macports.org/changeset/145655
Author:   khindenburg at macports.org
Date:     2016-02-12 09:06:47 -0800 (Fri, 12 Feb 2016)
Log Message:
-----------
ganglia-web: new port maintainer #50575

Added Paths:
-----------
    trunk/dports/net/ganglia-web/
    trunk/dports/net/ganglia-web/Portfile
    trunk/dports/net/ganglia-web/files/
    trunk/dports/net/ganglia-web/files/patch-Makefile.diff

Added: trunk/dports/net/ganglia-web/Portfile
===================================================================
--- trunk/dports/net/ganglia-web/Portfile	                        (rev 0)
+++ trunk/dports/net/ganglia-web/Portfile	2016-02-12 17:06:47 UTC (rev 145655)
@@ -0,0 +1,37 @@
+# -*- 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
+# $Id$
+
+PortSystem          1.0
+
+name                ganglia-web
+version             3.7.1
+categories          net
+license             BSD
+maintainers         gmail.com:mschamschula openmaintainer
+description         Web front end for Ganglia.
+long_description    Web front end for the Ganglia monitoring system for \
+                    high-performance computing systems such as clusters and Grids.
+platforms           darwin
+homepage            http://ganglia.info/
+master_sites        sourceforge:project/ganglia/${name}/${version}
+
+checksums           rmd160  b0693c44bbdc4b32b095957c1ccf4735b7941119 \
+                    sha256  06669a3c81ef977c68186c5db88b9322015ea29775df474aea478e2c7777a593
+
+depends_lib         port:ganglia
+
+depends_run         path:sbin/httpd:apache2
+
+patchfiles          patch-Makefile.diff
+
+post-patch {
+    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
+}
+
+use_configure       no
+
+build {}
+
+livecheck.type      regex
+livecheck.url       http://ganglia.info/?page_id=66
+livecheck.regex     "ganglia-web/\">(\[\\d.\]+)"


Property changes on: trunk/dports/net/ganglia-web/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/net/ganglia-web/files/patch-Makefile.diff
===================================================================
--- trunk/dports/net/ganglia-web/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/net/ganglia-web/files/patch-Makefile.diff	2016-02-12 17:06:47 UTC (rev 145655)
@@ -0,0 +1,26 @@
+--- Makefile.orig	2014-11-04 04:48:40.000000000 -0600
++++ Makefile	2016-02-11 10:52:43.000000000 -0600
+@@ -2,18 +2,18 @@
+ # User configurables:
+ ##########################################################
+ # Location where gweb should be installed to (excluding conf, dwoo dirs).
+-GDESTDIR = /usr/share/ganglia-webfrontend
++GDESTDIR = @PREFIX@/share/ganglia-webfrontend
+ 
+ # Location where default apache configuration should be installed to.
+-GCONFDIR = /etc/ganglia-web
++GCONFDIR = @PREFIX@/etc/ganglia-web
+ 
+ # Gweb statedir (where conf dir and Dwoo templates dir are stored)
+-GWEB_STATEDIR = /var/lib/ganglia-web
++GWEB_STATEDIR = @PREFIX@/var/lib/ganglia-web
+ 
+ # Gmetad rootdir (parent location of rrd folder)
+-GMETAD_ROOTDIR = /var/lib/ganglia
++GMETAD_ROOTDIR = @PREFIX@/var/lib/ganglia
+ 
+-APACHE_USER = www-data
++APACHE_USER = daemon
+ ##########################################################
+ 
+ # Gweb version
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160212/7bf6f107/attachment.html>


More information about the macports-changes mailing list