Files
Lexi Winter bf84861460 packages: Rename unbound to local-unbound
This more accurately reflects its purpose, and its contents, since
everything in the package is prefixed with "local-".

While here, add a message on upgrade about regenerating the config.

MFC after:	3 seconds
Requested by:	des
Reviewed by:	des
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53056
2025-10-15 13:29:18 +01:00

16 lines
365 B
Makefile

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"