# $Id: Portfile,v 1.3 2005/12/05 23:25:33 matt Exp $
PortSystem              1.0

set python.bin	${prefix}/bin/python2.4

name                    py-libdnet
version                 1.10
revision		1
categories              python net
maintainers             chris.owen@consault.com
description             A python module for the libdnet low-level networking library.
long_description        \
        Libdnet provides a simplified, portable interface to several low-level \
        networking routines, including: network address manipulation, kernel \
        arp(4) cache and route(4) table lookup and manipulation, network \
        firewalling (IP filter, ipfw, ipchains, pf, ...), network interface \
        lookup and manipulation, raw IP packet and Ethernet frame transmission.
homepage                http://libdnet.sourceforge.net/
master_sites            sourceforge:libdnet
distname                libdnet-${version}

depends_lib		port:python24 port:libdnet

checksums		md5 416b765e9d9961501ac85e9a366fd219 \
			sha1 1dd9594adb5a3af121960abd6960bcedfc815f37 \
			rmd160 167cf841b3fdd061ec8d6a56d53c341678ee5a9e


pre-destroot {
	worksrcdir	${worksrcdir}/python
}
destroot.cmd		${python.bin} setup.py
destroot.destdir	--prefix=${prefix} --root=${destroot}
