git: 5abb4eb89f84 - main - x11-fm/rodent: moved manpages to share/man

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Tue, 05 Mar 2024 21:12:58 UTC
The branch main has been updated by rodrigo:

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

commit 5abb4eb89f84594148b8511c1a0d7845cf120743
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-03-05 21:05:33 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-03-05 21:12:25 +0000

    x11-fm/rodent: moved manpages to share/man
    
    Set GNU_CONFIGURE_MANPREFIX and fix plist
    Fix formatting to make linters happy
---
 x11-fm/rodent/Makefile                             | 25 +++++++++++-----------
 x11-fm/rodent/files/patch-apps_fgr_man_Makefile.in | 12 +++++++++++
 .../files/patch-apps_rodent-diff_man_Makefile.in   | 12 +++++++++++
 .../files/patch-apps_rodent-fgr_man_Makefile.in    | 12 +++++++++++
 .../files/patch-apps_rodent-fm_man_Makefile.in     | 12 +++++++++++
 .../patch-apps_rodent-iconmgr_man_Makefile.in      | 12 +++++++++++
 .../files/patch-apps_rodent-pkg_man_Makefile.in    | 12 +++++++++++
 x11-fm/rodent/pkg-plist                            | 24 ++++++++++-----------
 8 files changed, 96 insertions(+), 25 deletions(-)

diff --git a/x11-fm/rodent/Makefile b/x11-fm/rodent/Makefile
index 18874065da01..ceaa3aa1525d 100644
--- a/x11-fm/rodent/Makefile
+++ b/x11-fm/rodent/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rodent
 PORTVERSION=	5.3.16.3
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	x11-fm
 MASTER_SITES=	SF/xffm/${PORTVERSION}
 
@@ -10,32 +10,31 @@ WWW=		http://xffm.org/
 
 LICENSE=	GPLv3
 
-BUILD_DEPENDS=	gawk:lang/gawk \
-		bash:shells/bash \
+BUILD_DEPENDS=	bash:shells/bash \
+		gawk:lang/gawk \
 		intltoolize:textproc/intltool
 LIB_DEPENDS=	libcairo.so:graphics/cairo \
-		libmagic.so.1:sysutils/file \
+		libmagic.so:sysutils/file \
 		librfm.so:x11-fm/librfm
 
 USES=		desktop-file-utils gmake gnome libtool:keepla pkgconfig \
 		shebangfix tar:bzip2
 USE_GNOME=	glib20 gtk20 librsvg2 libxml2
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--docdir=${DOCSDIR}
 USE_LDCONFIG=	yes
-INSTALL_TARGET=	install-strip
+
 SHEBANG_FILES=	configure
 
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS=			--docdir=${DOCSDIR}
+INSTALL_TARGET=			install-strip
+
 PORTDOCS=	*
 
-OPTIONS_DEFINE=	NLS DOCS
+OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 
-NLS_USES=	gettext
+NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
-#post-patch:
-#	${REINPLACE_CMD} -e 's,^\(docdir = \).*,\1${DOCSDIR},' \
-#		${WRKSRC}/Build/share/Makefile.in
-
 .include <bsd.port.mk>
