ports/net-im/py-toxcore-c/Makefile
Charlie Li 06a08e69f3
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal
Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
2025-03-07 23:05:21 -05:00

30 lines
681 B
Makefile

PORTNAME= toxcore-c
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.0
PORTREVISION= 10
PORTEPOCH= 1
CATEGORIES= net-im net-p2p python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Python binding for Project-Tox
WWW= https://github.com/TokTok/py-toxcore-c
LICENSE= LGPL3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
LIB_DEPENDS= libtoxcore.so:net-im/tox \
libsodium.so:security/libsodium \
libvpx.so:multimedia/libvpx \
libopus.so:audio/opus
USES= localbase python
USE_GITHUB= yes
GH_ACCOUNT= TokTok
GH_PROJECT= py-toxcore-c
USE_PYTHON= distutils autoplist
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pytox*.so
.include <bsd.port.mk>