Ticket #16675: Portfile

File Portfile, 1.3 KB (added by mike-savory, 16 years ago)

First cut at portfile

Line 
1# $Id: Portfile 20751 2006-11-25 22:10:13Z markd@macports.org $
2
3PortSystem              1.0
4#PortGroup               python25 1.0
5
6set python.bin  ${prefix}/bin/python2.5
7
8name                    py25-libdnet
9version                 1.11
10categories              python net
11maintainers             chris.owen@consault.com
12description             A python module for the libdnet low-level networking library.
13long_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.
19homepage                http://libdnet.sourceforge.net/
20master_sites            sourceforge:libdnet
21distname                libdnet-${version}
22
23depends_lib           port:libdnet
24
25checksums               md5 04c394ed8e1e7fc455456e79e908916d \
26                        sha1 e2ae8c7f0ca95655ae9f77fd4a0e2235dc4716bf \
27                        rmd160 9a940cdd96af4b513a048f3a389e3f7eb0bb7011
28
29
30pre-destroot {
31        worksrcdir      ${worksrcdir}/python
32}
33destroot.cmd            ${python.bin} ./setup.py install
34destroot.destdir        --prefix=${prefix} --root=${destroot}