1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Updated the port to version 0.2.2 + small cleanup

PR:		ports/76186
Submitted by:	maintainer
Approved by:	nectar (mentor)
This commit is contained in:
Niels Heinen 2005-01-13 16:10:42 +00:00
parent 0436ff41ee
commit 5cd604ab4f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=126320
3 changed files with 3 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= clamav
PORTVERSION= 0.2.1
PORTVERSION= 0.2.2
CATEGORIES= security python
MASTER_SITES= http://norman.free.fr/norman/python/pyclamav/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -24,21 +24,15 @@ USE_PYDISTUTILS= 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= *
PLIST_SUB+= EXAMPLES=""
.else
PLIST_SUB+= EXAMPLES="@comment "
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/example.py ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
MD5 (python/pyclamav-0.2.1.tar.gz) = d802d2e9076bd1e17023dc8276083fd3
SIZE (python/pyclamav-0.2.1.tar.gz) = 10813
MD5 (python/pyclamav-0.2.2.tar.gz) = 0b274b73f71b8e4481c8fb30fd1c2bb2
SIZE (python/pyclamav-0.2.2.tar.gz) = 10736

View File

@ -1,3 +1 @@
lib/%%PYTHON_VERSION%%/site-packages/pyclamav.so
%%EXAMPLES%%%%EXAMPLESDIR%%/example.py
%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%