freebsd-ports/devel/py-hidraw/Makefile
Emanuel Haupt e88c1535d2 devel/py-hidraw: Fix staging with python 3.8
Notified by:	pkg-fallout
2021-04-28 13:06:51 +02:00

28 lines
585 B
Makefile

# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
PORTNAME= hidraw
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Python interface to gather hidraw information
LICENSE= BSD2CLAUSE
USES= python
USE_GITHUB= yes
GH_ACCOUNT= daym
USE_PYTHON= autoplist distutils
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1300000
IGNORE= requires FreeBSD 13 or later with hidraw support
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hidraw/_hidraw*.so
.include <bsd.port.post.mk>