summaryrefslogtreecommitdiff
path: root/net/wide-dhcp/files/patch-aq
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-05-30 18:52:45 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-05-30 18:52:45 +0000
commitfdf92566aae93cb377cd51fe14875e9924b68de0 (patch)
treef8624026f4d554f7ebc9828b68842b68ff7c37b0 /net/wide-dhcp/files/patch-aq
parentPart 6/6 of the update: (diff)
Let the port's Makefile compress the man pages.
Install docs and sample files into ${PREFIX}/share/{doc,examples}/dhcp respectively. Submitted-by: sanpei@yy.cs.keio.ac.jp
Notes
Notes: svn path=/head/; revision=6639
Diffstat (limited to 'net/wide-dhcp/files/patch-aq')
-rw-r--r--net/wide-dhcp/files/patch-aq16
1 files changed, 9 insertions, 7 deletions
diff --git a/net/wide-dhcp/files/patch-aq b/net/wide-dhcp/files/patch-aq
index 2ed36637b3b8..ef3fca399aa7 100644
--- a/net/wide-dhcp/files/patch-aq
+++ b/net/wide-dhcp/files/patch-aq
@@ -1,6 +1,6 @@
--- tools/Makefile.FreeBSD.orig Mon Oct 9 15:00:53 1995
-+++ tools/Makefile.FreeBSD Fri Mar 28 17:27:46 1997
-@@ -1,10 +1,18 @@
++++ tools/Makefile.FreeBSD Fri May 30 22:48:22 1997
+@@ -1,10 +1,19 @@
-CC = gcc
-CFLAGS = -g -Wall -I. -I../server
-#CC = cc
@@ -11,14 +11,16 @@
+SBIN= ${PREFIX}/sbin
+LIBEXEC= ${PREFIX}/libexec
+MAN= ${PREFIX}/man
++CP= /bin/cp
++RM= /bin/rm
dhcpm: dhcpm.c ../server/dhcp.h
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
-+
+
+install: dhcpm
+ ${INSTALL} -c -m 755 -s dhcpm ${SBIN}/dhcpm
-+ cp dhcpm.8 ${MAN}/man8/dhcpm.8
-+ gzip -9nf ${MAN}/man8/dhcpm.8
-
++ ${CP} dhcpm.8 ${MAN}/man8/dhcpm.8
++
clean:
- rm -rf *~ *.o *core* dhcpm
+- rm -rf *~ *.o *core* dhcpm
++ ${RM} -rf *~ *.o *core* dhcpm