Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 11:42:31 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337964 - head/security/py-clamav
Message-ID:  <201312291142.rBTBgVRC003936@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291142.rBTBgVRC003936>