# -*- 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

PortSystem          1.0
PortGroup           github 1.0


github.setup        ganglia ganglia-web 3.7.5
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0
categories          net
license             BSD
maintainers         nomaintainer
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.

checksums           rmd160  4563e928ac50f41a1bbb6f5d5d7a20729777bb4c \
                    sha256  4f3ad310b739f3b8d49c7108600da785a21815e6930efc49681c3201a9a01d4c \
                    size    709641

depends_lib         port:ganglia

depends_run         port:apache2

patchfiles          patch-Makefile.diff

post-patch {
    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/Makefile
}

use_configure       no

build {}