d8b87595f0
2.8.6: 2.8.5: - another package fix 2.8.4: - minor fix to released packages 2.8.3 - better autotools support 2.8.2 - PNS bug fixed - New MP4 input module - NeAACDecGetVersion: new api function to get version and copyright strings
34 lines
943 B
Makefile
34 lines
943 B
Makefile
# $NetBSD: Makefile,v 1.50 2017/12/01 11:17:51 adam Exp $
|
|
# IMPORTANT: Do not forget to update audio/xmms-faad
|
|
|
|
DISTNAME= faad2-2.8.6
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://faac.sourceforge.net/
|
|
COMMENT= AAC decoding library
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= autoconf automake autoreconf gmake
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/faad2
|
|
|
|
LIBS+= -lm
|
|
CPPFLAGS.SunOS+= -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1
|
|
|
|
SUBST_CLASSES+= pkgver
|
|
SUBST_STAGE.pkgver= pre-configure
|
|
SUBST_MESSAGE.pkgver= Setting PACKAGE_VERSION in neaacdec.h
|
|
SUBST_FILES.pkgver= include/neaacdec.h
|
|
SUBST_SED.pkgver= -e 's,PACKAGE_VERSION,"${PKGVERSION_NOREV}",'
|
|
|
|
post-extract:
|
|
${MV} ${WRKSRC}/frontend/faad.man ${WRKSRC}/frontend/faad.1
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoreconf -if
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|