git: 361c6eddcfd4 - main - x11-clocks/wmbday: Move man pages to share/man

From: Christian Weisgerber <naddy_at_FreeBSD.org>
Date: Thu, 14 Mar 2024 15:40:45 UTC
The branch main has been updated by naddy:

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

commit 361c6eddcfd44a118c6e9698f224f01977e8bf07
Author:     Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-03-14 15:36:14 +0000
Commit:     Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-03-14 15:36:14 +0000

    x11-clocks/wmbday: Move man pages to share/man
    
    Approved by:    portmgr (blanket)
---
 x11-clocks/wmbday/Makefile  | 8 ++++++--
 x11-clocks/wmbday/pkg-plist | 2 +-
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/x11-clocks/wmbday/Makefile b/x11-clocks/wmbday/Makefile
index d8ed314df948..cc0fabcc1277 100644
--- a/x11-clocks/wmbday/Makefile
+++ b/x11-clocks/wmbday/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wmbday
 PORTVERSION=	0.3.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	x11-clocks
 MASTER_SITES=	http://buzzinhornetz.ath.cx/wmbday/files/ \
 		LOCAL/uqs
@@ -11,9 +11,13 @@ WWW=		http://buzzinhornetz.ath.cx/wmbday/
 
 BUILD_DEPENDS=	xmessage:x11/xmessage
 
-USES=		uidfix
+USES=		uidfix xorg
+
+USE_XORG=	x11 xext xpm
+
 HAS_CONFIGURE=	yes
 MAKEFILE=	BSDmakefile
 MAKE_ENV+=	${CONFIGURE_ENV} X11BASE=${LOCALBASE}
+MAKE_ARGS=	MANDIR="${PREFIX}/share/man/man"
 
 .include <bsd.port.mk>
diff --git a/x11-clocks/wmbday/pkg-plist b/x11-clocks/wmbday/pkg-plist
index b02e76f11b9c..b20b4402b3ad 100644
--- a/x11-clocks/wmbday/pkg-plist
+++ b/x11-clocks/wmbday/pkg-plist
@@ -1,2 +1,2 @@
 bin/wmbday
-man/man1/wmbday.1.gz
+share/man/man1/wmbday.1.gz