diff options
author | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-05-30 18:52:45 +0000 |
---|---|---|
committer | Masafumi Max NAKANE <max@FreeBSD.org> | 1997-05-30 18:52:45 +0000 |
commit | fdf92566aae93cb377cd51fe14875e9924b68de0 (patch) | |
tree | f8624026f4d554f7ebc9828b68842b68ff7c37b0 /net-mgmt/wide-dhcp/files/patch-ae | |
parent | 86dd11dadc9e3a8f68222561632f8b774bd67044 (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-mgmt/wide-dhcp/files/patch-ae')
-rw-r--r-- | net-mgmt/wide-dhcp/files/patch-ae | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-ae b/net-mgmt/wide-dhcp/files/patch-ae index 355586233d15..98387aad7226 100644 --- a/net-mgmt/wide-dhcp/files/patch-ae +++ b/net-mgmt/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 |