aboutsummaryrefslogtreecommitdiffstats
path: root/audio/fdk-aac/Makefile
blob: 38ca4c55a34d8b2d99f3c437107078bdad271f59 (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
# New ports collection makefile for:    fdk-aac
# Date created:     6 Aug 2012
# Whom:         Martin Matuska <mm@FreeBSD.org>
#
# $FreeBSD$
#

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

MAINTAINER= mm@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
CONFIGURE_ENV+= LIBS="-lm"

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

.include <bsd.port.mk>