[117836] trunk/dports/net/tcptrace/Portfile

stromnov at macports.org stromnov at macports.org
Fri Mar 14 12:10:25 PDT 2014


Revision: 117836
          https://trac.macports.org/changeset/117836
Author:   stromnov at macports.org
Date:     2014-03-14 12:10:25 -0700 (Fri, 14 Mar 2014)
Log Message:
-----------
tcptrace: fix formatting, add license

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

Modified: trunk/dports/net/tcptrace/Portfile
===================================================================
--- trunk/dports/net/tcptrace/Portfile	2014-03-14 16:26:37 UTC (rev 117835)
+++ trunk/dports/net/tcptrace/Portfile	2014-03-14 19:10:25 UTC (rev 117836)
@@ -1,26 +1,33 @@
+# -*- 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             tcptrace
-version          6.6.7
-categories       net
-maintainers      nomaintainer
-description      A TCP dump file analysis tool
+name                tcptrace
+version             6.6.7
+categories          net
+platforms           darwin
+license             GPL
+
+maintainers         nomaintainer
+
+description         A TCP dump file analysis tool
+
 long_description \
     tcptrace a TCP dump file analysis tool written by Shawn Ostermann at \
     Ohio University. It is NOT a packet capture program. It reads output \
     dump files in the formats of several popular packet capturing \
     programs: tcpdump, snoop, etherpeek, and netm.  It can also output \
     (ie, convert thus converting to) tcpdump format files.
-homepage         http://tcptrace.org/
-platforms        darwin
-master_sites     ${homepage}download/
-checksums        md5     68128dc1817b866475e2f048e158f5b9 \
-                 sha1    ae4d10a0829c57f2eda17e63f593e558f52b7f24 \
-                 rmd160  1dd0f373f766322343ffad59d0655eba4c6682e0
-depends_lib      lib:libpcap:libpcap
 
+homepage            http://tcptrace.org
+master_sites        http://tcptrace.org/download.html
+
+checksums           rmd160  1dd0f373f766322343ffad59d0655eba4c6682e0 \
+                    sha256  63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd
+
+depends_lib         lib:libpcap:libpcap
+
 post-configure {
     set path "${worksrcpath}"
     reinplace "s|PCAP_INCS    = -I/usr/local/include -I. -I../pcap -I/usr/include/pcap|PCAP_INCS    = -I${prefix}/include|" "${path}/Makefile"
@@ -30,15 +37,19 @@
 destroot {
     file mkdir ${destroot}${prefix}/bin
     foreach f {tcptrace xpl2gpl} {
-	xinstall -m 555 ${worksrcpath}/$f ${destroot}${prefix}/bin/
+        xinstall -m 555 ${worksrcpath}/$f ${destroot}${prefix}/bin/
     }
     file mkdir ${destroot}${prefix}/share/man/man1
     xinstall -m 444 ${worksrcpath}/tcptrace.man ${destroot}${prefix}/share/man/man1/tcptrace.1
     file mkdir ${destroot}${prefix}/share/doc/tcptrace
     foreach f {ARGS COPYING COPYRIGHT README README.mailing_list
-		README.modules README.pcap README.tline_graphs
-		README.tput_graphs README.version README.xpl2gpl
-		THANKS WWW} {
-	xinstall -m 444 ${worksrcpath}/$f ${destroot}${prefix}/share/doc/tcptrace/
+        README.modules README.pcap README.tline_graphs
+        README.tput_graphs README.version README.xpl2gpl
+        THANKS WWW} {
+        xinstall -m 444 ${worksrcpath}/$f ${destroot}${prefix}/share/doc/tcptrace/
     }
 }
+
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     {tcptrace-(\d+(?:\.\d+)*)\.[tz]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140314/9e760e01/attachment.html>


More information about the macports-changes mailing list