openbsd-ports/emulators/mednafen/Makefile
jeremy 38cdc1891b 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

50 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/03/14 21:04:51 jeremy Exp $
COMMENT = emulates numerous game consoles
DISTNAME = mednafen-0.8.D.3
PKGNAME = mednafen-0.8.3
CATEGORIES = emulators games
HOMEPAGE = http://mednafen.sourceforge.net/
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=mednafen/}
EXTRACT_SUFX = .tar.bz2
MODULES = devel/gettext
WANTLIB += SDL SDL_net c cdio m pthread sndfile sndio stdc++ usbhid
WANTLIB += z
USE_GMAKE = Yes
LIB_DEPENDS = audio/libcdio \
audio/libsndfile \
devel/sdl \
devel/sdl-net
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
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/mednafen
${INSTALL_DATA} ${WRKSRC}/Documentation/* ${PREFIX}/share/doc/mednafen/
.include <bsd.port.mk>