freebsd-ports/devel/py-usb/Makefile
Mathieu Arnold 77f8276a88 Github cleanup.
- Use the version tag instead of commit hash when they're the same.
- Remove unnneeded variables.
- Simplify go- ports when possible.
- Various fixes.

Sponsored by:	Absolight
2016-06-01 13:15:36 +00:00

33 lines
668 B
Makefile

# $FreeBSD$
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}
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 <bsd.port.mk>