pkgsrc-wip/mupen64-plugin-sound/Makefile
2009-02-15 13:39:31 +00:00

31 lines
874 B
Makefile

# $NetBSD: Makefile,v 1.12 2009/02/15 13:39:31 thomasklausner Exp $
#
DISTNAME= mupen64_sound
PKGNAME= ${DISTNAME:S/_sound/-plugin-sound-1.1/}
PKGREVISION= 1
CATEGORIES= emulators
MASTER_SITES= http://mupen64.emulation64.com/files/src/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mupen64.emulation64.com/
COMMENT= Sound plugin for mupen64 emulator
LDFLAGS+= ${LIBOSSAUDIO}
CPPFLAGS+= -fPIC
SUBST_CLASSES+= dsp
SUBST_STAGE.dsp= post-patch
SUBST_FILES.dsp= main.c
SUBST_SED.dsp= -e "s,/dev/dsp,${DEVOSSAUDIO},g"
SUBST_MESSAGE.dsp= Fixing harcoded audio device.
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/mupen64-base/plugins
.include "../../devel/SDL/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"