mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
5308f4b529
Only build tests when tests are run.
26 lines
543 B
Makefile
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>
|