summaryrefslogtreecommitdiff
path: root/games/wordwarvi/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/wordwarvi/patches/patch-Makefile')
-rw-r--r--games/wordwarvi/patches/patch-Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/games/wordwarvi/patches/patch-Makefile b/games/wordwarvi/patches/patch-Makefile
new file mode 100644
index 00000000000..f3992f0c7ee
--- /dev/null
+++ b/games/wordwarvi/patches/patch-Makefile
@@ -0,0 +1,19 @@
+$NetBSD: patch-Makefile,v 1.1 2016/07/26 20:05:17 kamil Exp $
+
+Install executable into ${PREFIX}/bin
+
+--- Makefile.orig 2016-03-11 15:16:11.000000000 +0000
++++ Makefile
+@@ -116,10 +116,10 @@ wordwarvi.6.gz: wordwarvi.6
+ gzip -c wordwarvi.6 > wordwarvi.6.gz
+
+ install: wordwarvi wordwarvi.6.gz
+- mkdir -p $(DESTDIR)$(PREFIX)/games
++ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(DATADIR)/sounds
+ mkdir -p $(DESTDIR)$(MANPAGEDIR)
+- install -p -m 755 wordwarvi $(DESTDIR)$(PREFIX)/games
++ install -p -m 755 wordwarvi $(DESTDIR)$(PREFIX)/bin
+ install -p -m 644 sounds/*.ogg $(DESTDIR)$(DATADIR)/sounds
+ install -p -m 644 wordwarvi.6.gz $(DESTDIR)$(MANPAGEDIR)
+