[152903] trunk/dports/net/mrtg/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Sep 20 05:07:08 PDT 2016


Revision: 152903
          https://trac.macports.org/changeset/152903
Author:   ryandesign at macports.org
Date:     2016-09-20 05:07:08 -0700 (Tue, 20 Sep 2016)
Log Message:
-----------
mrtg: adjust whitespace and formatting

Modified Paths:
--------------
    trunk/dports/net/mrtg/Portfile

Modified: trunk/dports/net/mrtg/Portfile
===================================================================
--- trunk/dports/net/mrtg/Portfile	2016-09-20 12:04:09 UTC (rev 152902)
+++ trunk/dports/net/mrtg/Portfile	2016-09-20 12:07:08 UTC (rev 152903)
@@ -1,39 +1,43 @@
+# -*- 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
+PortSystem          1.0
 
-name				mrtg
+name                mrtg
 version             2.17.4
-categories			net
-license				GPL-2+
-maintainers			jberry
-platforms			darwin
+categories          net
+platforms           darwin
+maintainers         jberry
+license             GPL-2+
 
-description			The multi-router traffic grapher
-long_description	MRTG is a tool to monitor the traffic load on network-links. \
-					It can also be used to gather and display a wide variety of time-series data.
-homepage			http://www.mrtg.org/
-					
+description         The multi-router traffic grapher
+
+long_description    MRTG is a tool to monitor the traffic load on network \
+                    links. It can also be used to gather and display a wide \
+                    variety of time-series data.
+
+homepage            http://www.mrtg.org/
 master_sites        http://oss.oetiker.ch/mrtg/pub/
+
 checksums           rmd160  cea76ad3685375770520ebbccd0ad4b6adafff1f \
                     sha256  5efa7fae8040159208472e5f889be5b41d8c8a2ea6b31616f0f75cc7f48d2365
 
 depends_build       bin:perl:perl5
 
-depends_lib			port:gd2 \
-					port:libpng \
-					port:zlib
+depends_lib         port:gd2 \
+                    port:libpng \
+                    port:zlib
 
 configure.args      --with-gd=${prefix} \
-					--with-z=${prefix} \
-					--with-png=${prefix}
+                    --with-z=${prefix} \
+                    --with-png=${prefix}
 
 post-destroot {
-	destroot.keepdirs \
-		${destroot}${prefix}/var/run \
-		${destroot}${prefix}/var/log \
-		${destroot}${prefix}/var/cache/mrtg
-		
-	reinplace s|"/var|"${prefix}/var| ${destroot}${prefix}/bin/mrtg
-	reinplace s|"/etc|"${prefix}/etc| ${destroot}${prefix}/bin/mrtg
+    destroot.keepdirs \
+        ${destroot}${prefix}/var/run \
+        ${destroot}${prefix}/var/log \
+        ${destroot}${prefix}/var/cache/mrtg
+
+    reinplace s|"/var|"${prefix}/var| ${destroot}${prefix}/bin/mrtg
+    reinplace s|"/etc|"${prefix}/etc| ${destroot}${prefix}/bin/mrtg
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160920/964a81fc/attachment.html>


More information about the macports-changes mailing list