source: trunk/dports/net/tcptrace/Portfile

Last change on this file was 134318, checked in by ionic@…, 3 years ago

Mass-update: add modeline where appropriate, change binary install permissions to 755. Fixes: #47229.

Affects:

mp3_check
iozone
nbench-byte
cvsdiff2patch
cursive
geekcode
ski
vms-empire
wtf
thirdeye
jikespg
aget
ddclient
ipsvd
mudix
nsping
rabbitmq-server
tcptrace
tnftpd
ksh93
buffer
dtach
keychain
chmdump
rfcdiff
webredirect
abclock

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1# -*- 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
2# $Id: Portfile 134318 2015-03-22 06:42:51Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tcptrace
7version             6.6.7
8revision            1
9categories          net
10platforms           darwin
11license             GPL
12
13maintainers         nomaintainer
14
15description         A TCP dump file analysis tool
16
17long_description \
18    tcptrace a TCP dump file analysis tool written by Shawn Ostermann at \
19    Ohio University. It is NOT a packet capture program. It reads output \
20    dump files in the formats of several popular packet capturing \
21    programs: tcpdump, snoop, etherpeek, and netm.  It can also output \
22    (ie, convert thus converting to) tcpdump format files.
23
24homepage            http://tcptrace.org
25master_sites        http://tcptrace.org/download.html
26
27checksums           rmd160  1dd0f373f766322343ffad59d0655eba4c6682e0 \
28                    sha256  63380a4051933ca08979476a9dfc6f959308bc9f60d45255202e388eb56910bd
29
30depends_lib         lib:libpcap:libpcap
31
32post-configure {
33    set path "${worksrcpath}"
34    reinplace "s|PCAP_INCS    = -I/usr/local/include -I. -I../pcap -I/usr/include/pcap|PCAP_INCS    = -I${prefix}/include|" "${path}/Makefile"
35    reinplace "s|PCAP_LDFLAGS = -L/usr/local/lib -Llib -Lpcap -L../pcap -L./cygwin-libs|PCAP_LDFLAGS = -L${prefix}/lib|" "${path}/Makefile"
36}
37
38destroot {
39    file mkdir ${destroot}${prefix}/bin
40    foreach f {tcptrace xpl2gpl} {
41        xinstall -m 755 ${worksrcpath}/$f ${destroot}${prefix}/bin/
42    }
43    file mkdir ${destroot}${prefix}/share/man/man1
44    xinstall -m 444 ${worksrcpath}/tcptrace.man ${destroot}${prefix}/share/man/man1/tcptrace.1
45    file mkdir ${destroot}${prefix}/share/doc/tcptrace
46    foreach f {ARGS COPYING COPYRIGHT README README.mailing_list
47        README.modules README.pcap README.tline_graphs
48        README.tput_graphs README.version README.xpl2gpl
49        THANKS WWW} {
50        xinstall -m 444 ${worksrcpath}/$f ${destroot}${prefix}/share/doc/tcptrace/
51    }
52}
53
54livecheck.type      regex
55livecheck.url       ${master_sites}
56livecheck.regex     {tcptrace-(\d+(?:\.\d+)*)\.[tz]}
Note: See TracBrowser for help on using the repository browser.