Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 22:17:21 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344491 - head/devel/py-usb
Message-ID:  <201402152217.s1FMHL7c039657@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk>
+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 <bsd.port.mk>



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