summaryrefslogtreecommitdiff
path: root/games/gnugo/patches/patch-aa
blob: 3aa5b75eb54dcd3365485bb5c7710e4254cfa222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
$NetBSD: patch-aa,v 1.1.1.1 1999/03/11 20:17:36 bad Exp $

--- Makefile.orig	Wed Mar 10 07:36:07 1999
+++ Makefile	Thu Mar 11 21:10:59 1999
@@ -1,14 +1,14 @@
 # configuration info
 
-NAME = gnugo-beta
+NAME = gnugo
 VERSION = 1.72
 PREVIOUS = 1.71
 
 CFLAGS = -g -O2 $(COLOR) $(GCCWARNINGS) -DVERSION=\"$(VERSION)\"
 
 # uncomment if you want to have color board display with curses
-COLOR=-DCURSES
-COLORLIB=-lncurses 
+#COLOR=-DCURSES
+#COLORLIB=-lncurses 
 
 # or this to use hardcoded ansi escape sequences (dtterm, linux console)
 #COLOR=-DANSI_COLOR
@@ -50,6 +50,11 @@
 OBJ = $(SRC:.c=.o)
 
 ALLOBJ =  $(OBJ) patterns.o helpers.o gmp.o
+
+all : $(NAME)
+
+install : $(NAME)
+	${BSD_INSTALL_PROGRAM} $(NAME) ${PREFIX}/bin
 
 $(NAME) : $(ALLOBJ)
 	$(CC) $(CFLAGS) $(ALLOBJ) -o $(NAME) $(COLORLIB)