source: trunk/dports/net/mrtg/Portfile

Last change on this file was 152903, checked in by ryandesign@…, 12 months ago

mrtg: adjust whitespace and formatting

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 152903 2016-09-20 12:07:08Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                mrtg
7version             2.17.4
8categories          net
9platforms           darwin
10maintainers         jberry
11license             GPL-2+
12
13description         The multi-router traffic grapher
14
15long_description    MRTG is a tool to monitor the traffic load on network \
16                    links. It can also be used to gather and display a wide \
17                    variety of time-series data.
18
19homepage            http://www.mrtg.org/
20master_sites        http://oss.oetiker.ch/mrtg/pub/
21
22checksums           rmd160  cea76ad3685375770520ebbccd0ad4b6adafff1f \
23                    sha256  5efa7fae8040159208472e5f889be5b41d8c8a2ea6b31616f0f75cc7f48d2365
24
25depends_build       bin:perl:perl5
26
27depends_lib         port:gd2 \
28                    port:libpng \
29                    port:zlib
30
31configure.args      --with-gd=${prefix} \
32                    --with-z=${prefix} \
33                    --with-png=${prefix}
34
35post-destroot {
36    destroot.keepdirs \
37        ${destroot}${prefix}/var/run \
38        ${destroot}${prefix}/var/log \
39        ${destroot}${prefix}/var/cache/mrtg
40
41    reinplace s|"/var|"${prefix}/var| ${destroot}${prefix}/bin/mrtg
42    reinplace s|"/etc|"${prefix}/etc| ${destroot}${prefix}/bin/mrtg
43}
Note: See TracBrowser for help on using the repository browser.