aboutsummaryrefslogtreecommitdiffstats
path: root/audio/fdk-aac/Makefile
blob: b6e7a8bf477f87f6f166dfc0d6678bc2307e2afa (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
# Created by: Martin Matuska <mm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   fdk-aac
PORTVERSION=    0.1.2
CATEGORIES= audio
MASTER_SITES=   SF/opencore-amr/${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Port of the Fraunhofer FDK AAC Codec Library

NOT_FOR_ARCHS=      sparc64
NOT_FOR_ARCHS_REASON=   not yet ported to this architecture

LICENSE=    FRAUNHOFER_FDK_AAC
LICENSE_NAME=   Software License for The Fraunhofer FDK AAC Codec Library for Android
LICENSE_FILE=   ${WRKSRC}/NOTICE
LICENSE_PERMS=  dist-mirror pkg-mirror auto-accept

GNU_CONFIGURE=  yes
NO_STAGE=   yes
CONFIGURE_ENV+= LIBS="-lm"

post-patch:
    @${REINPLACE_CMD} -E -e \
    's|^pkgconfigdir = .*|pkgconfigdir = $$(prefix)/libdata/pkgconfig|g' \
    ${WRKSRC}/Makefile.in

.include <bsd.port.mk>