git: 9e997b3e43b6 - main - deskutils/xdg-desktop-portal: Introduce MANPAGES option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Jan 2025 14:21:45 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=9e997b3e43b678c42141b44724142a19e74f2e24
commit 9e997b3e43b678c42141b44724142a19e74f2e24
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-01-24 14:21:12 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-01-24 14:21:35 +0000
deskutils/xdg-desktop-portal: Introduce MANPAGES option
Reported by: bapt
---
deskutils/xdg-desktop-portal/Makefile | 9 ++++++++-
deskutils/xdg-desktop-portal/pkg-plist | 1 +
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/deskutils/xdg-desktop-portal/Makefile b/deskutils/xdg-desktop-portal/Makefile
index a25f7fa4cec1..0f005c804faf 100644
--- a/deskutils/xdg-desktop-portal/Makefile
+++ b/deskutils/xdg-desktop-portal/Makefile
@@ -20,10 +20,17 @@ USE_GITHUB= yes
GH_ACCOUNT= flatpak
USE_GNOME= gdkpixbuf2 glib20
-MESON_ARGS= -Ddocbook-docs=disabled -Dman-pages=disabled -Dpytest=disabled \
+MESON_ARGS= -Ddocbook-docs=disabled -Dpytest=disabled \
-Dflatpak-interfaces=disabled -Dsandboxed-image-validation=false \
-Dsystemd=disabled
+OPTIONS_DEFINE= MANPAGES
+
+MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils
+MANPAGES_MESON_ENABLED= man-pages
+
+OPTIONS_SUB= yes
+
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/lib/systemd
diff --git a/deskutils/xdg-desktop-portal/pkg-plist b/deskutils/xdg-desktop-portal/pkg-plist
index 7904ec6c8949..8f3e29632c5d 100644
--- a/deskutils/xdg-desktop-portal/pkg-plist
+++ b/deskutils/xdg-desktop-portal/pkg-plist
@@ -92,4 +92,5 @@ share/locale/tr/LC_MESSAGES/xdg-desktop-portal.mo
share/locale/uk/LC_MESSAGES/xdg-desktop-portal.mo
share/locale/zh_CN/LC_MESSAGES/xdg-desktop-portal.mo
share/locale/zh_TW/LC_MESSAGES/xdg-desktop-portal.mo
+%%MANPAGES%%share/man/man5/portals.conf.5.gz
share/pkgconfig/xdg-desktop-portal.pc