# $Id: Portfile,v 1.2 2004/12/30 15:29:19 mww Exp $

PortSystem 1.0

name			py-crack
version			0.5
revision		1
categories		python
platforms		darwin
maintainers		mww@opendarwin.org
description		python interface to the cracklib password sanity library
long_description	${description}

homepage		http://www.nongnu.org/python-crack/
master_sites	gnu:../savannah/files/python-crack/Stable.pkg/${version}/
distname		python-crack-${version}
checksums		md5 ac76cf42e1d2074305141194883bff15
patchfiles		patch-_crack.c.in.diff

depends_lib		path:${prefix}/bin/python2.4:python24 \
				lib:libcrack:cracklib

configure.env	DEFAULT_DICTPATH=${prefix}/lib/cracklib/pw_dict \
				CFLAGS=-I${prefix}/include \
				LDFLAGS=-L${prefix}/lib

build.env		${configure.env}

destroot.args	PACKAGE=${name}
