# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # nestopia # nestopia/files # nestopia/files/patch-source_unix_gtkui_gtkui.h # nestopia/files/patch-Makefile # nestopia/pkg-descr # nestopia/pkg-plist # nestopia/Makefile # nestopia/distinfo # echo c - nestopia mkdir -p nestopia > /dev/null 2>&1 echo c - nestopia/files mkdir -p nestopia/files > /dev/null 2>&1 echo x - nestopia/files/patch-source_unix_gtkui_gtkui.h sed 's/^X//' >nestopia/files/patch-source_unix_gtkui_gtkui.h << '79eef70a63518d11863764907304b3d6' X--- ./source/unix/gtkui/gtkui.h.orig 2016-01-09 18:34:38 -0500 X+++ ./source/unix/gtkui/gtkui.h 2016-01-15 11:34:58 -0500 X@@ -8,7 +8,6 @@ X #elif _APPLE X #else X #include X-#include X #endif X X void gtkui_init(int argc, char *argv[]); 79eef70a63518d11863764907304b3d6 echo x - nestopia/files/patch-Makefile sed 's/^X//' >nestopia/files/patch-Makefile << 'ac2641e0cc351b4aa9fc958f3460641e' X--- Makefile.orig 2016-01-15 15:25:05.060978417 -0500 X+++ Makefile 2016-01-15 19:19:38.773106245 -0500 X@@ -395,16 +395,16 @@ X $(CC) $(LDFLAGS) $^ $(LIBS) -o $(BIN) X X install: X- mkdir -p $(BINDIR) X- mkdir -p $(DATADIR)/icons X- mkdir -p $(PREFIX)/share/pixmaps X- install -m 0755 $(BIN) $(BINDIR) X- install -m 0644 source/unix/icons/nestopia.desktop $(DATADIR) X- install -m 0644 NstDatabase.xml $(DATADIR) X- install -m 0644 source/unix/icons/*.png $(DATADIR)/icons X- install -m 0644 source/unix/icons/*.svg $(DATADIR)/icons X- install -m 0644 source/unix/icons/nestopia.svg $(PREFIX)/share/pixmaps X- xdg-desktop-menu install --novendor $(DATADIR)/nestopia.desktop X+ mkdir -p $(DESTDIR)$(BINDIR) X+ mkdir -p $(DESTDIR)$(DATADIR)/icons X+ mkdir -p $(DESTDIR)$(PREFIX)/share/pixmaps X+ install -m 0755 $(BIN) $(DESTDIR)$(BINDIR) X+ install -m 0644 source/unix/icons/nestopia.desktop $(DESTDIR)$(DATADIR) X+ install -m 0644 NstDatabase.xml $(DESTDIR)$(DATADIR) X+ install -m 0644 source/unix/icons/*.png $(DESTDIR)$(DATADIR)/icons X+ install -m 0644 source/unix/icons/*.svg $(DESTDIR)$(DATADIR)/icons X+ install -m 0644 source/unix/icons/nestopia.svg $(DESTDIR)$(PREFIX)/share/pixmaps X+ install -m 0644 source/unix/icons/nestopia.desktop $(DESTDIR)$(PREFIX)/share/applications/nestopia.desktop X X uninstall: X xdg-desktop-menu uninstall $(DATADIR)/nestopia.desktop ac2641e0cc351b4aa9fc958f3460641e echo x - nestopia/pkg-descr sed 's/^X//' >nestopia/pkg-descr << 'fdfbbd8bbfa18c75492c04e38be0ff0f' XNestopia is a portable NES/Famicom emulator written in C++. X XNestopia UE (Undead Edition) is a fork of the original source code, with Xenhancements from members of the emulation community. This includes Xsupport for new platforms, and bug fixes in the emulator core. X XWWW: http://0ldsk00l.ca/nestopia/ fdfbbd8bbfa18c75492c04e38be0ff0f echo x - nestopia/pkg-plist sed 's/^X//' >nestopia/pkg-plist << 'ee1c74d28a81e27a7d177e6d088b95b2' Xbin/nestopia Xshare/pixmaps/nestopia.svg Xshare/applications/nestopia.desktop Xshare/nestopia/icons/nestopia.svg Xshare/nestopia/icons/nespad.svg Xshare/nestopia/icons/nestopia48.png Xshare/nestopia/icons/nestopia96.png Xshare/nestopia/icons/nestopia32.png Xshare/nestopia/icons/nestopia128.png Xshare/nestopia/icons/nestopia64.png Xshare/nestopia/NstDatabase.xml Xshare/nestopia/nestopia.desktop ee1c74d28a81e27a7d177e6d088b95b2 echo x - nestopia/Makefile sed 's/^X//' >nestopia/Makefile << '1041975bb8f5da25110f5c321c44a1b7' X# $FreeBSD$ X XPORTNAME= nestopia XPORTVERSION= 1.47 XCATEGORIES= emulators X XMAINTAINER= neel@neelc.org XCOMMENT= Portable NES/Famicom emulator X XLICENSE= GPLv2 X XLIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao X XUSES= gmake libarchive pkgconfig XUSE_GL= glu XUSE_GNOME= gtk30 XUSE_SDL= sdl2 X XUSE_GITHUB= yes XGH_ACCOUNT= rdanbrook X Xpost-install: X ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} X X.include 1041975bb8f5da25110f5c321c44a1b7 echo x - nestopia/distinfo sed 's/^X//' >nestopia/distinfo << '98f38ee620cd47f6bd44b6837fb2f756' XSHA256 (rdanbrook-nestopia-1.47_GH0.tar.gz) = 915db5aeeda5c9e800a96dac229766d82c0990a7ee165a30317a62bfabccf9b7 XSIZE (rdanbrook-nestopia-1.47_GH0.tar.gz) = 1271675 98f38ee620cd47f6bd44b6837fb2f756 exit