diff options
author | ru <ru@FreeBSD.org> | 2001-10-22 10:06:25 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2001-10-22 10:06:25 +0000 |
commit | 4ad78f55351b79384a81a09e6a6a6859ea4fd2e8 (patch) | |
tree | 8afe11e73c3141d272cd1c2846ef334b95268ff3 /share/examples | |
parent | e8dd921f5d957b10c4080ffc6c62d57ed3cf0a87 (diff) | |
download | FreeBSD-src-4ad78f55351b79384a81a09e6a6a6859ea4fd2e8.zip FreeBSD-src-4ad78f55351b79384a81a09e6a6a6859ea4fd2e8.tar.gz |
Clamp down with NOOBJ.
Diffstat (limited to 'share/examples')
-rw-r--r-- | share/examples/ipfilter/Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/share/examples/ipfilter/Makefile b/share/examples/ipfilter/Makefile index f2f27b8..01a0873 100644 --- a/share/examples/ipfilter/Makefile +++ b/share/examples/ipfilter/Makefile @@ -1,13 +1,12 @@ # $FreeBSD$ -.PATH: ${.CURDIR}/../../../contrib/ipfilter/rules - +NOOBJ= noobj BINDIR= /usr/share/examples FILES= README # dist sample files -FILES+= BASIC.NAT BASIC_1.FW BASIC_2.FW \ +DISTFILES= BASIC.NAT BASIC_1.FW BASIC_2.FW \ example.1 example.2 example.3 example.4 example.5 \ example.6 example.7 example.8 example.9 example.10 \ example.11 example.12 example.13 example.sr firewall \ @@ -24,10 +23,12 @@ FILES+= ipf-howto.txt # http://coombs.anu.edu.au/~avalon/ sample files FILES+= examples.txt rules.txt -all: - -install: ${FILES} - ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} \ - ${.ALLSRC} ${DESTDIR}${BINDIR}/ipfilter +beforeinstall: + cd ${.CURDIR}/../../../contrib/ipfilter/rules; \ + ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \ + ${DISTFILES} ${DESTDIR}${BINDIR}/ipfilter + cd ${.CURDIR}; \ + ${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} \ + ${FILES} ${DESTDIR}${BINDIR}/ipfilter .include <bsd.prog.mk> |