mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
34 lines
659 B
Makefile
34 lines
659 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= usb
|
|
PORTVERSION= 1.0.2
|
|
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= pyusb
|
|
GH_PROJECT= py${PORTNAME}
|
|
GH_TAGNAME= 47ca9c3
|
|
|
|
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}
|
|
|
|
test: extract
|
|
@(cd ${WRKSRC}/tests && ${PYTHON_CMD} testall.py)
|
|
|
|
.include <bsd.port.mk>
|