summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Osipov <michaelo@FreeBSD.org>2025-06-22 18:52:02 +0200
committerMichael Osipov <michaelo@FreeBSD.org>2025-06-23 21:41:36 +0200
commit744607b15090f833a990bd83d5760a3aa829c980 (patch)
tree6aab7259c0922a111ee0d87f5ac55a85ecc304de
parentdevel/py-pytest-runner: Remove expired port (diff)
sysutils/pacman: Don't abuse DOCS for MANPAGES
PR: 287652 Approved by: jrm (mentor), vishwin (maintainer) Differential Revision: https://reviews.freebsd.org/D50972
-rw-r--r--sysutils/pacman/Makefile9
-rw-r--r--sysutils/pacman/pkg-plist32
2 files changed, 21 insertions, 20 deletions
diff --git a/sysutils/pacman/Makefile b/sysutils/pacman/Makefile
index 33859d25bfb1..d6712d66b5ab 100644
--- a/sysutils/pacman/Makefile
+++ b/sysutils/pacman/Makefile
@@ -1,5 +1,6 @@
PORTNAME= pacman
DISTVERSION= 7.0.0
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= https://gitlab.archlinux.org/${PORTNAME}/${PORTNAME}/-/releases/v${DISTVERSION}/downloads/
@@ -40,8 +41,8 @@ PLIST_SUB= PACMAN_ROOT="${PACMAN_ROOT:C,^${PREFIX}/,,}"
PORTEXAMPLES= *
PKGMESSAGE= ${PKGDIR}/pkg-message-${FLAVOR:U}
-OPTIONS_DEFINE= CURL DOCS GPGME EXAMPLES NLS
-OPTIONS_DEFAULT=CURL DOCS GPGME
+OPTIONS_DEFINE= CURL EXAMPLES GPGME MANPAGES NLS
+OPTIONS_DEFAULT=CURL GPGME MANPAGES
OPTIONS_EXCLUDE=NLS # XXX: meson cannot find ngettext(3) despite gettext-runtime
OPTIONS_SUB= yes
@@ -49,8 +50,8 @@ CURL_DESC= Use libcurl fetcher instead of external curl/wget
CURL_MESON_ENABLED= curl
CURL_LIB_DEPENDS= libcurl.so:ftp/curl
-DOCS_MESON_ENABLED= doc
-DOCS_BUILD_DEPENDS= a2x:textproc/asciidoc
+MANPAGES_MESON_ENABLED= doc
+MANPAGES_BUILD_DEPENDS= a2x:textproc/asciidoc
GPGME_DESC= Use GPGME for PGP signature verification
GPGME_MESON_ENABLED= gpgme
diff --git a/sysutils/pacman/pkg-plist b/sysutils/pacman/pkg-plist
index bb636fed10b8..c90e4b174627 100644
--- a/sysutils/pacman/pkg-plist
+++ b/sysutils/pacman/pkg-plist
@@ -239,22 +239,22 @@ share/makepkg/util/pkgbuild.sh
share/makepkg/util/schema.sh
share/makepkg/util/source.sh
share/makepkg/util/util.sh
-%%DOCS%%share/man/man1/makepkg-template.1.gz
-%%DOCS%%share/man/man5/BUILDINFO.5.gz
-%%DOCS%%share/man/man5/PKGBUILD.5.gz
-%%DOCS%%share/man/man5/alpm-hooks.5.gz
-%%DOCS%%share/man/man5/makepkg.conf.5.gz
-%%DOCS%%share/man/man5/pacman-hooks.5.gz
-%%DOCS%%share/man/man5/pacman.conf.5.gz
-%%DOCS%%share/man/man8/makepkg.8.gz
-%%DOCS%%share/man/man8/pacman-conf.8.gz
-%%DOCS%%share/man/man8/pacman-db-upgrade.8.gz
-%%DOCS%%share/man/man8/pacman-key.8.gz
-%%DOCS%%share/man/man8/pacman.8.gz
-%%DOCS%%share/man/man8/repo-add.8.gz
-%%DOCS%%share/man/man8/repo-remove.8.gz
-%%DOCS%%share/man/man8/testpkg.8.gz
-%%DOCS%%share/man/man8/vercmp.8.gz
+%%MANPAGES%%share/man/man1/makepkg-template.1.gz
+%%MANPAGES%%share/man/man5/BUILDINFO.5.gz
+%%MANPAGES%%share/man/man5/PKGBUILD.5.gz
+%%MANPAGES%%share/man/man5/alpm-hooks.5.gz
+%%MANPAGES%%share/man/man5/makepkg.conf.5.gz
+%%MANPAGES%%share/man/man5/pacman-hooks.5.gz
+%%MANPAGES%%share/man/man5/pacman.conf.5.gz
+%%MANPAGES%%share/man/man8/makepkg.8.gz
+%%MANPAGES%%share/man/man8/pacman-conf.8.gz
+%%MANPAGES%%share/man/man8/pacman-db-upgrade.8.gz
+%%MANPAGES%%share/man/man8/pacman-key.8.gz
+%%MANPAGES%%share/man/man8/pacman.8.gz
+%%MANPAGES%%share/man/man8/repo-add.8.gz
+%%MANPAGES%%share/man/man8/repo-remove.8.gz
+%%MANPAGES%%share/man/man8/testpkg.8.gz
+%%MANPAGES%%share/man/man8/vercmp.8.gz
%%DATADIR%%/PKGBUILD-split.proto
%%DATADIR%%/PKGBUILD-vcs.proto
%%DATADIR%%/PKGBUILD.proto