git: af584dfca6e4 - main - deskutils/spice-gtk: Moved man to share/man

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

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

commit af584dfca6e44b25cb0203355295e04bb67fc7ed
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-23 06:30:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-23 06:51:49 +0000

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

diff --git a/deskutils/spice-gtk/Makefile b/deskutils/spice-gtk/Makefile
index ec6da94fcb81..0884e6bf917d 100644
--- a/deskutils/spice-gtk/Makefile
+++ b/deskutils/spice-gtk/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	spice-gtk
 PORTVERSION=	0.37
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES?=	deskutils gnome
 MASTER_SITES=	http://www.spice-space.org/download/gtk/
 
@@ -31,6 +31,7 @@ CONFIGURE_ENV+=		OPENSSL_CFLAGS="${SPICE_SSL_CFLAGS}" \
 			OPENSSL_LIBS="${SPICE_SSL_LIBS}"
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 USE_LDCONFIG=	yes
 
 # we can't use pathfix with USES=autoreconf
diff --git a/deskutils/spice-gtk/pkg-plist b/deskutils/spice-gtk/pkg-plist
index cc38b9369525..2a3f148b2654 100644
--- a/deskutils/spice-gtk/pkg-plist
+++ b/deskutils/spice-gtk/pkg-plist
@@ -41,7 +41,7 @@ lib/libspice-client-gtk-3.0.so.5
 lib/libspice-client-gtk-3.0.so.5.0.0
 libdata/pkgconfig/spice-client-glib-2.0.pc
 libdata/pkgconfig/spice-client-gtk-3.0.pc
-man/man1/spice-client.1.gz
+share/man/man1/spice-client.1.gz
 %%PORTDOCS%%%%DOCSDIR%%/SpiceAudio.html
 %%PORTDOCS%%%%DOCSDIR%%/SpiceChannel.html
 %%PORTDOCS%%%%DOCSDIR%%/SpiceCursorChannel.html