1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Make this port reinstall friendly.

This commit is contained in:
Steve Price 1998-09-28 02:11:38 +00:00
parent 47db41b40d
commit 643814f6fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=13491

View File

@ -1,30 +1,26 @@
*** Configure.orig Sat Feb 10 02:41:40 1996
--- Configure Mon Jun 9 21:04:51 1997
***************
*** 159,167 ****
--- 159,170 ----
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,222 ****
--- 220,229 ----
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)
##### DO NOT EDIT OR DELETE THIS LINE, it's needed by make depend #####
END
--- Configure.orig Sat Feb 10 04:41:40 1996
+++ Configure Sun Sep 27 18:49:59 1998
@@ -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)
##### DO NOT EDIT OR DELETE THIS LINE, it's needed by make depend #####
END