git: 32ae983d5065 - main - deskutils/presage: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Feb 2024 06:52:13 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=32ae983d5065ea26595116d47722c22ab4449832

commit 32ae983d5065ea26595116d47722c22ab4449832
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 06:25:23 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 06:51:47 +0000

    deskutils/presage: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 deskutils/presage/Makefile  |  4 +++-
 deskutils/presage/pkg-plist | 12 ++++++------
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/deskutils/presage/Makefile b/deskutils/presage/Makefile
index d55d1798360e..81798114daa0 100644
--- a/deskutils/presage/Makefile
+++ b/deskutils/presage/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	presage
 DISTVERSION=	0.9.1
+PORTREVISION=	1
 CATEGORIES=	deskutils kde
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTVERSION}
 
@@ -29,11 +30,12 @@ SHEBANG_FILES=	apps/dbus/presage_dbus_python_demo \
 		bindings/python/presage_python_demo.in
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-documentation \
 		--disable-gprompter \
 		--disable-static
 INSTALL_TARGET=	install-strip
 
-CONFLICTS_INSTALL=	soothsayer # man/man1/text2ngram.1.gz
+CONFLICTS_INSTALL=	soothsayer # share/man/man1/text2ngram.1.gz
 
 .include <bsd.port.mk>
diff --git a/deskutils/presage/pkg-plist b/deskutils/presage/pkg-plist
index 8747866534f4..3d926052e3c9 100644
--- a/deskutils/presage/pkg-plist
+++ b/deskutils/presage/pkg-plist
@@ -14,12 +14,12 @@ lib/libpresage.so.1.1.1
 %%PYTHON_SITELIBDIR%%/presage_dbus_service.py
 %%PYTHON_SITELIBDIR%%/presage_dbus_service.pyc
 %%PYTHON_SITELIBDIR%%/presage_dbus_service.pyo
-man/man1/presage_dbus_python_demo.1.gz
-man/man1/presage_dbus_service.1.gz
-man/man1/presage_demo.1.gz
-man/man1/presage_demo_text.1.gz
-man/man1/presage_simulator.1.gz
-man/man1/text2ngram.1.gz
+share/man/man1/presage_dbus_python_demo.1.gz
+share/man/man1/presage_dbus_service.1.gz
+share/man/man1/presage_demo.1.gz
+share/man/man1/presage_demo_text.1.gz
+share/man/man1/presage_simulator.1.gz
+share/man/man1/text2ngram.1.gz
 share/dbus-1/services/org.gnome.presage.service
 %%DATADIR%%/abbreviations_en.txt
 %%DATADIR%%/abbreviations_it.txt