Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
# New ports collection makefile for: mednafen
|
|
|
|
# Date created: 2006-02-28
|
|
|
|
# Whom: Charlie & <root@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= mednafen
|
2009-04-27 22:45:13 +02:00
|
|
|
PORTVERSION= 0.8.B
|
2012-08-05 00:52:02 +02:00
|
|
|
PORTREVISION= 8
|
2009-04-27 22:45:13 +02:00
|
|
|
PORTEPOCH= 1
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
CATEGORIES= emulators games
|
2009-08-22 02:20:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Mednafen/${PORTVERSION}
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
COMMENT= Portable multi-system emulator
|
|
|
|
|
2012-01-18 18:36:27 +01:00
|
|
|
LIB_DEPENDS= cdio.13:${PORTSDIR}/sysutils/libcdio \
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
sndfile.1:${PORTSDIR}/audio/libsndfile \
|
2007-07-28 14:27:31 +02:00
|
|
|
vorbis.4:${PORTSDIR}/audio/libvorbis
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_SDL= sdl net
|
2008-03-22 09:55:40 +01:00
|
|
|
USE_XORG= x11
|
|
|
|
USE_GL= glut
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
|
|
|
OPTIONS= NLS "Native Language Support" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
|
|
|
.else
|
|
|
|
USE_GETTEXT= yes
|
|
|
|
PLIST_SUB+= NLS=""
|
|
|
|
FLAG_NLS= true
|
|
|
|
.endif
|
|
|
|
|
2006-07-04 02:48:40 +02:00
|
|
|
.if ${ARCH}==sparc64
|
|
|
|
BROKEN= does not compile on ${ARCH} due to internal compiler error
|
|
|
|
.endif
|
|
|
|
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
pre-configure:
|
2007-03-19 16:49:05 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' -e \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
's|/usr/local|${LOCALBASE}|g' -e 's|/usr/X11R6|${LOCALBASE}|g' \
|
2007-03-15 16:53:34 +01:00
|
|
|
${WRKSRC}/configure
|
Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven
multi-system emulator with many advanced features. The Atari Lynx, GameBoy,
GameBoy Color, GameBoy Advance, NES, PC Engine(TurboGrafx 16), and SuperGrafx
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.
Mednafen is distributed under the terms of the GNU GPL.
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.
WWW: http://mednafen.com/
PR: ports/94006
Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
2006-06-11 12:55:20 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/Documentation/mednafen.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|