summaryrefslogtreecommitdiff
path: root/games/nSnake/Makefile.patch
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2014-04-20 22:14:51 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-23 07:51:52 +0700
commite5aac2a1fc4bec8a4c7ed511c73288765e4a3c86 (patch)
treee5ba2e1ea67b7b4a68d1f792be32e6688195a39f /games/nSnake/Makefile.patch
parent72fd212d6e23748de03ee608fa27aa3655d4e344 (diff)
downloadslackbuilds-e5aac2a1fc4bec8a4c7ed511c73288765e4a3c86.tar.gz
games/nSnake: Added (snake game on the console).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/nSnake/Makefile.patch')
-rw-r--r--games/nSnake/Makefile.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/games/nSnake/Makefile.patch b/games/nSnake/Makefile.patch
new file mode 100644
index 0000000000..fd2a3e51e2
--- /dev/null
+++ b/games/nSnake/Makefile.patch
@@ -0,0 +1,37 @@
+--- nSnake-2.0.0/Makefile.original 2014-04-20 10:32:07.056427339 +0300
++++ nSnake-2.0.0/Makefile 2014-04-20 17:48:36.912009088 +0300
+@@ -48,15 +48,15 @@
+ PREFIX = $(DESTDIR)/usr
+
+ EXEC_PREFIX = $(PREFIX)
+-DATAROOTDIR = $(PREFIX)/share
+-MANROOT = $(DATAROOTDIR)/man
++DATAROOTDIR = $(PREFIX)/share/games
++MANROOT = $(PREFIX)/man
+
+ MANNUMBER = 6
+
+-BINDIR = $(EXEC_PREFIX)/games
++BINDIR = $(EXEC_PREFIX)/bin
+ MANDIR = $(MANROOT)/man$(MANNUMBER)
+
+-MANFILE = $(PACKAGE).$(MANNUMBER)
++# MANFILE = $(PACKAGE).$(MANNUMBER)
+ MANPAGE = doc/man/$(MANFILE)
+
+ # Build info
+@@ -121,10 +121,10 @@
+ # Installing...
+ $(MUTE)install -d -m 755 $(BINDIR)
+ $(MUTE)install -m 755 bin/$(EXE) $(BINDIR)
+- -$(MUTE)cat $(MANPAGE) | sed -e "s|DATE|$(DATE)|g" -e "s|VERSION|$(VERSION)|g" >$(MANFILE)
+- $(MUTE)install -d $(MANDIR)
+- $(MUTE)install $(MANFILE) $(MANDIR)
+- $(MUTE)rm -f $(MANFILE)
++ # -$(MUTE)cat $(MANPAGE) | sed -e "s|DATE|$(DATE)|g" -e "s|VERSION|$(VERSION)|g" > $(MANFILE)
++ # $(MUTE)install -d $(MANDIR)
++ # $(MUTE)install $(MANFILE) $(MANDIR)
++ # $(MUTE)rm -f $(MANFILE)
+ # $(PACKAGE) successfuly installed!
+
+ uninstall: