2017-11-21 00:12:59 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.24 2017/11/21 00:13:00 naddy 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
|
|
|
|
2015-12-04 20:47:52 +00:00
|
|
|
BROKEN-hppa = ../../include/mednafen/state.h:21:7: error: 'exception_ptr' in namespace 'std' does not name a type
|
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
|
|
|
|
|
2017-11-14 06:46:20 +00:00
|
|
|
DISTNAME = mednafen-0.9.48
|
2017-11-21 00:12:59 +00:00
|
|
|
REVISION = 0
|
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
|
2017-09-02 21:42:41 +00:00
|
|
|
HOMEPAGE = https://mednafen.github.io
|
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
|
|
|
|
|
|
|
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2017-09-02 21:42:41 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE}/releases/files/
|
|
|
|
EXTRACT_SUFX = .tar.xz
|
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
|
|
|
|
2017-11-21 00:12:59 +00:00
|
|
|
WANTLIB += SDL c iconv intl m pthread sndfile sndio usbhid z
|
2017-07-16 19:18:47 +00:00
|
|
|
WANTLIB += FLAC ogg vorbis vorbisenc ${COMPILER_LIBCXX}
|
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
|
2017-11-16 23:20:37 +00:00
|
|
|
COMPILER = base-clang ports-gcc
|
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
|
|
|
|
2015-07-26 06:08:15 +00:00
|
|
|
LIB_DEPENDS = audio/libsndfile \
|
2017-11-21 00:12:59 +00:00
|
|
|
devel/gettext \
|
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
|
|
|
|
|
2016-10-24 01:53:37 +00:00
|
|
|
USE_WXNEEDED = Yes
|
|
|
|
|
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
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
CONFIGURE_ENV = CFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/SDL" \
|
2017-07-31 21:26:12 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -pthread -nopie"
|
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
|
|
|
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
|
|
|
|
|
2016-10-24 01:53:37 +00:00
|
|
|
pre-configure:
|
2017-05-31 08:08:15 +00:00
|
|
|
sed -i.beforesubst 's/^__inline//' ${WRKDIST}/src/quicklz/quicklz.c
|
2016-10-24 01:53:37 +00:00
|
|
|
|
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>
|