freebsd-ports/security/py-clamav/Makefile
Renato Botelho 37c88c8e12 - Update security/clamav to 0.94 [1] and fix a remote DoS [2]
- Chase libclamav version bump on all dependant ports
- Bump necessary PORTREVISIONS
- Fix some BROKEN messages from ports that were already broken with clamav-0.93
- Mark security/klamav as BROKEN since it doesn't build with clamav-0.94

PR:		ports/127122 [1], ports/127310 [2]
Submitted by:	Gary Palmer <freebsd-gnats@in-addr.com> [1], delphij [2]
Approved by:	portmgr (pav)
2008-09-15 19:56:38 +00:00

41 lines
989 B
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.1
PORTREVISION= 1
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.5:${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= *
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>