aboutsummaryrefslogtreecommitdiffstats
path: root/audio/opus/Makefile
blob: bf667c7112c91ca688d031ffe09945302bca57b4 (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
# $FreeBSD$

PORTNAME=   opus
PORTVERSION=    1.0.3
CATEGORIES= audio
MASTER_SITES=   http://downloads.xiph.org/releases/opus/ \
        https://ftp.mozilla.org/pub/mozilla.org/opus/

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

USES=       pathfix
USE_AUTOTOOLS=  libtool
USE_LDCONFIG=   yes

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

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

.include <bsd.port.pre.mk>

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

.include <bsd.port.post.mk>