diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-05 22:15:53 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2005-07-05 22:15:53 +0000 |
commit | 629892cbb93c4a549f8f18e7ebbf26ecdbbdd1d2 (patch) | |
tree | 8e55f0ce571fb89de2add2f412bad08314922336 /emulators/gens/files | |
parent | Chase Code_Aster's upgrade to 8.1. (diff) |
Add gens, a Sega Genesis/CD/32X emulator
PR: ports/82576
Submitted by: Travis Poppe <tlp@LiquidX.org>
Notes
Notes:
svn path=/head/; revision=138544
Diffstat (limited to 'emulators/gens/files')
-rw-r--r-- | emulators/gens/files/gens.in | 26 | ||||
-rw-r--r-- | emulators/gens/files/patch-Makefile | 26 |
2 files changed, 52 insertions, 0 deletions
diff --git a/emulators/gens/files/gens.in b/emulators/gens/files/gens.in new file mode 100644 index 000000000000..e4600cf75700 --- /dev/null +++ b/emulators/gens/files/gens.in @@ -0,0 +1,26 @@ +#!/bin/sh +# gens - gens 2.12a wrapper script +# +# 2005 Travis Poppe + +USERDIR=$HOME/.gens + +if [ -d $USERDIR ]; then + echo "gens working directory appears to be $USERDIR/" + echo "" + + cd $USERDIR + ./gens $* + exit +fi + +mkdir $USERDIR +mkdir $USERDIR/resource +ln -s %%PREFIX%%/share/gens/gens $USERDIR/gens +ln -s %%PREFIX%%/share/gens/resource/* $USERDIR/resource + +echo "Installed gens to $USERDIR/" +echo "" + +cd $USERDIR +./gens $* diff --git a/emulators/gens/files/patch-Makefile b/emulators/gens/files/patch-Makefile new file mode 100644 index 000000000000..ae53e756d7ce --- /dev/null +++ b/emulators/gens/files/patch-Makefile @@ -0,0 +1,26 @@ +--- Makefile.orig Wed Jun 22 16:18:29 2005 ++++ Makefile Wed Jun 22 16:19:44 2005 +@@ -59,7 +59,7 @@ + glade/interface.o\ + glade/support.o + +-GTKCFLAGS=-DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` ++GTKCFLAGS=-DWITH_GTK `pkg-config gtk+-2.0 --cflags` + + + #uncomment this if you want to enable GTK support (default) +@@ -73,12 +73,12 @@ + GTKLDFLAGS=`pkg-config gtk+-2.0 --libs` + + #uncomment this if you want to enable GTK support (default) +-LDFLAGS=-lm `sdl-config --libs` -lz -lstdc++ -s $(GTKLDFLAGS) ++LDFLAGS=-lm `sdl-config --libs` -lz -lstdc++ -s $(GTKLDFLAGS) %%LDFLAGS%% + #uncomment this if you want to disable GTK support + #LDFLAGS=-lm `sdl-config --libs` -lz -lstdc++ -s + + +-NASMFLAGS=-D__GCC2 -f elf -O3 ++NASMFLAGS=-D__GCC2 -f elf + CC=gcc + CXX=g++ + TARGET=gens |