# $Id: Portfile,v 1.8 2004/12/28 06:36:59 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-mhash
version			1.2
revision		1
categories		python devel security
maintainers		mww@opendarwin.org
platforms		darwin freebsd
description		python interface to the mhash library
long_description	${description}

homepage		http://mhash.sourceforge.net/
master_sites	sourceforge:mhash
distname		python-mhash-${version}
checksums		md5 b82467ec28cec6ca3258c06cc0ee3e88
patchfiles		patch-mhash.c.diff

depends_lib-append	lib:mhash:mhash

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

post-destroot	{
	xinstall -m 644 -W ${worksrcpath} AUTHORS LICENSE NEWS README \
		${destroot}${prefix}/share/doc/${name}
}
