diff options
author | max <max@FreeBSD.org> | 1997-05-31 02:52:45 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-05-31 02:52:45 +0800 |
commit | 62937724a166298fccd83889d558f3c460fa020a (patch) | |
tree | e3f8778787b68370383c2cb0874e87a73ed97b2d /net-mgmt/wide-dhcp/files | |
parent | 043edfde9d7eb57ababba27d18c3d7b6dbe0c523 (diff) | |
download | freebsd-ports-gnome-62937724a166298fccd83889d558f3c460fa020a.tar.gz freebsd-ports-gnome-62937724a166298fccd83889d558f3c460fa020a.tar.zst freebsd-ports-gnome-62937724a166298fccd83889d558f3c460fa020a.zip |
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
Diffstat (limited to 'net-mgmt/wide-dhcp/files')
-rw-r--r-- | net-mgmt/wide-dhcp/files/patch-aa | 19 | ||||
-rw-r--r-- | net-mgmt/wide-dhcp/files/patch-ae | 25 | ||||
-rw-r--r-- | net-mgmt/wide-dhcp/files/patch-ag | 22 | ||||
-rw-r--r-- | net-mgmt/wide-dhcp/files/patch-aq | 16 |
4 files changed, 49 insertions, 33 deletions
diff --git a/net-mgmt/wide-dhcp/files/patch-aa b/net-mgmt/wide-dhcp/files/patch-aa index 4c7a1baa9d40..551aad975a59 100644 --- a/net-mgmt/wide-dhcp/files/patch-aa +++ b/net-mgmt/wide-dhcp/files/patch-aa @@ -1,6 +1,6 @@ --- client/Makefile.FreeBSD.orig Mon Oct 9 14:34:12 1995 -+++ client/Makefile.FreeBSD Fri Mar 28 17:25:06 1997 -@@ -1,14 +1,22 @@ ++++ client/Makefile.FreeBSD Fri May 30 22:46:17 1997 +@@ -1,17 +1,26 @@ INCLUDE = ../server/dhcp.h dhcpc.h common.h ../server/common_subr.h dhcpc_subr.h OBJ = dhcpc_subr.o flushroute.o getmac.o common_subr.o dhcpc.o -LDFLAGS = @@ -8,6 +8,8 @@ +SBIN= ${PREFIX}/sbin +LIBEXEC= ${PREFIX}/libexec +MAN= ${PREFIX}/man ++CP= /bin/cp ++RM= /bin/rm -CC = gcc -CFLAGS = -Wall -g -I. -I../server #-DDEBUG @@ -19,11 +21,14 @@ dhcpc: ${OBJ} ${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS} -+ + +install: dhcpc + ${INSTALL} -c -m 755 -s dhcpc ${SBIN}/dhcpc -+ cp dhcpc.8 ${MAN}/man8/dhcpc.8 -+ gzip -9nf ${MAN}/man8/dhcpc.8 - ++ ${CP} dhcpc.8 ${MAN}/man8/dhcpc.8 ++ clean: - rm -f *~ *.o *core* dhcpc +- rm -f *~ *.o *core* dhcpc ++ ${RM} -f *~ *.o *core* dhcpc + + dhcpc.o: dhcpc.c config.h ${INCLUDE} + dhcpc_subr.o: dhcpc_subr.c ${INCLUDE} 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 diff --git a/net-mgmt/wide-dhcp/files/patch-ag b/net-mgmt/wide-dhcp/files/patch-ag index 8971d5a1c61d..3608eae0c716 100644 --- a/net-mgmt/wide-dhcp/files/patch-ag +++ b/net-mgmt/wide-dhcp/files/patch-ag @@ -1,6 +1,6 @@ --- relay/Makefile.FreeBSD.orig Mon Oct 9 15:09:37 1995 -+++ relay/Makefile.FreeBSD Fri Mar 28 17:26:07 1997 -@@ -1,12 +1,22 @@ ++++ relay/Makefile.FreeBSD Fri May 30 22:47:02 1997 +@@ -1,17 +1,27 @@ OBJ = relay.o getmac.o common_subr.o interface.o -CC = gcc -CFLAGS = -g -Wall -I. -I../server @@ -14,16 +14,22 @@ +SBIN= ${PREFIX}/sbin +LIBEXEC= ${PREFIX}/libexec +MAN= ${PREFIX}/man ++CP= /bin/cp ++RM= /bin/rm relay: ${OBJ} ${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS} -+ + +install: relay + ${INSTALL} -c -m 755 -s relay ${SBIN}/relay -+ cp relay.8 ${MAN}/man8/relay.8 -+ gzip -9nf ${MAN}/man8/relay.8 -+ cp dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5 -+ gzip -9nf ${MAN}/man5/dhcpdb.server.5 - ++ ${CP} relay.8 ${MAN}/man8/relay.8 ++ ${CP} dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5 ++ relay.o: relay.c common.h ../server/dhcp.h ../server/common_subr.h common_subr.o: ../server/common_subr.c ../server/dhcp.h common.h ../server/common_subr.h + interface.o: ../server/interface.c common.h + getmac.o: ../server/getmac.c + + clean: +- rm -f *~ *.o *core* relay ++ ${RM} -f *~ *.o *core* relay diff --git a/net-mgmt/wide-dhcp/files/patch-aq b/net-mgmt/wide-dhcp/files/patch-aq index 2ed36637b3b8..ef3fca399aa7 100644 --- a/net-mgmt/wide-dhcp/files/patch-aq +++ b/net-mgmt/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 |