# $Id: Portfile,v 1.4 2006/02/08 08:11:46 mww Exp $

PortSystem 1.0
PortGroup python24 1.0

name			py-clamav
version			0.3.2
categories		python
platforms		darwin
maintainers		mww@opendarwin.org
description		python interface to the clamav antivirus
long_description	${description}

homepage		http://norman.free.fr/norman/python/pyclamav/
master_sites	${homepage}
distname		pyclamav-${version}
checksums		sha1 6f00bb4e2e051f09a61bd132db387b28df2c318d

depends_lib-append	port:clamav

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

post-destroot	{
	xinstall -m 644 ${worksrcpath}/README.txt \
		${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 ${worksrcpath}/example.py \
		${destroot}${prefix}/share/doc/${name}/examples
}

