Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
PortGroup python24 1.0

name py-clamav
version 0.3.2
categories python
platforms darwin
maintainers nomaintainer@macports.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
}