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

PortSystem 1.0
PortGroup python24 1.0

name			py-clamav
version			0.4.0
categories		python
platforms		darwin
maintainers		nomaintainer
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 3f734f6105f334f6ed3d8d5eee5007f2f6bfac01

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
}

