2005-01-08 17:28:39 +00:00
|
|
|
# New ports collection makefile for: py-clamav
|
|
|
|
# Date created: 26 Dec 2004
|
|
|
|
# Whom: Marcus Grando <marcus@corp.grupos.com.br>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= clamav
|
2005-01-13 16:10:42 +00:00
|
|
|
PORTVERSION= 0.2.2
|
2005-01-08 17:28:39 +00:00
|
|
|
CATEGORIES= security python
|
|
|
|
MASTER_SITES= http://norman.free.fr/norman/python/pyclamav/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= marcus@corp.grupos.com.br
|
|
|
|
COMMENT= A python binding to libclamav written in C
|
|
|
|
|
|
|
|
LIB_DEPENDS= clamav.1:${PORTSDIR}/security/clamav
|
|
|
|
|
|
|
|
DIST_SUBDIR= python
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
|
|
|
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
PORTDOCS= *
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|