1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/net-im/toxext/Makefile
Yuri Victorovich 5308f4b529 net-im/toxext: Add test target
Only build tests when tests are run.
2022-03-21 10:51:15 -07:00

26 lines
543 B
Makefile

PORTNAME= toxext
DISTVERSIONPREFIX= v
DISTVERSION= 0.0.3
CATEGORIES= net-im net-p2p
MAINTAINER= yuri@FreeBSD.org
COMMENT= Extension library for tox
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libopus.so:audio/opus \
libsodium.so:security/libsodium \
libtoxcore.so:net-im/tox \
libvpx.so:multimedia/libvpx
USES= cmake:testing localbase:ldflags pkgconfig
USE_GITHUB= yes
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_TESTING_ON= BUILD_TESTS
CFLAGS+= -fPIC # see https://github.com/toxext/toxext/issues/7
.include <bsd.port.mk>