diff --git a/usr.sbin/unbound/Makefile.inc b/usr.sbin/unbound/Makefile.inc index 433c6cd122a5..cdb1faf5a14f 100644 --- a/usr.sbin/unbound/Makefile.inc +++ b/usr.sbin/unbound/Makefile.inc @@ -7,8 +7,8 @@ PACKAGE= unbound .for man in ${MAN} ${man}: ${UNBOUNDDIR}/doc/${man:S/local-//} sed -E \ - -e 's/\<(fI)?unbound\>/\1local-unbound/g' \ - -e 's/\<(fI)?Unbound\>/Local-unbound/g' \ + -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}