aboutsummaryrefslogtreecommitdiff
path: root/games/trojka/files/patch-aa
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-07-18 09:45:05 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-07-18 09:45:05 +0000
commit802185c16ac893316a6cd0aa3b7def6eb0565202 (patch)
tree3a12aa698c59d4a07d30418f46be6113b540e33b /games/trojka/files/patch-aa
parenta3c7da85f7a44e447d16953258ba4a1c8fc85ad3 (diff)
downloadports-802185c16ac893316a6cd0aa3b7def6eb0565202.tar.gz
ports-802185c16ac893316a6cd0aa3b7def6eb0565202.zip
Notes
Diffstat (limited to 'games/trojka/files/patch-aa')
-rw-r--r--games/trojka/files/patch-aa36
1 files changed, 36 insertions, 0 deletions
diff --git a/games/trojka/files/patch-aa b/games/trojka/files/patch-aa
new file mode 100644
index 000000000000..d814e16729af
--- /dev/null
+++ b/games/trojka/files/patch-aa
@@ -0,0 +1,36 @@
+--- Makefile.orig Sat Oct 21 05:17:43 1995
++++ Makefile Tue Jul 18 11:39:08 2000
+@@ -6,14 +6,25 @@
+ #
+
+
+-
++SCOREDIR=$(PREFIX)/share/trojka
++SCOREFILE=$(SCOREDIR)/trojka.scores
++CFLAGS+= -DSCOREFILE=\"$(SCOREFILE)\"
+ OBJS= trojka.o screen.o scan.o hiscore.o system.o
+
++all: freebsd trojka.6.out
++
+ make:
+ @echo please specify: hpux, xenix68, linux or sunos
+
+ install:
+- cp trojka /usr/games
++ install -c -d -m 0755 $(SCOREDIR)
++ install -c -m 2755 -g games -s trojka $(PREFIX)/bin
++ install -c -m 0644 COPYRIGHT README $(SCOREDIR)
++ install -c -m 0664 -g games /dev/null $(SCOREFILE)
++ install -c -m 0444 trojka.6.out $(PREFIX)/man/man6/trojka.6
++
++trojka.6.out: trojka.6
++ sed "s|%%PREFIX%%|$(PREFIX)|" trojka.6 > trojka.6.out
+
+ clean:
+ rm -f $(PROGS) *.o core a.out trojka.scores
+@@ -53,3 +64,5 @@
+
+ linux:
+ make trojka "CFLAGS=-DLINUX"
++
++freebsd: trojka