git: 42ca8a412f35 - main - sysutils/gsmartcontrol: Moved man to share/man

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 05:44:43 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=42ca8a412f35cd598af83c86931e3f28e099a76f

commit 42ca8a412f35cd598af83c86931e3f28e099a76f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-26 05:34:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-26 05:34:40 +0000

    sysutils/gsmartcontrol: Moved man to share/man
    
    Approved by:    portmgr (blanket)
---
 sysutils/gsmartcontrol/Makefile  | 3 ++-
 sysutils/gsmartcontrol/pkg-plist | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/sysutils/gsmartcontrol/Makefile b/sysutils/gsmartcontrol/Makefile
index 43cfd83b3a6c..c0cc5fa2dcb0 100644
--- a/sysutils/gsmartcontrol/Makefile
+++ b/sysutils/gsmartcontrol/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gsmartcontrol
 PORTVERSION=	1.1.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}
 
@@ -28,6 +28,7 @@ USE_CXXSTD=	c++11
 USE_GNOME=	atkmm cairo glibmm gtk30 gtkmm30 libsigc++20 pangomm
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 CONFIGURE_ARGS=	--disable-libglade
 
 OPTIONS_DEFINE=	DOCS
diff --git a/sysutils/gsmartcontrol/pkg-plist b/sysutils/gsmartcontrol/pkg-plist
index 0b9787b1ef14..bd9eaca01a66 100644
--- a/sysutils/gsmartcontrol/pkg-plist
+++ b/sysutils/gsmartcontrol/pkg-plist
@@ -1,6 +1,6 @@
 bin/gsmartcontrol-root
-man/man1/gsmartcontrol-root.1.gz
-man/man1/gsmartcontrol.1.gz
+share/man/man1/gsmartcontrol-root.1.gz
+share/man/man1/gsmartcontrol.1.gz
 sbin/gsmartcontrol
 share/applications/gsmartcontrol.desktop
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS.txt