# $FreeBSD: head/audio/codec2/Makefile 412344 2016-04-01 13:29:15Z mat $

PORTNAME=	codec2
PORTVERSION=	0.5
CATEGORIES=	audio hamradio
MASTER_SITES=	http://files.freedv.org/codec2/ \
		LOCAL/shurd

MAINTAINER=	hamradio@FreeBSD.org
COMMENT=	Low bit rate codec

LIB_DEPENDS=	libspeex.so:audio/speex

USES=		cmake:outsource compiler:c11 tar:xz
CMAKE_ARGS+=	-DBUILD_SHARED_LIBS:BOOL=ON

USE_LDCONFIG=	yes

.include <bsd.port.mk>