mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
40 lines
1.5 KiB
Tcl
40 lines
1.5 KiB
Tcl
# -*- 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
|
|
|
|
name apan
|
|
version 0.3.0-sql
|
|
categories net
|
|
license GPL-2
|
|
maintainers nomaintainer
|
|
platforms any
|
|
supported_archs noarch
|
|
|
|
description apan plugin for nagios
|
|
long_description Apan, Advanced Performance Addon for Nagios is a tool for integrating \
|
|
Nagios with RRD-tool. The purpose is to make it easy to collect statistics from \
|
|
different service-checks in Nagios and to view it graphically via a web-interface.
|
|
|
|
homepage http://apan.sourceforge.net
|
|
master_sites sourceforge:project/apan/apan/${version}
|
|
|
|
checksums rmd160 ab859f575799a6049a47afe5ffff9ed1f754ec43 \
|
|
sha256 4b41e6750c161a492e4f56c2ac864c67418110cdf9f5188d94855bd5366827e3
|
|
|
|
worksrcdir apan-sql
|
|
|
|
depends_lib port:nagios
|
|
|
|
use_configure no
|
|
build {}
|
|
|
|
destroot {
|
|
file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan
|
|
file mkdir ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql
|
|
file mkdir ${destroot}${prefix}/libexec/nagios
|
|
system "echo ${worksrcpath}"
|
|
system "install -bC ${worksrcpath}/libexec/* ${destroot}${prefix}/libexec/nagios"
|
|
system "install -bC ${worksrcpath}/*.{cgi,sh} ${destroot}${prefix}/var/www/cgi-bin/apan"
|
|
system "install -bC ${worksrcpath}/plugs-sql/* ${destroot}${prefix}/var/www/cgi-bin/apan/plugs-sql"
|
|
}
|