# Created by: Emanuel Haupt 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 .if ${OSVERSION} < 1300000 IGNORE= requires FreeBSD 13 or later with hidraw support .endif post-install: @${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/hidraw/_hidraw*.so .include