From owner-svn-ports-all@FreeBSD.ORG Sun Dec 29 11:42:31 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D219FCE9; Sun, 29 Dec 2013 11:42:31 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B89DB1E52; Sun, 29 Dec 2013 11:42:31 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rBTBgVaZ003937; Sun, 29 Dec 2013 11:42:31 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rBTBgVRC003936; Sun, 29 Dec 2013 11:42:31 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201312291142.rBTBgVRC003936@svn.freebsd.org> From: William Grzybowski Date: Sun, 29 Dec 2013 11:42:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r337964 - head/security/py-clamav X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Dec 2013 11:42:31 -0000 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