Date: Thu, 29 Feb 2024 19:53:07 GMT From: Muhammad Moinur Rahman <bofh@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: b18af1280f12 - main - Mk/Scripts: Add qa check for man pages Message-ID: <202402291953.41TJr7Kg079647@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=b18af1280f1241d8c8a0622d7d29a47d0f4b656c commit b18af1280f1241d8c8a0622d7d29a47d0f4b656c Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-02-29 19:40:25 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-02-29 19:52:23 +0000 Mk/Scripts: Add qa check for man pages portmgr@ has been actively working on moving man pages from ${PREFIX}/man to ${PREFIX}/share/man. Majority of the ports belonging to non-committers or aliases has been migrated to ${PREFIX}/share/man. There are still around 1000+ ports remaining mainly from the committers. portmgr@ has planned to make the hard change after the split of 2024Q3 after which ports that installs man pages in ${PREFIX}/man will no longer build or will be BROKEN. Approved by: portmgr --- Mk/Scripts/qa.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Mk/Scripts/qa.sh b/Mk/Scripts/qa.sh index 4ba045601ebb..c570550dd9f6 100644 --- a/Mk/Scripts/qa.sh +++ b/Mk/Scripts/qa.sh @@ -1034,10 +1034,21 @@ reinplace() fi } +prefixman() { + local manlist + + manlist=$(find ${STAGEDIR}${PREFIX}/man -type f) + if [ -n "${manlist}" ]; then + warn "Installing man files in ${PREFIX}/man is no longer supported. Consider installing these files in ${PREFIX}/share/man instead." + ls -liTd ${manlist} + fi + return 0 +} + checks="shebang symlinks paths stripped desktopfileutils sharedmimeinfo" checks="$checks suidfiles libtool libperl prefixvar baselibs terminfo" checks="$checks proxydeps sonames perlcore no_arch gemdeps gemfiledeps flavors" -checks="$checks license depends_blacklist pkgmessage reinplace" +checks="$checks license depends_blacklist pkgmessage reinplace prefixman" ret=0 cd ${STAGEDIR} || exit 1
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402291953.41TJr7Kg079647>