source: trunk/dports/net/libnet/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4
5name            libnet
6version         1.0.2a
7revision        4
8categories      net
9maintainers     geovedi.com:jim
10description     A C library for creating IP packets
11long_description        \
12        libnet is a high-level API (toolkit) allowing the application \
13        programmer to construct and inject network packets. It provides a \
14        portable and simplified interface for low-level network packet \
15        shaping, handling and injection. Libnet hides much of the tedium of \
16        packet creation from the application programmer such as \
17        multiplexing, buffer management, arcane packet header information, \
18        byte-ordering, OS-dependent issues, and much more. Libnet features \
19        portable packet creation interfaces at the IP layer and link layer, \
20        as well as a host of supplementary and complementary functionality. \
21        Using libnet, quick and simple packet assembly applications can be \
22        whipped up with little effort. With a bit more time, more complex \
23        programs can be written (Traceroute and ping were easily rewritten \
24        using libnet and libpcap).
25homepage        http://www.packetfactory.net/libnet/
26platforms       darwin
27master_sites    http://www.packetfactory.net/libnet/dist/deprecated/
28checksums       md5 ddf53f0f484184390e8c2a1bd0853667
29patchfiles      patch-Makefile patch-include-libnet.h
30worksrcdir      Libnet-${version}
31post-configure  { reinplace "s|\$\{prefix\}/man|\$\{prefix\}/share/man|g" ${worksrcpath}/Makefile }
32
33platform darwin {
34        depends_lib-append port:libtool
35        pre-configure {
36                if {[file exists ${prefix}/share/libtool/config/config.guess]} {
37                        copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
38                } else {
39                        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
40                }
41        }
42}
43
44platform darwin 8 {
45        patchfiles-append patch-include__libnet__libnet-headers.h
46}
47platform darwin 9 {
48        patchfiles-append patch-include__libnet__libnet-headers.h
49}
Note: See TracBrowser for help on using the repository browser.