git: 34ee754ec77b - main - sysutils/xcdroast: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 27 Mar 2024 08:15:03 UTC
The branch main has been updated by arrowd:

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

commit 34ee754ec77b737630e4bbd846f7c9dafd80e5ae
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-03-27 08:13:27 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-27 08:13:27 +0000

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

diff --git a/sysutils/xcdroast/Makefile b/sysutils/xcdroast/Makefile
index c47dfc8065ff..6557df397771 100644
--- a/sysutils/xcdroast/Makefile
+++ b/sysutils/xcdroast/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xcdroast
 PORTVERSION=	0.98.a.16
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/0.98alpha16 \
 		http://www.xcdroast.org/download/
@@ -19,6 +19,7 @@ BUILD_DEPENDS=	cdrecord:sysutils/cdrtools
 
 USES=		gettext gmake gnome iconv pkgconfig
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 CONFIGURE_ENV+=	GTK_CONFIG="${GTK_CONFIG}" \
 		GLIB_CONFIG="${GLIB_CONFIG}"
diff --git a/sysutils/xcdroast/pkg-plist b/sysutils/xcdroast/pkg-plist
index 4cfc9b9bcd3f..c500356389d3 100644
--- a/sysutils/xcdroast/pkg-plist
+++ b/sysutils/xcdroast/pkg-plist
@@ -47,5 +47,5 @@ lib/xcdroast-0.98/sound/test.wav
 %%NLS%%share/locale/zh_CN.GB2312/LC_MESSAGES/xcdroast.mo
 %%NLS%%share/locale/zh_TW/LC_MESSAGES/xcdroast.mo
 %%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/xcdroast.mo
-man/man1/xcdroast.1.gz
+share/man/man1/xcdroast.1.gz
 @unexec if pw groupshow -n xcdwrite 2>/dev/null 1>&2; then pw groupdel -n xcdwrite; fi