[125470] trunk/dports/net/iftop/Portfile

ryandesign at macports.org ryandesign at macports.org
Thu Sep 18 04:05:45 PDT 2014


Revision: 125470
          https://trac.macports.org/changeset/125470
Author:   ryandesign at macports.org
Date:     2014-09-18 04:05:45 -0700 (Thu, 18 Sep 2014)
Log Message:
-----------
iftop: add modeline and adjust whitespace and formatting (#44984)

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

Modified: trunk/dports/net/iftop/Portfile
===================================================================
--- trunk/dports/net/iftop/Portfile	2014-09-18 10:59:57 UTC (rev 125469)
+++ trunk/dports/net/iftop/Portfile	2014-09-18 11:05:45 UTC (rev 125470)
@@ -1,28 +1,36 @@
+# -*- 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            iftop
-version         1.0
-distname        ${name}-${version}pre2
-categories      net
-maintainers     nomaintainer
-description     display bandwidth usage on an interface
-long_description        iftop does for network usage what top(1) does for CPU \
-			usage. It listens to network traffic on a named \
-			interface and displays a table of current bandwidth \
-			usage by pairs of hosts. Handy for answering the \
-			question \"why is our ADSL link so slow?\".
-homepage        http://www.ex-parrot.com/~pdw/iftop/
-master_sites    http://www.ex-parrot.com/~pdw/iftop/download/
-checksums       md5 fef521a49ec0122458d02c64212af3c5
-platforms       darwin
+name                iftop
+version             1.0
+distname            ${name}-${version}pre2
+categories          net
+platforms           darwin
+maintainers         nomaintainer
 
-depends_lib	port:libpcap port:ncurses
+description         display bandwidth usage on an interface
 
-configure.args	--with-libpcap=${prefix} \
-                --mandir=${prefix}/share/man
+long_description    iftop does for network usage what top(1) does for CPU \
+                    usage. It listens to network traffic on a named \
+                    interface and displays a table of current bandwidth \
+                    usage by pairs of hosts. Handy for answering the \
+                    question \"why is our ADSL link so slow?\".
 
-patchfiles	patch-configure.diff
+homepage            http://www.ex-parrot.com/~pdw/iftop/
+master_sites        http://www.ex-parrot.com/~pdw/iftop/download/
 
-post-patch	{ reinplace {s|@@PREFIX@@|${prefix}|} ${worksrcpath}/configure }
+checksums           md5     fef521a49ec0122458d02c64212af3c5
+
+depends_lib         port:libpcap \
+                    port:ncurses
+
+patchfiles          patch-configure.diff
+
+post-patch {
+    reinplace {s|@@PREFIX@@|${prefix}|} ${worksrcpath}/configure
+}
+
+configure.args      --with-libpcap=${prefix} \
+                    --mandir=${prefix}/share/man
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140918/5c36b48b/attachment.html>


More information about the macports-changes mailing list