mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 11:26:29 -04:00
Sponsored by: Serenity Cybersecurity, LLC Pull Request: https://github.com/freebsd/freebsd-ports/pull/295
29 lines
767 B
Makefile
29 lines
767 B
Makefile
PORTNAME= libusbsio
|
|
PORTVERSION= 2.1.12
|
|
CATEGORIES= comms python
|
|
MASTER_SITES= PYPI
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= awoonyaa@gmail.com
|
|
COMMENT= Python wrapper for NXP libusbsio binary library
|
|
WWW= https://pypi.org/project/libusbsio/
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
BUILD_DEPENDS= ${PY_SETUPTOOLS} \
|
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
|
|
|
LIB_DEPENDS= libhidapi.so:comms/hidapi \
|
|
libudev.so:devel/libudev-devd \
|
|
libusbsio.so:comms/libusbsio
|
|
|
|
USES= dos2unix python
|
|
USE_PYTHON= autoplist concurrent pep517
|
|
|
|
DOS2UNIX_FILES= libusbsio/*.py
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}/libusbsio/bin/${OPSYS:tl}_${ARCH}
|
|
${LN} -s ${LOCALBASE}/lib/${PORTNAME}.so ${WRKSRC}/libusbsio/bin/${OPSYS:tl}_${ARCH}/libusbsio.so
|
|
|
|
.include <bsd.port.mk>
|