openbsd-ports/emulators/nestopia/patches/patch-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

20 lines
855 B
Plaintext

$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