source: trunk/dports/net/tcptrace/Portfile @ 4518

Last change on this file since 4518 was 4518, checked in by toby, 17 years ago

Version bump to 6.6.1. Looking into ${prefix} for pcap first. Also, changed bin permissions to 555 and man permissions to 444.

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.8 2004/01/08 05:34:38 toby Exp $
2
3PortSystem       1.0
4name             tcptrace
5version          6.6.1
6categories       net
7maintainers      jpm@opendarwin.org
8description      A TCP dump file analysis tool
9long_description \
10    tcptrace a TCP dump file analysis tool written by Shawn Ostermann at \
11    Ohio University. It is NOT a packet capture program. It reads output \
12    dump files in the formats of several popular packet capturing \
13    programs: tcpdump, snoop, etherpeek, and netm.  It can also output \
14    (ie, convert thus converting to) tcpdump format files.
15homepage         http://irg.cs.ohiou.edu/software/tcptrace/
16platforms        darwin
17master_sites     http://irg.cs.ohiou.edu/software/tcptrace/download/
18checksums        md5 812e0811a8d470c380c6b30277ac8bc4
19depends_lib      lib:libpcap:libpcap
20
21post-configure {
22    set path "${worksrcpath}"
23    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"
24    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"
25}
26
27destroot {
28    file mkdir ${destroot}${prefix}/bin
29    system "install -m 555 ${worksrcpath}/tcptrace ${destroot}${prefix}/bin/tcptrace"
30    file mkdir ${destroot}${prefix}/man/man1
31    system "install -m 444 ${worksrcpath}/tcptrace.man ${destroot}${prefix}/share/man/man1/tcptrace.1"
32}
Note: See TracBrowser for help on using the repository browser.