git: 4f1440dda35a - main - x11/*: Move manpages to share/man

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 07 Mar 2024 08:52:49 UTC
The branch main has been updated by arrowd:

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

commit 4f1440dda35af6712b65151dde67ef867429e070
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2024-03-07 08:41:24 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-03-07 08:51:30 +0000

    x11/*: Move manpages to share/man
    
    Approved by:    portmgr (blanket)
---
 x11/slick-greeter/Makefile  | 3 +++
 x11/slick-greeter/pkg-plist | 8 ++++----
 x11/wbar/Makefile           | 3 ++-
 x11/wbar/pkg-plist          | 8 ++++----
 x11/x-on-resize/Makefile    | 4 +++-
 x11/xidle/Makefile          | 8 +++++---
 x11/xsnow/Makefile          | 2 ++
 x11/xsnow/pkg-plist         | 2 +-
 x11/xtermcontrol/Makefile   | 4 +++-
 9 files changed, 27 insertions(+), 15 deletions(-)

diff --git a/x11/slick-greeter/Makefile b/x11/slick-greeter/Makefile
index 6171ec712495..4d2780ec2654 100644
--- a/x11/slick-greeter/Makefile
+++ b/x11/slick-greeter/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	slick-greeter
 PORTVERSION=	2.0.2
+PORTREVISION=	1
 CATEGORIES=	x11
 
 MAINTAINER=	ericbsd@FreeBSD.org
@@ -28,8 +29,10 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	linuxmint
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 SHEBANG_FILES=	files/usr/bin/slick-greeter-check-hidpi \
 		files/usr/bin/slick-greeter-set-keyboard-layout \
+		files/usr/bin/slick-greeter-enable-tap-to-click \
 		makepot
 bash_OLD_CMD=	/usr/bin/bash
 bash_CMD=	/bin/sh
diff --git a/x11/slick-greeter/pkg-plist b/x11/slick-greeter/pkg-plist
index 79f030558149..f628e6e50469 100644
--- a/x11/slick-greeter/pkg-plist
+++ b/x11/slick-greeter/pkg-plist
@@ -1,10 +1,10 @@
 bin/slick-greeter-check-hidpi
 bin/slick-greeter-enable-tap-to-click
 bin/slick-greeter-set-keyboard-layout
-man/man1/slick-greeter-check-hidpi.1.gz
-man/man1/slick-greeter-enable-tap-to-click.1.gz
-man/man1/slick-greeter-set-keyboard-layout.1.gz
-man/man8/slick-greeter.8.gz
+share/man/man1/slick-greeter-check-hidpi.1.gz
+share/man/man1/slick-greeter-enable-tap-to-click.1.gz
+share/man/man1/slick-greeter-set-keyboard-layout.1.gz
+share/man/man8/slick-greeter.8.gz
 sbin/slick-greeter
 share/locale/af/LC_MESSAGES/slick-greeter.mo
 share/locale/am/LC_MESSAGES/slick-greeter.mo
diff --git a/x11/wbar/Makefile b/x11/wbar/Makefile
index 018c50c4e81a..1f4c07b01d2b 100644
--- a/x11/wbar/Makefile
+++ b/x11/wbar/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wbar
 PORTVERSION=	2.3.4
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	x11
 MASTER_SITES=	https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${PORTNAME}/
 
@@ -16,6 +16,7 @@ LIB_DEPENDS=	libImlib2.so:graphics/imlib2
 USES=		compiler:c++11-lang gettext gmake gnome pkgconfig tar:tgz
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 CONFIGURE_ARGS=	--exec-prefix=${PREFIX}
 LDFLAGS+=	-L${LOCALBASE}/lib
 
diff --git a/x11/wbar/pkg-plist b/x11/wbar/pkg-plist
index 14a1ffc0f03e..338a74a56a2a 100644
--- a/x11/wbar/pkg-plist
+++ b/x11/wbar/pkg-plist
@@ -2,10 +2,10 @@ bin/wbar
 %%WBARCONFIG%%bin/wbar-config
 etc/bash_completion.d/wbar
 etc/wbar.d/wbar.cfg
-%%WBARCONFIG%%man/es/man1/wbar-config.1.gz
-man/es/man1/wbar.1.gz
-%%WBARCONFIG%%man/man1/wbar-config.1.gz
-man/man1/wbar.1.gz
+%%WBARCONFIG%%share/man/es/man1/wbar-config.1.gz
+share/man/es/man1/wbar.1.gz
+%%WBARCONFIG%%share/man/man1/wbar-config.1.gz
+share/man/man1/wbar.1.gz
 %%DESKTOPDIR%%/wbar.desktop
 %%NLS%%share/locale/de/LC_MESSAGES/wbar.mo
 %%NLS%%share/locale/es/LC_MESSAGES/wbar.mo
diff --git a/x11/x-on-resize/Makefile b/x11/x-on-resize/Makefile
index 5d0c9525d9b4..ecb29997f315 100644
--- a/x11/x-on-resize/Makefile
+++ b/x11/x-on-resize/Makefile
@@ -1,4 +1,5 @@
 PORTNAME=	x-on-resize
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2
 CATEGORIES=	x11
@@ -21,9 +22,10 @@ GL_TAGNAME=	f59c9247e682b95f4091def7575490466f131131
 USE_XORG=	x11 xorg-macros xrandr
 
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 PLIST_FILES=	bin/x-on-resize \
-		man/man1/x-on-resize.1.gz
+		share/man/man1/x-on-resize.1.gz
 
 PORTEXAMPLES=	xrandr-auto
 
diff --git a/x11/xidle/Makefile b/x11/xidle/Makefile
index 120112006b86..1804680defcf 100644
--- a/x11/xidle/Makefile
+++ b/x11/xidle/Makefile
@@ -1,22 +1,24 @@
 PORTNAME=	xidle
 PORTVERSION=	26052015
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11
 MASTER_SITES=	LOCAL/novel
 
 MAINTAINER=	novel@FreeBSD.org
 COMMENT=	Run a program on X inactivity
 
+LICENSE=	BSD2CLAUSE
+
 USES=		tar:bzip2 xorg
 CFLAGS+=	-I${LOCALBASE}/include -D__dead=static
 MAKE_ARGS+=	X11BASE="${LOCALBASE}" \
 		CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
 
 USE_XORG=	x11 xscrnsaver xcb xau xdmcp xext
-PLIST_FILES=	bin/xidle man/man1/xidle.1.gz
+PLIST_FILES=	bin/xidle share/man/man1/xidle.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xidle ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/xidle.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/xidle.1 ${STAGEDIR}${PREFIX}/share/man/man1
 
 .include <bsd.port.mk>
diff --git a/x11/xsnow/Makefile b/x11/xsnow/Makefile
index db6e3ad917ae..6f29451dc0cc 100644
--- a/x11/xsnow/Makefile
+++ b/x11/xsnow/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xsnow
 PORTVERSION=	3.7.6
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	SF/${PORTNAME}/
 
@@ -17,6 +18,7 @@ USES=		compiler:c11 gmake gnome pkgconfig xorg
 USE_GNOME=	cairo gdkpixbuf2 glib20 gtk30 libxml2
 USE_XORG=	x11 xext xinerama xpm xt xtst xorgproto
 GNU_CONFIGURE=	yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 OPTIONS_DEFINE=		NLS
 OPTIONS_DEFAULT=	NLS
diff --git a/x11/xsnow/pkg-plist b/x11/xsnow/pkg-plist
index fc904da8516b..d2fa64c769ba 100644
--- a/x11/xsnow/pkg-plist
+++ b/x11/xsnow/pkg-plist
@@ -1,5 +1,5 @@
 bin/xsnow
-man/man6/xsnow.6.gz
+share/man/man6/xsnow.6.gz
 share/applications/xsnow.desktop
 %%NLS%%share/locale/cs/LC_MESSAGES/xsnow.mo
 %%NLS%%share/locale/da/LC_MESSAGES/xsnow.mo
diff --git a/x11/xtermcontrol/Makefile b/x11/xtermcontrol/Makefile
index 9b35ca4c42d2..4dbbc611329d 100644
--- a/x11/xtermcontrol/Makefile
+++ b/x11/xtermcontrol/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	xtermcontrol
 PORTVERSION=	3.6
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://www.thrysoee.dk/xtermcontrol/ \
 		http://fossies.org/linux/privat/
@@ -12,7 +13,8 @@ LICENSE=	GPLv2+
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	ac_cv_header_libintl_h=no
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
-PLIST_FILES=	bin/xtermcontrol man/man1/xtermcontrol.1.gz
+PLIST_FILES=	bin/xtermcontrol share/man/man1/xtermcontrol.1.gz
 
 .include <bsd.port.mk>