From owner-svn-ports-head@FreeBSD.ORG Sat Feb 15 22:17:21 2014 Return-Path: Delivered-To: svn-ports-head@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 A5EA3DCC; Sat, 15 Feb 2014 22:17:21 +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 9114E1DE5; Sat, 15 Feb 2014 22:17:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1FMHLgv039658; Sat, 15 Feb 2014 22:17:21 GMT (envelope-from antoine@svn.freebsd.org) Received: (from antoine@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1FMHL7c039657; Sat, 15 Feb 2014 22:17:21 GMT (envelope-from antoine@svn.freebsd.org) Message-Id: <201402152217.s1FMHL7c039657@svn.freebsd.org> From: Antoine Brodin Date: Sat, 15 Feb 2014 22:17:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344491 - head/devel/py-usb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Feb 2014 22:17:21 -0000 Author: antoine Date: Sat Feb 15 22:17:21 2014 New Revision: 344491 URL: http://svnweb.freebsd.org/changeset/ports/344491 QAT: https://qat.redports.org/buildarchive/r344491/ Log: - Stage support - Use PYDISTUTILS_AUTOPLIST Deleted: head/devel/py-usb/pkg-plist Modified: head/devel/py-usb/Makefile Modified: head/devel/py-usb/Makefile ============================================================================== --- head/devel/py-usb/Makefile Sat Feb 15 22:10:22 2014 (r344490) +++ head/devel/py-usb/Makefile Sat Feb 15 22:17:21 2014 (r344491) @@ -14,20 +14,15 @@ COMMENT= Python wrapper around libusb USE_PYTHON= yes USE_PYDISTUTILS= yes -PYDISTUTILS_PKGNAME= py${PORTNAME} +PYDISTUTILS_AUTOPLIST= yes EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTEXAMPLES= * -NO_STAGE= yes - -OPTIONS_DEFINE= EXAMPLES - -.include +OPTIONS_DEFINE= EXAMPLES post-install: -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/samples/* ${EXAMPLESDIR} -.endif + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/samples/* ${STAGEDIR}${EXAMPLESDIR} .include