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@
This commit is contained in:
parent
e031083129
commit
9f00dc526d
41
emulators/nestopia/Makefile
Normal file
41
emulators/nestopia/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
# $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>
|
2
emulators/nestopia/distinfo
Normal file
2
emulators/nestopia/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (nestopia-1.44.tgz) = TIihidqquMd9gDhXyLDuh27dcspg11YmYegpx/2yrFw=
|
||||
SIZE (nestopia-1.44.tgz) = 1954849
|
19
emulators/nestopia/patches/patch-Makefile
Normal file
19
emulators/nestopia/patches/patch-Makefile
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2013/01/25 09:08:23 bentley Exp $
|
||||
--- Makefile.orig Tue Jan 22 10:20:43 2013
|
||||
+++ Makefile Fri Jan 25 01:36:56 2013
|
||||
@@ -192,13 +192,13 @@ $(BIN): $(OBJS)
|
||||
install:
|
||||
mkdir -p $(DATADIR)/icons
|
||||
mkdir -p $(PREFIX)/share/pixmaps
|
||||
+ mkdir -p $(PREFIX)/share/applications
|
||||
install -m 0755 $(BIN) $(BINDIR)
|
||||
- install -m 0644 source/unix/icons/nestopia.desktop $(DATADIR)
|
||||
+ install -m 0644 source/unix/icons/nestopia.desktop $(PREFIX)/share/applications
|
||||
install -m 0644 NstDatabase.xml $(DATADIR)
|
||||
install -m 0644 source/unix/icons/*.png $(DATADIR)/icons
|
||||
install -m 0644 source/unix/icons/*.svg $(DATADIR)/icons
|
||||
install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps
|
||||
- xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop
|
||||
|
||||
uninstall:
|
||||
xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop
|
9
emulators/nestopia/pkg/DESCR
Normal file
9
emulators/nestopia/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
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.
|
17
emulators/nestopia/pkg/PLIST
Normal file
17
emulators/nestopia/pkg/PLIST
Normal file
@ -0,0 +1,17 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/01/25 09:08:23 bentley Exp $
|
||||
@bin bin/nestopia
|
||||
share/applications/nestopia.desktop
|
||||
share/nestopia/
|
||||
share/nestopia/NstDatabase.xml
|
||||
share/nestopia/icons/
|
||||
share/nestopia/icons/nespad.svg
|
||||
share/nestopia/icons/nestopia.svg
|
||||
share/nestopia/icons/nestopia128.png
|
||||
share/nestopia/icons/nestopia32.png
|
||||
share/nestopia/icons/nestopia48.png
|
||||
share/nestopia/icons/nestopia64.png
|
||||
share/nestopia/icons/nestopia96.png
|
||||
share/pixmaps/
|
||||
share/pixmaps/nestopia.svg
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec-delete %D/bin/update-desktop-database
|
Loading…
Reference in New Issue
Block a user