pkgsrc/audio/xmms-modplug/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

31 lines
826 B
Makefile

# $NetBSD: Makefile,v 1.10 2005/08/10 20:56:12 jlam Exp $
#
DISTNAME= modplugxmms-2.05
PKGNAME= xmms-modplug-2.05
PKGREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=modplug-xmms/}
MAINTAINER= ben@NetBSD.org
HOMEPAGE= http://modplug-xmms.sourceforge.net/
COMMENT= XMMS plugin based on modplug
DEPENDS+= unzip-[0-9]*:../../archivers/unzip
LDFLAGS+= -lm ${LIBOSSAUDIO}
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
SHLIBTOOL_OVERRIDE= libtool-disable-static
USE_TOOLS+= pkg-config
CFLAGS+= -DDEVICE_NAME="\"${DEVOSSSOUND}\""
USE_LANGUAGES= c c++
PKG_INSTALLATION_TYPES= overwrite pkgviews
.include "../../audio/libmodplug/buildlink3.mk"
.include "../../audio/xmms/buildlink3.mk"
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"