summaryrefslogtreecommitdiffstats
path: root/share/examples/ipfilter/Makefile
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-12-17 13:59:35 +0000
committerru <ru@FreeBSD.org>2001-12-17 13:59:35 +0000
commitbbef88e1a5535074053d60fa0fa2b5832f7de5ea (patch)
tree7fd7e5683e347709f8bd623688bd94074689c72a /share/examples/ipfilter/Makefile
parent650091c3142d295b29e3809e946f4d064cc805a4 (diff)
downloadFreeBSD-src-bbef88e1a5535074053d60fa0fa2b5832f7de5ea.zip
FreeBSD-src-bbef88e1a5535074053d60fa0fa2b5832f7de5ea.tar.gz
FILES support for bsd.prog.mk. See bsd.README for details.
Stolen from: NetBSD
Diffstat (limited to 'share/examples/ipfilter/Makefile')
-rw-r--r--share/examples/ipfilter/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/share/examples/ipfilter/Makefile b/share/examples/ipfilter/Makefile
index 01a0873..5ddabd3 100644
--- a/share/examples/ipfilter/Makefile
+++ b/share/examples/ipfilter/Makefile
@@ -1,12 +1,12 @@
# $FreeBSD$
NOOBJ= noobj
-BINDIR= /usr/share/examples
FILES= README
# dist sample files
-DISTFILES= BASIC.NAT BASIC_1.FW BASIC_2.FW \
+.PATH: ${.CURDIR}/../../../contrib/ipfilter/rules
+FILES+= 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 \
@@ -23,12 +23,6 @@ FILES+= ipf-howto.txt
# http://coombs.anu.edu.au/~avalon/ sample files
FILES+= examples.txt rules.txt
-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
+FILESDIR= ${SHAREDIR}/examples/ipfilter
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud