1 # $NetBSD: Makefile,v 1.18 2012/09/23 05:36:23 obache Exp $
4 DISTNAME
= mednafen-0.8.D
.3
5 PKGNAME
= mednafen-0.8
.13.3
8 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=mednafen
/}
11 MAINTAINER
= wiz@NetBSD.org
12 HOMEPAGE
= http
://mednafen.sourceforge.net
/
13 COMMENT
= Portable multi-system emulator
16 WRKSRC
= ${WRKDIR}/mednafen
18 USE_TOOLS
+= intltool pkg-config
22 INSTALLATION_DIRS
= share
/doc
/mednafen
25 SUBST_STAGE.dsp
= pre-configure
26 SUBST_MESSAGE.dsp
= Fixing path to audio device.
27 SUBST_FILES.dsp
= src
/sexyal
/drivers
/oss.
cpp src
/sexyal
/sexyal.
cpp
28 SUBST_SED.dsp
= -e s
,/dev
/dsp
,${DEVOSSAUDIO},
30 .
include "../../mk/bsd.prefs.mk"
32 .if
${X11_TYPE} == "modular"
33 CONFIGURE_ARGS
+= --x-includes
=${PREFIX
:Q
}/include
34 CONFIGURE_ARGS
+= --x-libraries
=${PREFIX
:Q
}/lib
38 ${INSTALL_DATA} ${WRKSRC}/Documentation
/*.html \
39 ${DESTDIR}${PREFIX}/share
/doc
/mednafen
41 .
include "../../audio/esound/buildlink3.mk"
42 .
include "../../audio/libsndfile/buildlink3.mk"
43 .
include "../../devel/SDL/buildlink3.mk"
44 .
include "../../devel/gettext-lib/buildlink3.mk"
45 .
include "../../misc/libcdio/buildlink3.mk"
46 .
include "../../net/SDL_net/buildlink3.mk"
47 .
include "../../mk/oss.buildlink3.mk"
48 .
include "../../mk/bsd.pkg.mk"