svn commit: r344491 - head/devel/py-usb
Antoine Brodin
antoine at FreeBSD.org
Sat Feb 15 22:17:21 UTC 2014
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>
More information about the svn-ports-all
mailing list