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

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 1.4 KB
1# $Id: Portfile,v 1.7 2003/08/05 09:29:27 jkh Exp $
3PortSystem 1.0
4name            tcptrace
5version         6.2.0
6revision        0
7categories      net
9description     A TCP dump file analysis tool
10long_description        \
11        tcptrace a TCP dump file analysis tool written by Shawn Ostermann at \
12        Ohio University. It is NOT a packet capture program. It reads output \
13        dump files in the formats of several popular packet capturing \
14        programs: tcpdump, snoop, etherpeek, and netm.  It can also output \
15        (ie, convert thus converting to) tcpdump format files.
17platforms       darwin
19checksums       md5 565c370620e5f058bc9a3607b8634a3d
20depends_lib     lib:libpcap:libpcap
21post-configure {
22        set path "${worksrcpath}"
23        reinplace "s|PCAP_INCS    = -I/usr/local/include -I. -I../pcap -I/usr/include/pcap| \
24                PCAP_INCS    = -I/usr/include -I${prefix}/include|g" "${path}/Makefile"
25        reinplace "s|PCAP_LDFLAGS = -L/usr/local/lib -Llib -Lpcap -L../pcap -L./cygwin-libs| \
26                PCAP_LDFLAGS = -I/usr/lib -I${prefix}/lib|g" "${path}/Makefile"
28destroot {
29        file mkdir ${destroot}${prefix}/bin
30        system "install -m 755 ${worksrcpath}/tcptrace ${destroot}${prefix}/bin/"
31        file mkdir ${destroot}${prefix}/man/man1
32        system "install -m 644 ${worksrcpath}/ ${destroot}${prefix}/man/man1/tcptrace.1"
Note: See TracBrowser for help on using the repository browser.