pkgsrc/audio/xmms-faad/Makefile
jlam fcb7da800b Remove mk/autoconf.mk and mk/automake.mk and replace their usage with
USE_TOOLS and any of "autoconf", "autoconf213", "automake" or
"automake14".  Also, we don't need to call the auto* tools via
${ACLOCAL}, ${AUTOCONF}, etc., since the tools framework takes care
to symlink the correct tool to the correct name, so we can just use
aclocal, autoconf, etc.
2005-06-01 20:07:59 +00:00

54 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2005/06/01 20:07:59 jlam Exp $
DISTNAME= faad2-2.0
PKGNAME= xmms-faad-2.0
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=faac/}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.audiocoding.com/
COMMENT= XMMS plugin for faad
#RESTRICTED= Dolby doesn't allow binary distributions
#NO_BIN_ON_FTP= ${RESTRICTED}
#NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/faad2
USE_TOOLS+= automake14 gmake
USE_LANGUAGES= c c++
USE_LIBTOOL= YES
SHLIBTOOL_OVERRIDE= libtool
AUTOCONF_REQD= 2.50
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --with-xmms
CONFIGURE_ARGS+= --with-mp4v2
.include "../../mk/bsd.prefs.mk"
pre-configure:
@${CP} ${WRKSRC}/common/faad/getopt.* ${WRKSRC}/frontend
for dir in . ; do \
cd ${WRKSRC}/$$dir; \
aclocal -I .; \
autoheader; \
${LOCALBASE}/bin/libtoolize --automake; \
automake --add-missing; \
autoconf; \
done
do-build:
@cd ${WRKSRC}/plugins/xmms/src && \
${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${BUILD_TARGET}
do-install:
@cd ${WRKSRC}/plugins/xmms && \
${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_TARGET}
.include "../../audio/faad2/buildlink3.mk"
.include "../../audio/id3lib/buildlink3.mk"
.include "../../audio/xmms/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"