openbsd-ports/emulators/nestopia/Makefile
bentley 9f00dc526d Import nestopia-1.44.
Nestopia is an accuracy-focused emulator for the Nintendo Entertainment
System/Famicom (and Famicom Disk System). It is a computer program that
acts like a physical piece of hardware. In other words, this is a method
of preserving videogame history, with the welcome side effect of
allowing you to play NES games on a modern computer.

Nestopia uses highly optimized cycle exact emulation, allowing it to run
titles that rely on precise timing, many of which break under inferior
emulators.

ok benoit@ landry@ rfreeman@ kirby@
2013-01-25 09:08:23 +00:00

42 lines
981 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/01/25 09:08:23 bentley Exp $
COMMENT = accurate Nintendo Entertainment System emulator
DISTNAME = nestopia-1.44
CATEGORIES = emulators
HOMEPAGE = http://0ldsk00l.ca/nestopia.html
MAINTAINER = Anthony J. Bentley <anthony@cathet.us>
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += GL SDL X11 c gdk-3 gdk_pixbuf-2.0 glib-2.0 gobject-2.0
WANTLIB += gtk-3 m pthread stdc++ z
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=nestopiaue/}
EXTRACT_SUFX = .tgz
RUN_DEPENDS = devel/desktop-file-utils
LIB_DEPENDS = devel/sdl \
x11/gtk+3
MAKE_FLAGS = CC="${CC}" \
CXX="${CXX}" \
CFLAGS="${CFLAGS} `sdl-config --cflags` \
`pkg-config --cflags gtk+-3.0`" \
CXXFLAGS="${CFLAGS} `sdl-config --cflags` \
`pkg-config --cflags gtk+-3.0`"
FAKE_FLAGS = PREFIX="${WRKINST}/${TRUEPREFIX}"
USE_GMAKE = Yes
NO_REGRESS = Yes
.include <bsd.port.mk>