From fdf92566aae93cb377cd51fe14875e9924b68de0 Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE Date: Fri, 30 May 1997 18:52:45 +0000 Subject: 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 --- net/wide-dhcp/files/patch-ae | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'net/wide-dhcp/files/patch-ae') diff --git a/net/wide-dhcp/files/patch-ae b/net/wide-dhcp/files/patch-ae index 355586233d15..98387aad7226 100644 --- a/net/wide-dhcp/files/patch-ae +++ b/net/wide-dhcp/files/patch-ae @@ -1,6 +1,6 @@ --- server/Makefile.FreeBSD.orig Mon Nov 6 16:18:41 1995 -+++ server/Makefile.FreeBSD Fri Mar 28 17:26:44 1997 -@@ -1,13 +1,25 @@ ++++ server/Makefile.FreeBSD Fri May 30 22:47:17 1997 +@@ -1,16 +1,27 @@ OBJ = dhcps.o database.o hash.o ctime.o getmac.o common_subr.o \ interface.o delarp.o -LDFLAGS = @@ -15,18 +15,21 @@ +SBIN= ${PREFIX}/sbin +LIBEXEC= ${PREFIX}/libexec +MAN= ${PREFIX}/man ++CP= /bin/cp ++RM= /bin/rm dhcps: ${OBJ} ${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS} -+ + +install: dhcps + ${INSTALL} -c -m 755 -s dhcps ${SBIN}/dhcps -+ cp dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5 -+ gzip -9nf ${MAN}/man5/dhcpdb.pool.5 -+ cp dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5 -+ gzip -9nf ${MAN}/man5/dhcpdb.relay.5 -+ cp dhcps.8 ${MAN}/man8/dhcps.8 -+ gzip -9nf ${MAN}/man8/dhcps.8 - ++ ${CP} dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5 ++ ${CP} dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5 ++ ${CP} dhcps.8 ${MAN}/man8/dhcps.8 ++ clean: - rm -f *~ *.o *core* dhcps +- rm -f *~ *.o *core* dhcps ++ ${RM} -f *~ *.o *core* dhcps + + dhcps.o: dhcps.c dhcp.h common.h common_subr.h hash.h dhcps.h + database.o: database.c dhcp.h common.h hash.h database.h -- cgit v1.2.3