376a4e3255
This is pkgbase related as it switches to CONFS to properly tag this as a config file. Approved by: will (mentor) Differential Revision: https://reviews.freebsd.org/D16848
21 lines
482 B
Makefile
21 lines
482 B
Makefile
# $FreeBSD$
|
|
|
|
CONFS= services
|
|
PROG= services_mkdb
|
|
MAN= services_mkdb.8
|
|
SRCS= services_mkdb.c uniq.c extern.h
|
|
|
|
.include <bsd.endian.mk>
|
|
.include <src.opts.mk>
|
|
.if ${MK_SERVICESDB} != "no"
|
|
afterinstallconfig:
|
|
services_mkdb ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \
|
|
${DESTDIR}/etc/services
|
|
.if defined(NO_ROOT) && defined(METALOG)
|
|
echo "./var/db/services.db type=file mode=0644 uname=root gname=wheel" | \
|
|
cat -l >> ${METALOG}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|