git: df8605e1ad28 - main - textproc/loook: update to 0.9.1

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Sun, 02 Jun 2024 15:54:09 UTC
The branch main has been updated by dinoex:

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

commit df8605e1ad2842aba31e5f4590e222160e64022f
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-06-02 15:53:58 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-06-02 15:53:58 +0000

    textproc/loook: update to 0.9.1
---
 textproc/loook/Makefile | 11 ++++++-----
 textproc/loook/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/textproc/loook/Makefile b/textproc/loook/Makefile
index 3e14f0584743..8c6e83c0565d 100644
--- a/textproc/loook/Makefile
+++ b/textproc/loook/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	loook
-PORTVERSION=	0.9.0
-PORTREVISION=	1
+PORTVERSION=	0.9.1
 CATEGORIES=	textproc
 MASTER_SITES=	http://mechtilde.de/Loook/Downloads/
 DIST_SUBDIR=	python
@@ -13,9 +12,9 @@ LICENSE=	GPLv2+
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR}
 
-USES=		python gettext-tools:build
+USES=		python gettext-tools:build desktop-file-utils
 
-WRKSRC=		${WRKDIR}
+WRKSRC=		${WRKDIR}/${PORTNAME}
 PLIST_FILES=	bin/${PORTNAME} \
 		share/applications/loook.desktop \
 		share/locale/cs/LC_MESSAGES/loook.mo \
@@ -25,16 +24,18 @@ PLIST_FILES=	bin/${PORTNAME} \
 		share/locale/fr/LC_MESSAGES/loook.mo \
 		share/locale/it/LC_MESSAGES/loook.mo \
 		share/locale/nl/LC_MESSAGES/loook.mo \
+		share/locale/pt_BR/LC_MESSAGES/loook.mo \
 		share/man/man1/loook.1.gz \
 		share/man/de/man1/loook.1.gz \
 		share/pixmaps/loook.png \
 
-LCMESSAGES=	cs de en es fr it nl
+LCMESSAGES=	cs de en es fr it nl pt_BR
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/bin/python3|${PYTHON_CMD}|' \
 		-e 's|/usr/share/locale/|${PREFIX}/share/locale/|' \
 		${WRKSRC}/${PORTNAME}.py
+	@${MV} -v ${WRKSRC}/loook.pt-br.po ${WRKSRC}/loook.pt_BR.po
 
 do-build:
 .for i in ${LCMESSAGES}
diff --git a/textproc/loook/distinfo b/textproc/loook/distinfo
index 281f240f670e..5ed6810f2a79 100644
--- a/textproc/loook/distinfo
+++ b/textproc/loook/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1644226214
-SHA256 (python/loook-0.9.0.tar.gz) = 31153772d8860c3d30412ed205fd7601ad44a0f3618cb7822cafadc5c9a4be80
-SIZE (python/loook-0.9.0.tar.gz) = 19979
+TIMESTAMP = 1716211296
+SHA256 (python/loook-0.9.1.tar.gz) = 22431e3d426191ccca408cea6ef4f2832a83dc0cd0ce63d2930f52178be5bc90
+SIZE (python/loook-0.9.1.tar.gz) = 20624