5ecc9b9295
- Bump PORTREVISION Following ports are marked as BROKEN since they don't build with new clamav 0.93: www/c-icap mail/claws-mail-clamav www/gurlchecker www/havp security/klamav devel/p5-Mail-ClamAV devel/py-clamav www/squidclam This clamav version needed to be updated without wait other ports fixes because it fixes important vulnerabilities.
43 lines
1 KiB
Makefile
43 lines
1 KiB
Makefile
# New ports collection makefile for: py-clamav
|
|
# Date created: 26 Dec 2004
|
|
# Whom: Marcus Alves Grando <mnag@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= clamav
|
|
PORTVERSION= 0.4.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= security python
|
|
MASTER_SITES= http://xael.org/norman/python/pyclamav/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= mnag@FreeBSD.org
|
|
COMMENT= A python binding to libclamav written in C
|
|
|
|
LIB_DEPENDS= clamav.4:${PORTSDIR}/security/clamav
|
|
|
|
DIST_SUBDIR= python
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= pyclamav
|
|
|
|
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
EXAMPLESDIR?= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
PORTDOCS= *
|
|
|
|
BROKEN= Doesn't build with clamav-0.93
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
|
.endif
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/example.py ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|