diff options
-rw-r--r-- | security/py-clamav/Makefile | 29 | ||||
-rw-r--r-- | security/py-clamav/distinfo | 6 | ||||
-rw-r--r-- | security/py-clamav/pkg-plist | 2 |
3 files changed, 17 insertions, 20 deletions
diff --git a/security/py-clamav/Makefile b/security/py-clamav/Makefile index 3aa41e242ae2..81ce72ff4e99 100644 --- a/security/py-clamav/Makefile +++ b/security/py-clamav/Makefile @@ -5,31 +5,28 @@ # $FreeBSD$ # -PORTNAME= clamav -PORTVERSION= 0.3.1 -CATEGORIES= security python -MASTER_SITES= http://xael.org/norman/python/pyclamav/ -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -DISTNAME= py${PORTNAME}-${PORTVERSION} +PORTNAME= clamav +PORTVERSION= 0.3.2 +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 +MAINTAINER= mnag@FreeBSD.org +COMMENT= A python binding to libclamav written in C -LIB_DEPENDS= clamav.1:${PORTSDIR}/security/clamav +LIB_DEPENDS= clamav.1:${PORTSDIR}/security/clamav -DIST_SUBDIR= python -USE_PYTHON= yes +DIST_SUBDIR= python +USE_PYTHON= yes USE_PYDISTUTILS= yes -USE_REINPLACE= yes PYDISTUTILS_BUILDARGS= build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib -DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME} -EXAMPLESDIR?= ${PREFIX}/share/examples/py-${PORTNAME} +DOCSDIR?= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR?= ${PREFIX}/share/examples/py-${PORTNAME} -.if !defined(NOPORTDOCS) PORTDOCS= * -.endif post-patch: @${REINPLACE_CMD} -e 's|stat64|stat|g' ${WRKSRC}/pyclamav.c diff --git a/security/py-clamav/distinfo b/security/py-clamav/distinfo index 1c86d081a8db..643e527a3e4c 100644 --- a/security/py-clamav/distinfo +++ b/security/py-clamav/distinfo @@ -1,3 +1,3 @@ -MD5 (python/pyclamav-0.3.1.tar.gz) = cf8e0e7850c417c76134cb4b11856e2c -SHA256 (python/pyclamav-0.3.1.tar.gz) = 54b9dd0a07cd33eb31a473ce09fb0fe35f76deddc436bdf8d24fba556aa4bfbd -SIZE (python/pyclamav-0.3.1.tar.gz) = 12678 +MD5 (python/pyclamav-0.3.2.tar.gz) = 7ba6dbbcd9cf745241d5740c844b197f +SHA256 (python/pyclamav-0.3.2.tar.gz) = f418db5805297de3c6d8b0967c4dde8ddef86a03a7d45cf875ce1a723b836449 +SIZE (python/pyclamav-0.3.2.tar.gz) = 12778 diff --git a/security/py-clamav/pkg-plist b/security/py-clamav/pkg-plist index 9ba94623498a..4ce4d1a8fa8c 100644 --- a/security/py-clamav/pkg-plist +++ b/security/py-clamav/pkg-plist @@ -1,3 +1,3 @@ %%PYTHON_SITELIBDIR%%/pyclamav.so -share/examples/py-clamav/example.py +%%EXAMPLESDIR%%/example.py @dirrm %%EXAMPLESDIR%% |