[139347] trunk/dports/net/vnstat/Portfile

khindenburg at macports.org khindenburg at macports.org
Thu Aug 13 17:58:13 PDT 2015


Revision: 139347
          https://trac.macports.org/changeset/139347
Author:   khindenburg at macports.org
Date:     2015-08-13 17:58:13 -0700 (Thu, 13 Aug 2015)
Log Message:
-----------
vnstat: add modeline + whitespace changes

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

Modified: trunk/dports/net/vnstat/Portfile
===================================================================
--- trunk/dports/net/vnstat/Portfile	2015-08-13 21:15:48 UTC (rev 139346)
+++ trunk/dports/net/vnstat/Portfile	2015-08-14 00:58:13 UTC (rev 139347)
@@ -1,4 +1,6 @@
+# -*- 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                vnstat
@@ -10,14 +12,14 @@
 license             GPL-2
 description         console-based network traffic monitor
 long_description    \
-	vnStat is a console-based network traffic monitor for Linux and BSD that keeps \
-	a log of network traffic for the selected interface(s), it uses the network \
-	interface statistics provided by the kernel as information source.  This means \
-	that vnStat won't actually be sniffing any traffic and also ensures light use \
-	of system resources. 
+    vnStat is a console-based network traffic monitor for Linux and BSD that keeps \
+    a log of network traffic for the selected interface(s), it uses the network \
+    interface statistics provided by the kernel as information source.  This means \
+    that vnStat won't actually be sniffing any traffic and also ensures light use \
+    of system resources.
 
 homepage            http://humdi.net/vnstat/
-depends_lib         port:gd2       
+depends_lib         port:gd2
 master_sites        http://humdi.net/${name}
 checksums           md5     a5a113f9176cd61fb954f2ba297f5fdb \
                     sha1    92494f38a752dcf60053af2a6d8977737da7e616 \
@@ -29,7 +31,7 @@
     reinplace "s|${prefix}/man|${prefix}/share/man|g"    ${worksrcpath}/Makefile
     reinplace "s|(DESTDIR)/etc|(DESTDIR)${prefix}/etc|g" ${worksrcpath}/Makefile
     reinplace "s|(DESTDIR)/var|(DESTDIR)${prefix}/var|g" ${worksrcpath}/Makefile
-    
+
     # fix occurrences of /var/db references in other files
     reinplace "s|/var|${prefix}/var|g"  ${worksrcpath}/src/common.h \
                                         ${worksrcpath}/cfg/vnstat.conf \
@@ -39,7 +41,7 @@
     reinplace "s|/var/lib|/var/db|g"    ${worksrcpath}/man/vnstat.1 \
                                         ${worksrcpath}/man/vnstatd.1 \
                                         ${worksrcpath}/man/vnstati.1
-    
+
     # fix occurrences of /etc/db references in other files
     reinplace "s|/etc|${prefix}/etc|g"  ${worksrcpath}/man/vnstat.1 \
                                         ${worksrcpath}/man/vnstat.conf.5 \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150813/3847c7a2/attachment.html>


More information about the macports-changes mailing list