source: trunk/dports/net/bittwist/Portfile

Last change on this file was 120978, checked in by mf2k@…, 3 years ago

arpwatch bittwist corkscrew dnstop hping3 libssh2 medusa tcpreplay varnish xprobe2 zzuf: New maintainer. (#44002)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 120978 2014-06-13 15:32:52Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                bittwist
6categories          net security
7version             1.1
8platforms           darwin
9maintainers         wohner.eu:normen
10
11description         Simple yet powerful libpcap-based Ethernet packet generator.
12long_description    \
13    Bit-Twist is a simple yet powerful libpcap-based Ethernet packet generator. \
14    It is designed to compliment tcpdump, which by itself has done a great job \
15    in capturing network traffic. With Bit-Twist, you can now regenerate the \
16    captured traffic onto a live network! Packets are generated from tcpdump \
17    trace file (.pcap file). Bit-Twist also comes with a comprehensive trace \
18    file editor to allow you to change the contents of a trace file.
19
20homepage            http://bittwist.sourceforge.net
21master_sites        sourceforge
22distname            ${name}-bsd-${version}
23checksums           md5 10b5e7e13fe009bad6d7d100c60a600a \
24                    sha1 fbf749190146ab3aded38b38017605171c6c5062
25
26depends_lib         port:libpcap
27worksrcdir          ${name}-${version}
28
29livecheck.type      regex
30livecheck.url       ${homepage}
31livecheck.regex     bittwist-bsd-(.*?)${extract.suffix}
32
33configure {
34    reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/Makefile
35}
36
37build.env           CFLAGS="${configure.cflags} -D__BSD_VISIBLE"
38
39destroot {
40    xinstall -m 755 -W ${worksrcpath}/src bittwist bittwistb bittwiste \
41        ${destroot}${prefix}/bin
42    xinstall -m 644 -W ${worksrcpath}/doc bittwist.1 bittwistb.1 bittwiste.1 \
43        ${destroot}${prefix}/share/man/man1
44}
Note: See TracBrowser for help on using the repository browser.