# $Id: Portfile 85682 2011-10-15 19:36:47Z ecronin@macports.org $

PortSystem 1.0

name             nemesis
version          1.4
categories       net security
license          BSD
maintainers      ecronin openmaintainer
description      Nemesis packet injection utility
long_description \
	Nemesis is a command-line network packet injection utility for \
	UNIX-like and Windows systems. You might think of it as an EZ-bake \
	packet oven or a manually controlled IP stack. With Nemesis, it is \
	possible to generate and transmit packets from the command line or \
	from within a shell script.
homepage         http://www.packetfactory.net/projects/nemesis/
platforms        darwin
master_sites     sourceforge
checksums        md5     acd7de57798a7f90f445f80d4d4a6e61 \
                 sha1    a88e04145e5f379da4d50a9acfeaf62da68aaf94 \
                 rmd160  b07abbdd7baf552a40056e549653b6fba1d1feca
depends_lib      port:libnet

patch {
	reinplace s|/sw|${prefix}| ${worksrcpath}/configure
}

configure.args   --mandir=${prefix}/share/man
