# $Id: Portfile 30249 2007-10-23 02:12:47Z jmpp@macports.org $

PortSystem 1.0

name			py-crack
version			0.5.1
categories		python
platforms		darwin
maintainers		nomaintainer
description		python interface to the cracklib password sanity library
long_description	${description}

homepage		http://www.nongnu.org/python-crack/
master_sites		http://download.savannah.gnu.org/releases/python-crack/
distname		python-crack-${version}
checksums		sha1 2bdb430472982340d57d0a8be69bcd03ea7f2a78
patchfiles		patch-_crack.c.in.diff patch-configure

depends_lib		port:python24 port:cracklib

configure.env	DEFAULT_DICTPATH=${prefix}/lib/cracklib/pw_dict

build.env	CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

destroot.args	PACKAGE=${name}
