e88c1535d2
Notified by: pkg-fallout
28 lines
585 B
Makefile
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>
|