pkgsrc/audio/xmms-faad/Makefile
jlam 7820875fff Remove the abuse of buildlink that was pkg-config/buildlink3.mk. That
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables.  Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.

For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2005-08-10 20:56:10 +00:00

53 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.5 2005/08/10 20:56:12 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 pkg-config
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 "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"