# $Id: Portfile,v 1.8 2006/06/23 18:55:35 mww Exp $

PortSystem 1.0
name            pwgen
version         1.15
revision        2
categories      sysutils
maintainers     darwinports@opendarwin.org
description     password generator
long_description 	This program spits out passwords which are virtually \
			guaranteed not to be found in the dictionary, but are \
			(usually) pronounceable to speakers of English.
homepage	http://www.tricknology.org/ports/
platforms	darwin
master_sites	${homepage}
checksums       md5 311724e3ce09155694191563be5543e9
patchfiles      patch-Makefile patch-pwgen.c
depends_lib	port:gnugetopt
worksrcdir	pwgen-1
pre-configure   {	reinplace "s|man/man1|share/man/man1|g" ${worksrcpath}/Makefile } 
configure 	{}
build.args      prefix=${prefix} CFLAGS="-I${prefix}/include/gnugetopt -O3"
destroot.args   prefix=${prefix}
