git: 9a4239a04be9 - main - textproc/loook: update to 0.9.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Feb 2022 16:47:24 UTC
The branch main has been updated by dinoex: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a4239a04be95bea6f58145e23815dce3ad41bdd commit 9a4239a04be95bea6f58145e23815dce3ad41bdd Author: Dirk Meyer <dinoex@FreeBSD.org> AuthorDate: 2022-02-14 16:47:05 +0000 Commit: Dirk Meyer <dinoex@FreeBSD.org> CommitDate: 2022-02-14 16:47:05 +0000 textproc/loook: update to 0.9.0 --- textproc/loook/Makefile | 29 +++++++++++++++++------------ textproc/loook/distinfo | 6 +++--- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/textproc/loook/Makefile b/textproc/loook/Makefile index 7fa804e2cc2c..b3baeb10ac2a 100644 --- a/textproc/loook/Makefile +++ b/textproc/loook/Makefile @@ -1,7 +1,7 @@ # Created by: Rusmir Dusko <nemysis@FreeBSD.org> PORTNAME= loook -PORTVERSION= 0.8.6 +PORTVERSION= 0.9.0 CATEGORIES= textproc MASTER_SITES= http://mechtilde.de/Loook/Downloads/ DIST_SUBDIR= python @@ -13,20 +13,20 @@ LICENSE= GPLv2+ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>=0:x11-toolkits/py-tkinter@${PY_FLAVOR} -USES= python:3.4+ -NO_BUILD= yes +USES= python:3.4+ gettext-tools:build +WRKSRC= ${WRKDIR} PLIST_FILES= bin/${PORTNAME} \ man/man1/loook.1.gz \ man/de/man1/loook.1.gz \ share/applications/loook.desktop \ - share/locale/cs/LC_MESSAGES/loook-${PORTVERSION}.mo \ - share/locale/de/LC_MESSAGES/loook-${PORTVERSION}.mo \ - share/locale/en/LC_MESSAGES/loook-${PORTVERSION}.mo \ - share/locale/es/LC_MESSAGES/loook-${PORTVERSION}.mo \ - share/locale/fr/LC_MESSAGES/loook-${PORTVERSION}.mo \ - share/locale/it/LC_MESSAGES/loook-${PORTVERSION}.mo \ - share/locale/nl/LC_MESSAGES/loook-${PORTVERSION}.mo \ + share/locale/cs/LC_MESSAGES/loook.mo \ + share/locale/de/LC_MESSAGES/loook.mo \ + share/locale/en/LC_MESSAGES/loook.mo \ + share/locale/es/LC_MESSAGES/loook.mo \ + share/locale/fr/LC_MESSAGES/loook.mo \ + share/locale/it/LC_MESSAGES/loook.mo \ + share/locale/nl/LC_MESSAGES/loook.mo \ share/pixmaps/loook.png \ LCMESSAGES= cs de en es fr it nl @@ -36,6 +36,11 @@ post-patch: -e 's|/usr/share/locale/|${PREFIX}/share/locale/|' \ ${WRKSRC}/${PORTNAME}.py +do-build: +.for i in ${LCMESSAGES} + msgfmt --check --output-file=${WRKSRC}/loook.${i}.mo ${WRKSRC}/loook.${i}.po +.endfor + do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.py \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} @@ -50,8 +55,8 @@ do-install: ${STAGEDIR}${PREFIX}/share/pixmaps/ .for i in ${LCMESSAGES} ${INSTALL_DATA} \ - ${WRKSRC}/locale/${i}/LC_MESSAGES/loook-${PORTVERSION}.mo \ - ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/ + ${WRKSRC}/loook.${i}.mo \ + ${STAGEDIR}${PREFIX}/share/locale/${i}/LC_MESSAGES/loook.mo .endfor .include <bsd.port.mk> diff --git a/textproc/loook/distinfo b/textproc/loook/distinfo index 6b7dbe274009..281f240f670e 100644 --- a/textproc/loook/distinfo +++ b/textproc/loook/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1546590983 -SHA256 (python/loook-0.8.6.tar.gz) = 076ce3b1e31ab049c770d441e7a04153388e34a026529cac7cdc11044b1338c4 -SIZE (python/loook-0.8.6.tar.gz) = 22285 +TIMESTAMP = 1644226214 +SHA256 (python/loook-0.9.0.tar.gz) = 31153772d8860c3d30412ed205fd7601ad44a0f3618cb7822cafadc5c9a4be80 +SIZE (python/loook-0.9.0.tar.gz) = 19979