summaryrefslogtreecommitdiff
path: root/audio/faad2/Makefile
blob: 377c99decb0027352584bda0ad4eb4ba5eab9523 (plain)
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
# $NetBSD: Makefile,v 1.48 2013/08/30 11:01:06 jperkin Exp $

DISTNAME=	faad2-2.7
PKGREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=faac/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.audiocoding.com/
COMMENT=	AAC decoding library

LICENSE=	gnu-gpl-v2

USE_TOOLS+=	autoconf automake autoreconf gmake
USE_LANGUAGES=	c c++
USE_LIBTOOL=	YES

AUTOCONF_REQD=	2.50
GNU_CONFIGURE=	YES

CONFIGURE_ARGS+=	--includedir=${PREFIX}/include/faad2

LIBS+=		-lm

CPPFLAGS.SunOS+=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1

post-extract:
	mv ${WRKSRC}/frontend/faad.man ${WRKSRC}/frontend/faad.1

pre-configure:
	cp ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend
	cd ${WRKSRC} && autoreconf -if

.include "../../mk/bsd.pkg.mk"