1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/netris/files/patch-aa
Steve Price 2cab921ce5 Install the sr binary as sample-robot to avoid a possible conflict with
another binary of the same name installed by the lang/sr port.

PR:		8946
1999-01-10 19:01:27 +00:00

27 lines
600 B
Plaintext

--- Configure.orig Sat Feb 10 04:41:40 1996
+++ Configure Sat Jan 9 18:33:14 1999
@@ -159,9 +159,12 @@
PROG = netris
HEADERS = netris.h
+PREFIX?=/usr/local
SRCS = -SRCS-
OBJS = -OBJS-
DISTFILES = -DISTFILES-
+DESTDIR= $(PREFIX)/bin
+MANDIR= $(PREFIX)/man
all: Makefile config.h proto.h $(PROG) sr
@@ -217,6 +220,10 @@
cleandir: clean
rm -f .depend Makefile config.h
+
+install:
+ install -c -o bin -g bin -s -m 755 $(PROG) $(DESTDIR)
+ install -c -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