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.
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2005/08/10 20:56:12 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= MuSE-0.9
|
|
PKGNAME= ${DISTNAME:S/MuSE/muse/}
|
|
PKGREVISION= 3
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ftp://ftp.dyne.org/muse/releases/ \
|
|
http://www.ljudmila.org/~jaromil/muse/releases/ \
|
|
ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://muse.dyne.org/
|
|
COMMENT= Multiple Streaming Engine
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
CONFIGURE_ARGS+= --disable-ncurses
|
|
CONFIGURE_ARGS+= --disable-lubrify
|
|
CONFIGURE_ARGS+= --enable-gtk2
|
|
LIBS+= ${LIBOSSAUDIO}
|
|
MAKE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR}
|
|
MAKE_FLAGS+= docsdir=${PREFIX:Q}/share/doc/MuSE
|
|
|
|
SUBST_CLASSES= dsp
|
|
SUBST_STAGE.dsp= post-patch
|
|
SUBST_FILES.dsp= src/jmixer.cpp src/libmpeg/fileplayer.cc
|
|
SUBST_SED.dsp= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
|
|
SUBST_MESSAGE.dsp= "Fixing hardcoded audio device."
|
|
|
|
.include "../../audio/lame/buildlink3.mk"
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
.include "../../audio/libsndfile/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/ossaudio.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|