source: trunk/dports/net/libnet/Portfile

Last change on this file was 135115, checked in by ryandesign@…, 3 years ago

libnet: libtool is a build dependency only

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
1# $Id: Portfile 135115 2015-04-15 19:49:04Z $
3PortSystem 1.0
5name            libnet
6conflicts       libnet11
7version         1.0.2a
8revision        4
9categories      net
10license         BSD
12description     A C library for creating IP packets
13long_description        \
14        libnet is a high-level API (toolkit) allowing the application \
15        programmer to construct and inject network packets. It provides a \
16        portable and simplified interface for low-level network packet \
17        shaping, handling and injection. Libnet hides much of the tedium of \
18        packet creation from the application programmer such as \
19        multiplexing, buffer management, arcane packet header information, \
20        byte-ordering, OS-dependent issues, and much more. Libnet features \
21        portable packet creation interfaces at the IP layer and link layer, \
22        as well as a host of supplementary and complementary functionality. \
23        Using libnet, quick and simple packet assembly applications can be \
24        whipped up with little effort. With a bit more time, more complex \
25        programs can be written (Traceroute and ping were easily rewritten \
26        using libnet and libpcap).
28platforms       darwin
30checksums       md5 ddf53f0f484184390e8c2a1bd0853667
31patchfiles      patch-Makefile patch-include-libnet.h \
32                patch-include__libnet__libnet-headers.h \
33                patch-configure
34worksrcdir      Libnet-${version}
36platform darwin {
37        depends_build-append port:libtool
38        pre-configure {
39                xinstall -m 644 -W ${prefix}/share/libtool/build-aux config.guess config.sub ${worksrcpath}
40        }
Note: See TracBrowser for help on using the repository browser.