aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-12-29 11:42:31 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-12-29 11:42:31 +0000
commit2161d1b9bc8f21a69aeb0b7c7fd737b437de06aa (patch)
treeb65b6ef8023d813db14b9e91d75dc1ad55fe1300
parent144ffdc527662eea37e215eb60ef8802d8e069ca (diff)
downloadports-2161d1b9bc8f21a69aeb0b7c7fd737b437de06aa.tar.gz
ports-2161d1b9bc8f21a69aeb0b7c7fd737b437de06aa.zip
Notes
-rw-r--r--security/py-clamav/Makefile19
-rw-r--r--security/py-clamav/pkg-plist3
2 files changed, 8 insertions, 14 deletions
diff --git a/security/py-clamav/Makefile b/security/py-clamav/Makefile
index b08b32b4b8e5..ff715a3abafe 100644
--- a/security/py-clamav/Makefile
+++ b/security/py-clamav/Makefile
@@ -10,29 +10,26 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= A python binding to libclamav written in C
+COMMENT= Python binding to libclamav written in C
-LIB_DEPENDS= clamav.7:${PORTSDIR}/security/clamav
+LIB_DEPENDS= libclamav.so:${PORTSDIR}/security/clamav
DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
-PYDISTUTILS_PKGNAME= pyclamav
-
+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= *
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.txt ${DOCSDIR}
-.endif
- @${MKDIR} ${EXAMPLESDIR}
- ${INSTALL_DATA} ${WRKSRC}/example.py ${EXAMPLESDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/security/py-clamav/pkg-plist b/security/py-clamav/pkg-plist
deleted file mode 100644
index 4ce4d1a8fa8c..000000000000
--- a/security/py-clamav/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-%%PYTHON_SITELIBDIR%%/pyclamav.so
-%%EXAMPLESDIR%%/example.py
-@dirrm %%EXAMPLESDIR%%