Tweak devel/p5-Cdk version 5.20120324_1
[dports.git] / audio / opus / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       opus
4 PORTVERSION=    1.1.3
5 CATEGORIES=     audio
6 MASTER_SITES=   http://downloads.xiph.org/releases/opus/ \
7                 MOZILLA/opus
8
9 MAINTAINER=     naddy@FreeBSD.org
10 COMMENT=        IETF audio codec
11
12 LICENSE=        BSD3CLAUSE
13 LICENSE_FILE=   ${WRKSRC}/COPYING
14
15 USES=           cpe gmake libtool pathfix
16 CPE_VENDOR=     opus-codec
17 USE_LDCONFIG=   yes
18
19 GNU_CONFIGURE=  yes
20 CONFIGURE_ARGS= --enable-custom-modes \
21                 --disable-maintainer-mode \
22                 --disable-doc   # requires doxygen
23 INSTALL_TARGET= install-strip
24 TEST_TARGET=    check
25
26 .include <bsd.port.options.mk>
27
28 # i386: needs cpuid instruction; arm: only floating point
29 .if ${ARCH} == "x86_64"
30 CONFIGURE_ARGS+=--enable-intrinsics
31 .endif
32
33 .if ${ARCH} == "arm"
34 CONFIGURE_ARGS+=--enable-fixed-point
35 .endif
36
37 .include <bsd.port.mk>