openbsd-ports/games/netris/patches/patch-Configure
pvalchev 3e2095c8a9 - add HOMEPAGE, include it in DESCR
- reformat DESCR to look better
- regen patch with update-patches
from new maintainer Sebastian Stark <seb@todesplanet.de>
2002-12-23 19:16:59 +00:00

40 lines
964 B
Plaintext

$OpenBSD: patch-Configure,v 1.1 2002/12/23 19:17:00 pvalchev Exp $
--- Configure.orig Sun May 16 08:57:48 1999
+++ Configure Mon Dec 23 13:59:26 2002
@@ -159,12 +159,12 @@ sed -e "s/-LFLAGS-/$LFLAGS/g" -e "s/-SRC
# Automatically generated by ./Configure -- DO NOT EDIT!
#
-CC = -CC-
-COPT = -COPT-
+#CC = -CC-
+#COPT = -COPT-
CEXTRA = -CEXTRA-
LEXTRA = -LEXTRA-
LFLAGS = -LEXTRA- -LFLAGS-
-CFLAGS = $(CEXTRA) $(COPT)
+CFLAGS+= $(CEXTRA) $(COPT)
PROG = netris
HEADERS = netris.h
@@ -172,6 +172,8 @@ HEADERS = netris.h
SRCS = -SRCS-
OBJS = -OBJS-
DISTFILES = -DISTFILES-
+DESTDIR= $(PREFIX)/bin
+MANDIR= $(PREFIX)/man
all: Makefile config.h proto.h $(PROG) sr
@@ -227,6 +229,10 @@ clean:
cleandir: clean
rm -f .depend Makefile config.h
+
+install:
+ install -o bin -g bin -s -m 755 $(PROG) $(DESTDIR)
+ install -o bin -g bin -s -m 755 sr $(DESTDIR)/sample-robot
##### DO NOT EDIT OR DELETE THIS LINE, it's needed by make depend #####
END