git: 1a47578ebdc3 - main - games/xcowsay: Move manpages to share/man

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 21 Jan 2024 17:43:50 UTC
The branch main has been updated by ehaupt:

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

commit 1a47578ebdc369caec966b0a1b88fcddf119f75b
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 17:21:46 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:26 +0000

    games/xcowsay: Move manpages to share/man
---
 games/xcowsay/Makefile  | 13 ++++++++-----
 games/xcowsay/pkg-plist |  2 +-
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/games/xcowsay/Makefile b/games/xcowsay/Makefile
index ff791981ff02..eacdf80bace5 100644
--- a/games/xcowsay/Makefile
+++ b/games/xcowsay/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xcowsay
-PORTVERSION=	1.6
-PORTREVISION=	2
+DISTVERSION=	1.6
+PORTREVISION=	3
 CATEGORIES=	games
 MASTER_SITES=	http://www.nickg.me.uk/files/ \
 		LOCAL/ehaupt
@@ -22,9 +22,12 @@ GNU_CONFIGURE=	yes
 
 OPTIONS_DEFINE=	DBUS
 
-DBUS_LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
-			libdbus-1.so:devel/dbus
-DBUS_CFLAGS=		-DWITH_DBUS
+DBUS_LIB_DEPENDS=	libdbus-1.so:devel/dbus \
+			libdbus-glib-1.so:devel/dbus-glib
 DBUS_CONFIGURE_ENABLE=	dbus
+DBUS_CFLAGS=		-DWITH_DBUS
+
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 .include <bsd.port.mk>
diff --git a/games/xcowsay/pkg-plist b/games/xcowsay/pkg-plist
index 3e1574098fb1..8b8b73124bbb 100644
--- a/games/xcowsay/pkg-plist
+++ b/games/xcowsay/pkg-plist
@@ -4,7 +4,7 @@ bin/xcowsay
 bin/xcowthink
 share/locale/pt_BR/LC_MESSAGES/xcowsay.mo
 share/locale/ru/LC_MESSAGES/xcowsay.mo
-man/man6/xcowsay.6.gz
+share/man/man6/xcowsay.6.gz
 %%DATADIR%%/cow_large.png
 %%DATADIR%%/cow_med.png
 %%DATADIR%%/cow_small.png