# $Id: Portfile,v 1.1 2005/09/29 14:27:08 mww Exp $

PortSystem 1.0

name            dwepcrack
version         0.4
categories      security
maintainers     d.milea@gmail.com
platforms	darwin
description     WEP encryption security tool
long_description        dwepcrack is a wep cracking application built \
                        for all forms of attacks on wep encrypted 802.11b networks. \
                        It implements a few different techniques into one package \
                        that allows you to fully test a wep encrypted network \
                        with all of the available methods currently available.

homepage	http://www.dachb0den.com/projects/
master_sites	http://www.unix-labs.org/pub/source/dwepcrack/
use_configure	no
checksums       md5 8df45e2ba4a86a5d84cb96e54f17cc05
depends_lib		port:openssl port:libpcap
build.args	CFLAGS=-I${prefix}/include LDFLAGS="-L${prefix}/lib -lpcap -lcrypto"
destroot {
	xinstall -m 755 -d ${destroot}${prefix}/bin \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 755 ${worksrcpath}/dwepcrack ${destroot}${prefix}/bin
	xinstall -m 644 -W ${worksrcpath} LICENSE README \
		${destroot}${prefix}/share/doc/${name}
}