diff --git a/x11-fm/rodent/files/patch-apps_fgr_man_Makefile.in b/x11-fm/rodent/files/patch-apps_fgr_man_Makefile.in
new file mode 100644
index 000000000000..6ffd3cbbaf60
--- /dev/null
+++ b/x11-fm/rodent/files/patch-apps_fgr_man_Makefile.in
@@ -0,0 +1,12 @@
+--- apps/fgr/man/Makefile.in.orig	2024-03-05 18:04:00 UTC
++++ apps/fgr/man/Makefile.in
+@@ -318,8 +318,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ fgrman1_DATA = fgr.1
+-@WANT_FREEBSD_FALSE@fgrman1dir = ${mandir}/man1
+-@WANT_FREEBSD_TRUE@fgrman1dir = ${prefix}/man/man1
++fgrman1dir = ${mandir}/man1
+ EXTRA_DIST = $(fgrman1_DATA)
+ all: all-am
+ 
diff --git a/x11-fm/rodent/files/patch-apps_rodent-diff_man_Makefile.in b/x11-fm/rodent/files/patch-apps_rodent-diff_man_Makefile.in
new file mode 100644
index 000000000000..f9779d1ae417
--- /dev/null
+++ b/x11-fm/rodent/files/patch-apps_rodent-diff_man_Makefile.in
@@ -0,0 +1,12 @@
+--- apps/rodent-diff/man/Makefile.in.orig	2024-03-05 17:50:46 UTC
++++ apps/rodent-diff/man/Makefile.in
+@@ -370,8 +370,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ rodentman1_DATA = rodent-diff.1 
+-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
+-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
++rodentman1dir = ${mandir}/man1
+ EXTRA_DIST = $(rodentman1_DATA) 
+ all: all-am
+ 
diff --git a/x11-fm/rodent/files/patch-apps_rodent-fgr_man_Makefile.in b/x11-fm/rodent/files/patch-apps_rodent-fgr_man_Makefile.in
new file mode 100644
index 000000000000..8fcae7070fbe
--- /dev/null
+++ b/x11-fm/rodent/files/patch-apps_rodent-fgr_man_Makefile.in
@@ -0,0 +1,12 @@
+--- apps/rodent-fgr/man/Makefile.in.orig	2024-03-05 19:28:53 UTC
++++ apps/rodent-fgr/man/Makefile.in
+@@ -341,8 +341,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ rodentman1_DATA = rodent-fgr.1 
+-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
+-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
++rodentman1dir = ${mandir}/man1
+ EXTRA_DIST = $(rodentman1_DATA) 
+ all: all-am
+ 
diff --git a/x11-fm/rodent/files/patch-apps_rodent-fm_man_Makefile.in b/x11-fm/rodent/files/patch-apps_rodent-fm_man_Makefile.in
new file mode 100644
index 000000000000..85894aecd568
--- /dev/null
+++ b/x11-fm/rodent/files/patch-apps_rodent-fm_man_Makefile.in
@@ -0,0 +1,12 @@
+--- apps/rodent-fm/man/Makefile.in.orig	2024-03-05 17:41:28 UTC
++++ apps/rodent-fm/man/Makefile.in
+@@ -372,8 +372,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ rodentman1_DATA = rodent.1 rodent-anim.1 rodent-fm.1 rodent-desk.1 rodent-getpass.1 rodent-plug.1 rodent-root.1
+-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
+-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
++rodentman1dir = ${mandir}/man1
+ EXTRA_DIST = $(rodentman1_DATA) 
+ all: all-am
+ 
diff --git a/x11-fm/rodent/files/patch-apps_rodent-iconmgr_man_Makefile.in b/x11-fm/rodent/files/patch-apps_rodent-iconmgr_man_Makefile.in
new file mode 100644
index 000000000000..1ccf04526050
--- /dev/null
+++ b/x11-fm/rodent/files/patch-apps_rodent-iconmgr_man_Makefile.in
@@ -0,0 +1,12 @@
+--- apps/rodent-iconmgr/man/Makefile.in.orig	2024-03-05 19:32:42 UTC
++++ apps/rodent-iconmgr/man/Makefile.in
+@@ -370,8 +370,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ rodentman1_DATA = rodent-iconmgr.1 
+-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
+-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
++rodentman1dir = ${mandir}/man1
+ EXTRA_DIST = $(rodentman1_DATA) 
+ all: all-am
+ 
diff --git a/x11-fm/rodent/files/patch-apps_rodent-pkg_man_Makefile.in b/x11-fm/rodent/files/patch-apps_rodent-pkg_man_Makefile.in
new file mode 100644
index 000000000000..bbac9cbd13d4
--- /dev/null
+++ b/x11-fm/rodent/files/patch-apps_rodent-pkg_man_Makefile.in
@@ -0,0 +1,12 @@
+--- apps/rodent-pkg/man/Makefile.in.orig	2024-03-05 19:35:29 UTC
++++ apps/rodent-pkg/man/Makefile.in
+@@ -370,8 +370,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ rodentman1_DATA = @PACKAGE@.1 
+-@WANT_FREEBSD_FALSE@rodentman1dir = ${mandir}/man1
+-@WANT_FREEBSD_TRUE@rodentman1dir = ${prefix}/man/man1
++rodentman1dir = ${mandir}/man1
+ EXTRA_DIST = $(rodentman1_DATA) 
+ all: all-am
+ 
diff --git a/x11-fm/rodent/pkg-plist b/x11-fm/rodent/pkg-plist
index e27b25c02ae9..f5db7a5ab669 100644
--- a/x11-fm/rodent/pkg-plist
+++ b/x11-fm/rodent/pkg-plist
@@ -1341,18 +1341,18 @@ lib/rfm/plugins/xml/pkg_pkg.xml
 lib/rfm/plugins/xml/pkg_yum.xml
 lib/rfm/plugins/xml/pkg_zypper.xml
 lib/rfm/plugins/xml/rodent-pkg.xsd
-man/man1/fgr.1.gz
-man/man1/rodent-anim.1.gz
-man/man1/rodent-desk.1.gz
-man/man1/rodent-diff.1.gz
-man/man1/rodent-fgr.1.gz
-man/man1/rodent-fm.1.gz
-man/man1/rodent-getpass.1.gz
-man/man1/rodent-iconmgr.1.gz
-man/man1/rodent-pkg.1.gz
-man/man1/rodent-plug.1.gz
-man/man1/rodent-root.1.gz
-man/man1/rodent.1.gz
+share/man/man1/fgr.1.gz
+share/man/man1/rodent-anim.1.gz
+share/man/man1/rodent-desk.1.gz
+share/man/man1/rodent-diff.1.gz
+share/man/man1/rodent-fgr.1.gz
+share/man/man1/rodent-fm.1.gz
+share/man/man1/rodent-getpass.1.gz
+share/man/man1/rodent-iconmgr.1.gz
+share/man/man1/rodent-pkg.1.gz
+share/man/man1/rodent-plug.1.gz
+share/man/man1/rodent-root.1.gz
+share/man/man1/rodent.1.gz
 share/appdata/Rodent-diff.appdata.xml
 share/appdata/Rodent-dotdesktop.appdata.xml
 share/appdata/Rodent-fgr.appdata.xml