diff options
author | wiz <wiz@pkgsrc.org> | 2007-05-19 12:39:30 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-05-19 12:39:30 +0000 |
commit | 368a0b1f97e54a12f02a7b4bd1d87e4a1696157e (patch) | |
tree | a3a306e296990d599080fc6273c763608066940a /emulators/mednafen/Makefile | |
parent | 0fafcf84dc3c9e545e955e1bbea1ddd7588fba30 (diff) | |
download | pkgsrc-368a0b1f97e54a12f02a7b4bd1d87e4a1696157e.tar.gz |
Initial import of mednafen-0.8.1, previously packaged for wip (by myself):
Mednafen is a portable, utilizing OpenGL and SDL, argument
(command-line)-driven multi-system emulator with many advanced
features. The Atari Lynx, GameBoy (Color), GameBoy Advance, NES,
PC Engine (TurboGrafx 16), SuperGrafx, Neo Geo Pocket (Color),
PC-FX, and WonderSwan (Color) are emulated. Mednafen has the
ability to remap hotkey functions and virtual system inputs to a
keyboard, a joystick, or both simultaneously. Save states are
supported, as is real-time game rewinding. Screen snapshots may be
taken at the press of a button, and are saved in the popular PNG
file format.
Due to the threaded model of emulation used in Mednafen, and
limitations of SDL, a joystick is preferred over a keyboard to play
games, as the joystick will have slightly less latency, although
the latency differences may not be perceptible to most people.
Diffstat (limited to 'emulators/mednafen/Makefile')
-rw-r--r-- | emulators/mednafen/Makefile | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile new file mode 100644 index 00000000000..17cb7af5c07 --- /dev/null +++ b/emulators/mednafen/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/05/19 12:39:30 wiz Exp $ +# + +DISTNAME= mednafen-0.8.1 +CATEGORIES= emulators +MASTER_SITES= http://mednafen.com/releases/files/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://mednafen.com/ +COMMENT= Portable multi-system emulator + +WRKSRC= ${WRKDIR}/mednafen +GNU_CONFIGURE= yes +USE_TOOLS+= intltool pkg-config +USE_LANGUAGES= c c++ +USE_LIBTOOL= yes +USE_PKGLOCALEDIR= yes + +SUBST_CLASSES+= dsp +SUBST_STAGE.dsp= pre-configure +SUBST_MESSAGE.dsp= Fixing path to audio device. +SUBST_FILES.dsp= src/sexyal/drivers/esd.c src/sexyal/drivers/oss.c \ + src/sexyal/drivers/oss.c src/sexyal/sexyal.c +SUBST_SED.dsp= -e s,/dev/dsp,${DEVOSSAUDIO}, + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen + ${INSTALL_DATA} ${WRKSRC}/Documentation/*.html \ + ${PREFIX}/share/doc/mednafen + +.include "../../audio/esound/buildlink3.mk" +.include "../../audio/libsndfile/buildlink3.mk" +.include "../../devel/SDL/buildlink3.mk" +.include "../../devel/gettext-lib/buildlink3.mk" +.include "../../misc/libcdio/buildlink3.mk" +.include "../../net/SDL_net/buildlink3.mk" +.include "../../mk/oss.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |