diff options
author | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-07-19 19:22:50 +0000 |
---|---|---|
committer | Roman Bogorodskiy <novel@FreeBSD.org> | 2005-07-19 19:22:50 +0000 |
commit | b64179da64b45b2562545f8b316120c87c4be4b8 (patch) | |
tree | b9a7f077d84a587abf0a845ab2d73e7e1fd81c32 /security | |
parent | ed4e617768ca1be557409e17af1061aafe90d63e (diff) | |
download | ports-b64179da64b45b2562545f8b316120c87c4be4b8.tar.gz ports-b64179da64b45b2562545f8b316120c87c4be4b8.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/py-clamav/Makefile | 11 | ||||
-rw-r--r-- | security/py-clamav/distinfo | 4 | ||||
-rw-r--r-- | security/py-clamav/pkg-descr | 2 | ||||
-rw-r--r-- | security/py-clamav/pkg-plist | 4 |
4 files changed, 15 insertions, 6 deletions
diff --git a/security/py-clamav/Makefile b/security/py-clamav/Makefile index 788881e86b1e..c01dcb1b6794 100644 --- a/security/py-clamav/Makefile +++ b/security/py-clamav/Makefile @@ -6,9 +6,9 @@ # PORTNAME= clamav -PORTVERSION= 0.2.2 +PORTVERSION= 0.3.1 CATEGORIES= security python -MASTER_SITES= http://norman.free.fr/norman/python/pyclamav/ +MASTER_SITES= http://xael.org/norman/python/pyclamav/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= py${PORTNAME}-${PORTVERSION} @@ -20,19 +20,26 @@ LIB_DEPENDS= clamav.1:${PORTSDIR}/security/clamav 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} .if !defined(NOPORTDOCS) PORTDOCS= * .endif +post-patch: + @${REINPLACE_CMD} -e 's|stat64|stat|g' ${WRKSRC}/pyclamav.c + 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> diff --git a/security/py-clamav/distinfo b/security/py-clamav/distinfo index 7c7851cd6ad5..21a3ae4f2bf9 100644 --- a/security/py-clamav/distinfo +++ b/security/py-clamav/distinfo @@ -1,2 +1,2 @@ -MD5 (python/pyclamav-0.2.2.tar.gz) = 0b274b73f71b8e4481c8fb30fd1c2bb2 -SIZE (python/pyclamav-0.2.2.tar.gz) = 10736 +MD5 (python/pyclamav-0.3.1.tar.gz) = cf8e0e7850c417c76134cb4b11856e2c +SIZE (python/pyclamav-0.3.1.tar.gz) = 12678 diff --git a/security/py-clamav/pkg-descr b/security/py-clamav/pkg-descr index 3b1f3beb80c8..41da534b18c8 100644 --- a/security/py-clamav/pkg-descr +++ b/security/py-clamav/pkg-descr @@ -5,6 +5,6 @@ By using pyClamAV, you can add virus detection capabilities to your python software in an efficient and easy way. -WWW: http://norman.free.fr/norman/python/pyclamav/ +WWW: http://xael.org/norman/python/pyclamav/ Marcus Grando <marcus@corp.grupos.com.br> diff --git a/security/py-clamav/pkg-plist b/security/py-clamav/pkg-plist index e19bff8bfcad..9ba94623498a 100644 --- a/security/py-clamav/pkg-plist +++ b/security/py-clamav/pkg-plist @@ -1 +1,3 @@ -lib/%%PYTHON_VERSION%%/site-packages/pyclamav.so +%%PYTHON_SITELIBDIR%%/pyclamav.so +share/examples/py-clamav/example.py +@dirrm %%EXAMPLESDIR%% |