1# $FreeBSD$ 2 3CONFS= services 4PROG= services_mkdb 5MAN= services_mkdb.8 6SRCS= services_mkdb.c uniq.c extern.h 7 8.include <bsd.endian.mk> 9.include <src.opts.mk> 10.if ${MK_SERVICESDB} != "no" 11afterinstallconfig: 12 services_mkdb ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \ 13 ${DESTDIR}/etc/services 14.if defined(NO_ROOT) && defined(METALOG) 15 echo "./var/db/services.db type=file mode=0644 uname=root gname=wheel" | \ 16 cat -l >> ${METALOG} 17.endif 18.endif 19 20.include <bsd.prog.mk> 21