svn commit: r337964 - head/security/py-clamav
William Grzybowski
wg at FreeBSD.org
Sun Dec 29 11:42:31 UTC 2013
Author: wg
Date: Sun Dec 29 11:42:31 2013
New Revision: 337964
URL: http://svnweb.freebsd.org/changeset/ports/337964
Log:
security/py-clamav: support staging and minor changes
Deleted:
head/security/py-clamav/pkg-plist
Modified:
head/security/py-clamav/Makefile
Modified: head/security/py-clamav/Makefile
==============================================================================
--- head/security/py-clamav/Makefile Sun Dec 29 11:41:17 2013 (r337963)
+++ head/security/py-clamav/Makefile Sun Dec 29 11:42:31 2013 (r337964)
@@ -10,29 +10,26 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= ports at 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>
More information about the svn-ports-head
mailing list