mirror of
https://github.com/opnsense/src.git
synced 2026-06-04 22:32:43 -04:00
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
23 lines
563 B
Makefile
23 lines
563 B
Makefile
PACKAGE= runtime
|
|
|
|
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"
|
|
# SERVICES_MKDB_CMD defined here
|
|
.include <src.tools.mk>
|
|
|
|
afterinstallconfig:
|
|
${SERVICES_MKDB_CMD} ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \
|
|
${DESTDIR}/etc/services
|
|
.if defined(NO_ROOT) && defined(METALOG)
|
|
echo ".${DISTBASE}/var/db/services.db type=file mode=0644 uname=root gname=wheel" | \
|
|
cat -l >> ${METALOG}
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|