forked from Lainports/freebsd-ports
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:
parent
0436ff41ee
commit
5cd604ab4f
3 changed files with 3 additions and 11 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,3 +1 @@
|
|||
lib/%%PYTHON_VERSION%%/site-packages/pyclamav.so
|
||||
%%EXAMPLES%%%%EXAMPLESDIR%%/example.py
|
||||
%%EXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue