aboutsummaryrefslogtreecommitdiffstats
path: root/audio/opus/Makefile
blob: 11e48042eb5443efb257d139281df7fc688b22e6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# $FreeBSD$

PORTNAME=   opus
PORTVERSION=    1.1
PORTREVISION=   1
CATEGORIES= audio
MASTER_SITES=   http://downloads.xiph.org/releases/opus/ \
        MOZILLA_EXTENDED/opus

MAINTAINER= naddy@FreeBSD.org
COMMENT=    IETF audio codec

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/COPYING

USES=       cpe gmake libtool pathfix
CPE_VENDOR= opus-codec
USE_LDCONFIG=   yes

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --enable-custom-modes \
        --disable-maintainer-mode \
        --disable-doc   # requires doxygen

regression-test: build
    @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check

.include <bsd.port.options.mk>

.if ${ARCH} == "arm"
CONFIGURE_ARGS+=--enable-fixed-point
.endif

.include <bsd.port.mk>