Portfile

# $Id: Portfile 20461 2006-11-03 15:14:39Z blair@macports.org $

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}
}