1 | # $Id: Portfile 20751 2006-11-25 22:10:13Z markd@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | #PortGroup python25 1.0 |
---|
5 | |
---|
6 | set python.bin ${prefix}/bin/python2.5 |
---|
7 | |
---|
8 | name py25-libdnet |
---|
9 | version 1.11 |
---|
10 | categories python net |
---|
11 | maintainers chris.owen@consault.com |
---|
12 | description A python module for the libdnet low-level networking library. |
---|
13 | long_description \ |
---|
14 | Libdnet provides a simplified, portable interface to several low-level \ |
---|
15 | networking routines, including: network address manipulation, kernel \ |
---|
16 | arp(4) cache and route(4) table lookup and manipulation, network \ |
---|
17 | firewalling (IP filter, ipfw, ipchains, pf, ...), network interface \ |
---|
18 | lookup and manipulation, raw IP packet and Ethernet frame transmission. |
---|
19 | homepage http://libdnet.sourceforge.net/ |
---|
20 | master_sites sourceforge:libdnet |
---|
21 | distname libdnet-${version} |
---|
22 | |
---|
23 | depends_lib port:libdnet |
---|
24 | |
---|
25 | checksums md5 04c394ed8e1e7fc455456e79e908916d \ |
---|
26 | sha1 e2ae8c7f0ca95655ae9f77fd4a0e2235dc4716bf \ |
---|
27 | rmd160 9a940cdd96af4b513a048f3a389e3f7eb0bb7011 |
---|
28 | |
---|
29 | |
---|
30 | pre-destroot { |
---|
31 | worksrcdir ${worksrcdir}/python |
---|
32 | } |
---|
33 | destroot.cmd ${python.bin} ./setup.py install |
---|
34 | destroot.destdir --prefix=${prefix} --root=${destroot} |
---|