# $FreeBSD: head/devel/py-usb/Makefile 399219 2015-10-13 20:36:18Z makc $ PORTNAME= usb PORTVERSION= 1.0.0b1 PORTREVISION= 1 CATEGORIES= devel python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sbz@FreeBSD.org COMMENT= Python wrapper around libusb LICENSE= BSD3CLAUSE USES= python USE_PYTHON= autoplist concurrent distutils USE_GITHUB= yes GH_ACCOUNT= walac GH_PROJECT= py${PORTNAME} GH_TAGNAME= 0546cad PORTDOCS= *.rst OPTIONS_DEFINE= DOCS do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR} regression-test: extract @(cd ${WRKSRC}/tests && ${PYTHON_CMD} testall.py) .include