git: 1e374ee61f6b - main - editors/poedit: moved manpages to share/man

From: Rodrigo Osorio <rodrigo_at_FreeBSD.org>
Date: Mon, 26 Feb 2024 22:41:50 UTC
The branch main has been updated by rodrigo:

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

commit 1e374ee61f6b80d7343740b51fca5cc47132bb61
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2024-02-26 22:36:52 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2024-02-26 22:38:11 +0000

    editors/poedit: moved manpages to share/man
    
    Set GNU_CONFIGURE_MANPREFIX and fix plist
    Fix formating to make linters happy
---
 editors/poedit/Makefile  | 31 ++++++++++++++++---------------
 editors/poedit/pkg-plist |  2 +-
 2 files changed, 17 insertions(+), 16 deletions(-)

diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index ebc860754572..75906de73ba5 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	poedit
 PORTVERSION=	3.3.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	editors
 MASTER_SITES=	https://github.com/vslavik/${PORTNAME}/releases/download/v${PORTVERSION}-oss/
 
@@ -11,30 +11,31 @@ WWW=		https://www.poedit.net/
 LICENSE=	BSD2CLAUSE
 
 BUILD_DEPENDS=	zip:archivers/zip
-LIB_DEPENDS=	libgtkspell3-3.so:textproc/gtkspell3 \
-		libboost_thread.so:devel/boost-libs \
-		libicui18n.so:devel/icu \
-		liblucene++.so:textproc/luceneplusplus \
+LIB_DEPENDS=	libboost_thread.so:devel/boost-libs \
 		libenchant-2.so:textproc/enchant2 \
-		libharfbuzz.so:print/harfbuzz
+		libgtkspell3-3.so:textproc/gtkspell3 \
+		libharfbuzz.so:print/harfbuzz \
+		libicui18n.so:devel/icu \
+		liblucene++.so:textproc/luceneplusplus
 
-USES=		bdb compiler:c++11-lib desktop-file-utils gmake gnome \
-		pkgconfig
+USES=				bdb compiler:c++11-lib desktop-file-utils gmake \
+				gnome pkgconfig
 WITH_BDB_HIGHEST=	yes
-USE_GNOME+=	gtk30 pango cairo gdkpixbuf2 glib20
-USE_WX=		3.0
-WX_CONF_ARGS=	absolute
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	WXRC="${WXRC_CMD}"
+USE_GNOME+=			cairo gdkpixbuf2 glib20 gtk30 pango
+USE_WX=				3.0
+WX_CONF_ARGS=			absolute
+GNU_CONFIGURE=			yes
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
+CONFIGURE_ENV=			WXRC="${WXRC_CMD}"
 
 CPPFLAGS+=	-I${BDB_INCLUDE_DIR} -I${LOCALBASE}/include
 ## -stdlib=libc++
 LDFLAGS+=	-lpthread -L${BDB_LIB_DIR} -L${LOCALBASE}/lib
 
 OPTIONS_DEFINE=	NLS
-OPTIONS_SUB=yes
+OPTIONS_SUB=	yes
 
-NLS_USES=	gettext
+NLS_USES=		gettext
 NLS_CONFIGURE_ENABLE=	nls
 
 .include <bsd.port.mk>
diff --git a/editors/poedit/pkg-plist b/editors/poedit/pkg-plist
index a5e360903809..12d6f0ccb544 100644
--- a/editors/poedit/pkg-plist
+++ b/editors/poedit/pkg-plist
@@ -1,5 +1,5 @@
 bin/poedit
-man/man1/poedit.1.gz
+share/man/man1/poedit.1.gz
 share/applications/net.poedit.Poedit.desktop
 share/applications/net.poedit.PoeditURI.desktop
 share/icons/hicolor/128x128/apps/net.poedit.Poedit.png