opnsense-src/etc/mtree/Makefile
Emmanuel Vadot 317c92dd63 pkgbase: Create a FreeBSD-mtree package
And put the mtree binary and files in it.
Useful to create small mfsroot using /etc/rc.d/var without
having to install FreeBSD-utilities.

MFC after:	2 weeks
Sponsored by:	Beckhoff Automation GmbH & Co. KG
Differential Revision:	https://reviews.freebsd.org/D33442

(cherry picked from commit dcf9d46a3f)
2022-01-05 18:23:52 +01:00

35 lines
641 B
Makefile

# $FreeBSD$
.include <src.opts.mk>
PACKAGE= mtree
# NOTE: BSD.debug.dist is unconditionally installed for developer ease-of-use.
FILES= \
BSD.debug.dist \
BSD.include.dist \
BSD.root.dist \
${_BSD.lib32.dist} \
${_BSD.libsoft.dist} \
${_BSD.sendmail.dist} \
${_BSD.tests.dist} \
BSD.usr.dist \
BSD.var.dist
.if ${MK_LIB32} != "no"
_BSD.lib32.dist= BSD.lib32.dist
.endif
.if ${MK_LIBSOFT} != "no"
_BSD.libsoft.dist= BSD.libsoft.dist
.endif
.if ${MK_SENDMAIL} != "no"
_BSD.sendmail.dist= BSD.sendmail.dist
.endif
.if ${MK_TESTS} != "no"
_BSD.tests.dist= BSD.tests.dist
.endif
NO_OBJ=
FILESDIR= /etc/mtree
.include <bsd.prog.mk>