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

fenner at macports.org fenner at macports.org
Thu Apr 17 22:56:37 PDT 2008


Revision: 36107
          http://trac.macosforge.org/projects/macports/changeset/36107
Author:   fenner at macports.org
Date:     2008-04-17 22:56:36 -0700 (Thu, 17 Apr 2008)

Log Message:
-----------
Upgrade to 6.6.7, and install documentation and xpl2gpl

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

Modified: trunk/dports/net/tcptrace/Portfile
===================================================================
--- trunk/dports/net/tcptrace/Portfile	2008-04-18 05:40:50 UTC (rev 36106)
+++ trunk/dports/net/tcptrace/Portfile	2008-04-18 05:56:36 UTC (rev 36107)
@@ -1,9 +1,9 @@
 # $Id$
 
 PortSystem       1.0
+
 name             tcptrace
-version          6.6.1
-revision	1
+version          6.6.7
 categories       net
 maintainers      fenner at macports.org
 description      A TCP dump file analysis tool
@@ -13,21 +13,32 @@
     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://irg.cs.ohiou.edu/software/tcptrace/
+homepage         http://tcptrace.org/
 platforms        darwin
 master_sites     ${homepage}download/
-checksums        md5 812e0811a8d470c380c6b30277ac8bc4
+checksums        md5     68128dc1817b866475e2f048e158f5b9 \
+                 sha1    ae4d10a0829c57f2eda17e63f593e558f52b7f24 \
+                 rmd160  1dd0f373f766322343ffad59d0655eba4c6682e0
 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 -I/usr/include|" "${path}/Makefile"
-    reinplace "s|PCAP_LDFLAGS = -L/usr/local/lib -Llib -Lpcap -L../pcap -L./cygwin-libs|PCAP_LDFLAGS = -I${prefix}/lib -I/usr/lib|" "${path}/Makefile"
+    reinplace "s|PCAP_INCS    = -I/usr/local/include -I. -I../pcap -I/usr/include/pcap|PCAP_INCS    = -I${prefix}/include|" "${path}/Makefile"
+    reinplace "s|PCAP_LDFLAGS = -L/usr/local/lib -Llib -Lpcap -L../pcap -L./cygwin-libs|PCAP_LDFLAGS = -L${prefix}/lib|" "${path}/Makefile"
 }
 
 destroot {
     file mkdir ${destroot}${prefix}/bin
-    system "install -m 555 ${worksrcpath}/tcptrace ${destroot}${prefix}/bin/tcptrace"
+    foreach f {tcptrace xpl2gpl} {
+	xinstall -m 555 ${worksrcpath}/$f ${destroot}${prefix}/bin/
+    }
     file mkdir ${destroot}${prefix}/share/man/man1
-    system "install -m 444 ${worksrcpath}/tcptrace.man ${destroot}${prefix}/share/man/man1/tcptrace.1"
+    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/
+    }
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080417/ba3055f7/attachment-0001.html


More information about the macports-changes mailing list