1PACKAGE= runtime 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" 11# SERVICES_MKDB_CMD defined here 12.include <src.tools.mk> 13 14afterinstallconfig: 15 ${SERVICES_MKDB_CMD} ${CAP_MKDB_ENDIAN} -q -o ${DESTDIR}/var/db/services.db \ 16 ${DESTDIR}/etc/services 17.if defined(NO_ROOT) && defined(METALOG) 18 echo ".${DISTBASE}/var/db/services.db type=file mode=0644 uname=root gname=wheel" | \ 19 cat -l >> ${METALOG} 20.endif 21.endif 22 23.include <bsd.prog.mk> 24