git: 2fa44724df91 - main - x11-fm/libtubo: moved manpages to share/man

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=2fa44724df91459f2ec699f7015c9f2cbe0d97fa

commit 2fa44724df91459f2ec699f7015c9f2cbe0d97fa
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-03-05 10:19:57 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-03-05 21:12:25 +0000

    x11-fm/libtubo: moved manpages to share/man
    
    Set GNU_CONFIGURE_MANPREFIX and fix plist
    Fix formatting to make linters happy
---
 x11-fm/libtubo/Makefile                | 15 +++++++++------
 x11-fm/libtubo/files/patch-Makefile.in |  4 ++--
 x11-fm/libtubo/pkg-plist               |  2 +-
 3 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/x11-fm/libtubo/Makefile b/x11-fm/libtubo/Makefile
index 14e3cea1ab79..cd361fe7b6ba 100644
--- a/x11-fm/libtubo/Makefile
+++ b/x11-fm/libtubo/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	libtubo
 PORTVERSION=	5.0.14
+PORTREVISION=	1
 CATEGORIES=	x11-fm
 MASTER_SITES=	SF/xffm/libtubo/
 DISTNAME=	${PORTNAME}0-${PORTVERSION}
@@ -10,14 +11,16 @@ WWW=		https://xffm.sourceforge.net/libtubo.html
 
 LICENSE=	GPLv3
 
-OPTIONS_DEFINE=	DOCS
-
 USES=		gmake libtool:keepla pkgconfig
-GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	--with-PACKAGE=no
 USE_LDCONFIG=	yes
-INSTALL_TARGET=	install-strip
 
-WRKSRC=	${WRKDIR}/${PORTNAME}0-${PORTVERSION}
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ARGS+=		--with-PACKAGE=no
+INSTALL_TARGET=			install-strip
+
+WRKSRC=		${WRKDIR}/${PORTNAME}0-${PORTVERSION}
+
+OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.mk>
diff --git a/x11-fm/libtubo/files/patch-Makefile.in b/x11-fm/libtubo/files/patch-Makefile.in
index b68c6e1df5fd..8d15a7c3fd13 100644
--- a/x11-fm/libtubo/files/patch-Makefile.in
+++ b/x11-fm/libtubo/files/patch-Makefile.in
@@ -1,5 +1,5 @@
---- Makefile.in.orig	2014-09-25 13:41:18.147180046 +0000
-+++ Makefile.in	2014-09-25 13:42:04.545176862 +0000
+--- Makefile.in.orig	2014-09-25 13:41:18 UTC
++++ Makefile.in
 @@ -318,7 +318,7 @@
  top_srcdir = @top_srcdir@
  CLEANFILES = *~ *.bak core *.core *.o *.lo *.la 
diff --git a/x11-fm/libtubo/pkg-plist b/x11-fm/libtubo/pkg-plist
index fd4d4a0f31f2..133193406c64 100644
--- a/x11-fm/libtubo/pkg-plist
+++ b/x11-fm/libtubo/pkg-plist
@@ -6,7 +6,7 @@ lib/libtubo.so
 lib/libtubo.so.0
 lib/libtubo.so.0.1.0
 libdata/pkgconfig/tubo.pc
-man/man1/tuboexec.1.gz
+share/man/man1/tuboexec.1.gz
 share/gtk-doc/html/libtubo/ch01.html
 share/gtk-doc/html/libtubo/home.png
 share/gtk-doc/html/libtubo/index.html