git: 1181481c7999 - main - shells/mksh: Generate man-compatible page
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 21 Apr 2025 18:55:04 UTC
The branch main has been updated by uzsolt: URL: https://cgit.FreeBSD.org/ports/commit/?id=1181481c7999da5eb93b46654dc28f392748346b commit 1181481c7999da5eb93b46654dc28f392748346b Author: Michael Proto <mike@jellydonut.org> AuthorDate: 2025-04-21 18:51:26 +0000 Commit: Zsolt Udvari <uzsolt@FreeBSD.org> CommitDate: 2025-04-21 18:51:26 +0000 shells/mksh: Generate man-compatible page Currently the mksh man page will not display on a base FreeBSD install, stating that groff is required to format the page: $ man mksh This manpage needs groff(1) to be rendered First install groff(1): pkg install groff Renames the src mksh.1 and passes it through mandoc to generate a man-compatible page to then be installed with the package. PR: 286190 Approved by: Rares Aioanei <schaiba@gmail.com> (maintainer) --- shells/mksh/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile index 4bc4568d9db7..336fc98b9b28 100644 --- a/shells/mksh/Makefile +++ b/shells/mksh/Makefile @@ -1,7 +1,7 @@ PORTNAME= mksh PORTVERSION= 59c -PORTREVISION= 1 DISTVERSIONPREFIX= R +PORTREVISION= 2 CATEGORIES= shells MASTER_SITES= https://www.mirbsd.org/MirOS/dist/mir/mksh/ \ https://pub.allbsd.org/MirOS/dist/mir/mksh/ @@ -27,6 +27,8 @@ do-build: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mksh ${STAGEDIR}${PREFIX}/bin + ${MV} ${WRKSRC}/mksh.1 ${WRKSRC}/mksh.1.orig + ${CAT} ${WRKSRC}/mksh.1.orig | mandoc -T man >${WRKSRC}/mksh.1 ${INSTALL_MAN} ${WRKSRC}/mksh.1 ${STAGEDIR}${PREFIX}/share/man/man1 do-install-EXAMPLES-on: