2013-08-30 13:01:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.48 2013/08/30 11:01:06 jperkin Exp $
|
2002-09-05 19:49:42 +02:00
|
|
|
|
2009-08-10 02:01:55 +02:00
|
|
|
DISTNAME= faad2-2.7
|
2013-08-30 13:01:06 +02:00
|
|
|
PKGREVISION= 2
|
2002-09-05 19:49:42 +02:00
|
|
|
CATEGORIES= audio
|
2003-06-08 16:14:33 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
|
2002-09-05 19:49:42 +02:00
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-11-19 20:03:34 +01:00
|
|
|
HOMEPAGE= http://www.audiocoding.com/
|
2002-09-05 19:49:42 +02:00
|
|
|
COMMENT= AAC decoding library
|
|
|
|
|
2009-08-10 02:01:55 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
2002-09-05 19:49:42 +02:00
|
|
|
|
2009-08-10 02:01:55 +02:00
|
|
|
USE_TOOLS+= autoconf automake autoreconf gmake
|
2004-07-31 10:10:47 +02:00
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_LIBTOOL= YES
|
2003-06-08 16:35:57 +02:00
|
|
|
|
2004-07-31 10:10:47 +02:00
|
|
|
AUTOCONF_REQD= 2.50
|
|
|
|
GNU_CONFIGURE= YES
|
2002-09-05 19:49:42 +02:00
|
|
|
|
2005-10-06 15:13:28 +02:00
|
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/faad2
|
2004-03-21 08:06:58 +01:00
|
|
|
|
2004-07-31 10:10:47 +02:00
|
|
|
LIBS+= -lm
|
|
|
|
|
2005-07-01 08:35:15 +02:00
|
|
|
CPPFLAGS.SunOS+=-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1
|
2004-05-15 15:03:20 +02:00
|
|
|
|
2009-08-10 02:01:55 +02:00
|
|
|
post-extract:
|
|
|
|
mv ${WRKSRC}/frontend/faad.man ${WRKSRC}/frontend/faad.1
|
|
|
|
|
2002-09-05 19:49:42 +02:00
|
|
|
pre-configure:
|
2009-08-10 02:01:55 +02:00
|
|
|
cp ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend
|
2009-08-10 02:05:35 +02:00
|
|
|
cd ${WRKSRC} && autoreconf -if
|
2002-10-02 20:13:16 +02:00
|
|
|
|
2002-09-05 19:49:42 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|