2014-06-28 04:08:48 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2014/06/28 04:08:48 jeremy Exp $
|
Import mednafen 0.8.D.3 as 0.8.3.
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.
OK landry@
2011-03-14 21:04:51 +00:00
|
|
|
|
|
|
|
COMMENT = emulates numerous game consoles
|
|
|
|
|
2014-06-28 04:08:48 +00:00
|
|
|
V = 0.9.35.1
|
|
|
|
DISTNAME = mednafen-${V}
|
Import mednafen 0.8.D.3 as 0.8.3.
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.
OK landry@
2011-03-14 21:04:51 +00:00
|
|
|
|
|
|
|
CATEGORIES = emulators games
|
|
|
|
HOMEPAGE = http://mednafen.sourceforge.net/
|
|
|
|
|
|
|
|
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
|
|
|
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mednafen/}
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
|
|
|
|
MODULES = devel/gettext
|
|
|
|
|
2012-09-27 04:13:17 +00:00
|
|
|
WANTLIB += SDL c cdio m pthread sndfile sndio stdc++ usbhid z
|
2013-01-26 15:53:20 +00:00
|
|
|
WANTLIB += FLAC ogg vorbis vorbisenc
|
Import mednafen 0.8.D.3 as 0.8.3.
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.
OK landry@
2011-03-14 21:04:51 +00:00
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
|
|
|
LIB_DEPENDS = audio/libcdio \
|
|
|
|
audio/libsndfile \
|
2012-09-28 16:21:03 +00:00
|
|
|
devel/sdl
|
Import mednafen 0.8.D.3 as 0.8.3.
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.
OK landry@
2011-03-14 21:04:51 +00:00
|
|
|
|
|
|
|
WRKDIST = ${WRKDIR}/mednafen
|
|
|
|
|
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread"
|
|
|
|
CONFIGURE_ARGS = --disable-alsa \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-jack \
|
|
|
|
--with-x \
|
|
|
|
--with-gnu-ld
|
|
|
|
|
2012-10-15 08:53:11 +00:00
|
|
|
# this intrinsic is not supported with our old gcc
|
|
|
|
CONFIGURE_ARGS += --disable-altivec
|
|
|
|
|
Import mednafen 0.8.D.3 as 0.8.3.
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.
OK landry@
2011-03-14 21:04:51 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/Documentation/* ${PREFIX}/share/doc/mednafen/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|