aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/unbound/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/unbound/Makefile.inc')
-rw-r--r--usr.sbin/unbound/Makefile.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/usr.sbin/unbound/Makefile.inc b/usr.sbin/unbound/Makefile.inc
new file mode 100644
index 000000000000..84dfdbf736bd
--- /dev/null
+++ b/usr.sbin/unbound/Makefile.inc
@@ -0,0 +1,15 @@
+MK_WERROR= no
+NO_WTHREAD_SAFETY= true
+PACKAGE= local-unbound
+
+.for man in ${MAN}
+${man}: ${UNBOUNDDIR}/doc/${man:S/local-//}
+ sed -E \
+ -e 's/\<(fI)?u(nbound\>[^.])/\1local-u\2/g' \
+ -e 's/\<(fI)?U(nbound\>[^.])/\1Local-u\2/g' \
+ -e 's/\/local-unbound/\/unbound/g' \
+ <${.ALLSRC} >${.TARGET}
+CLEANFILES += ${man}
+.endfor
+
+.include "../Makefile.inc"