mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
44a6f9affb
. Drop .la files . Since lib version was downgraded, bump portrevision on ports that depends of clamav . Fix REQUIRE names on rc.d scripts
36 lines
936 B
Makefile
36 lines
936 B
Makefile
# Created by: Marcus Alves Grando <mnag@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= clamav
|
|
PORTVERSION= 0.4.1
|
|
PORTREVISION= 4
|
|
CATEGORIES= security python
|
|
MASTER_SITES= http://xael.org/norman/python/pyclamav/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Python binding to libclamav written in C
|
|
|
|
LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav
|
|
|
|
DIST_SUBDIR= python
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib
|
|
|
|
DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
EXAMPLESDIR?= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|