git: 57da3aceff39 - main - education/gtypist: update to 2.10
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jan 2025 23:12:15 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=57da3aceff394491db5dd63282c55fbeab76567e
commit 57da3aceff394491db5dd63282c55fbeab76567e
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2025-01-06 23:10:13 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2025-01-06 23:11:44 +0000
education/gtypist: update to 2.10
User-visible changes:
- new welcome screen
- new P lesson series for programmers
- fixes for various lessons
- new Romanian lessons
- expand the S lesson series with a new quotation and a few more passages
from Shakespeare
- remove or update the lessons incompatible with the license
---
games/gtypist/Makefile | 20 ++++----------------
games/gtypist/distinfo | 5 +++--
games/gtypist/pkg-plist | 31 +++++++++++++------------------
3 files changed, 20 insertions(+), 36 deletions(-)
diff --git a/games/gtypist/Makefile b/games/gtypist/Makefile
index 6e2ae7707a5b..dfe70a83cfe5 100644
--- a/games/gtypist/Makefile
+++ b/games/gtypist/Makefile
@@ -1,6 +1,5 @@
PORTNAME= gtypist
-PORTVERSION= 2.9.5
-PORTREVISION= 3
+PORTVERSION= 2.10
CATEGORIES= games education
MASTER_SITES= GNU
@@ -10,13 +9,11 @@ WWW= https://www.gnu.org/software/gtypist/
LICENSE= GPLv3
-USES= iconv ncurses shebangfix tar:xz
+# botched release: gtypist-2.10.tar.xz has .gz format
+USES= iconv localbase ncurses shebangfix #tar:xz
GNU_CONFIGURE= yes
-CONFIGURE_ENV= EMACS=no \
- ac_cv_header_ncursesw_ncurses_h=yes
-CPPFLAGS+= -I${LOCALBASE}/include -I${WRKDIR}/include
+CONFIGURE_ENV= EMACS=no
CPPFLAGS+= -I${NCURSESINC}
-LDFLAGS+= -L${LOCALBASE}/libs
INFO= gtypist gtypist.cs gtypist.es
@@ -28,13 +25,4 @@ OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
-post-patch:
- ${REINPLACE_CMD} -e 's|<ncursesw/ncurses.h>|<ncurses.h>|' \
- ${WRKSRC}/src/error.c \
- ${WRKSRC}/src/cursmenu.c \
- ${WRKSRC}/src/script.c \
- ${WRKSRC}/src/gtypist.c \
- ${WRKSRC}/src/utf8.c
- ${REINPLACE_CMD} -e 's/-lncursesw/${NCURSESLIBS}/g' ${WRKSRC}/configure
-
.include <bsd.port.mk>
diff --git a/games/gtypist/distinfo b/games/gtypist/distinfo
index b87e22990b47..5e40eb2b595c 100644
--- a/games/gtypist/distinfo
+++ b/games/gtypist/distinfo
@@ -1,2 +1,3 @@
-SHA256 (gtypist-2.9.5.tar.xz) = c13af40b12479f8219ffa6c66020618c0ce305ad305590fde02d2c20eb9cf977
-SIZE (gtypist-2.9.5.tar.xz) = 929356
+TIMESTAMP = 1736200336
+SHA256 (gtypist-2.10.tar.gz) = f1e79cd95742c84c6d035f6d8f393a2a1be0e00b1c016a22462df16d6667562c
+SIZE (gtypist-2.10.tar.gz) = 1433418
diff --git a/games/gtypist/pkg-plist b/games/gtypist/pkg-plist
index 4bcc5683b042..501920194e50 100644
--- a/games/gtypist/pkg-plist
+++ b/games/gtypist/pkg-plist
@@ -7,43 +7,37 @@ share/gtypist/demo.typ
share/gtypist/esp.typ
share/gtypist/gtypist.typ
share/gtypist/ktbg.typ
-share/gtypist/ktbg_long.typ
+share/gtypist/ktbr.typ
+share/gtypist/ktcz.typ
share/gtypist/ktde.typ
-share/gtypist/ktde2.typ
-share/gtypist/ktde_neo.typ
-share/gtypist/ktde_number.typ
-share/gtypist/ktdk.typ
-share/gtypist/ktdk2.typ
share/gtypist/ktdvorak.typ
-share/gtypist/ktdvorak_abcd.typ
-share/gtypist/ktdvorak_es.typ
-share/gtypist/kten.typ
-share/gtypist/ktes.typ
+share/gtypist/kten_gb.typ
+share/gtypist/kten_us.typ
+share/gtypist/ktes1.typ
+share/gtypist/ktes2.typ
+share/gtypist/ktes3.typ
share/gtypist/ktes_cat.typ
share/gtypist/ktfi.typ
-share/gtypist/ktfi_kids.typ
share/gtypist/ktfr.typ
-share/gtypist/ktfr2.typ
-share/gtypist/kthu.typ
-share/gtypist/kthu_expert.typ
+share/gtypist/ktgr.typ
share/gtypist/ktit.typ
share/gtypist/ktnl.typ
share/gtypist/ktnl_junior.typ
share/gtypist/ktno.typ
-share/gtypist/ktpl.typ
share/gtypist/ktru.typ
share/gtypist/ktru_long.typ
-share/gtypist/ktru_slava.typ
-share/gtypist/ktsi.typ
share/gtypist/kttr.typ
share/gtypist/m.typ
share/gtypist/n.typ
+share/gtypist/p.typ
share/gtypist/q.typ
share/gtypist/r.typ
+share/gtypist/ro_special.typ
share/gtypist/ru.typ
share/gtypist/s.typ
+share/gtypist/symq.typ
+share/gtypist/symt.typ
share/gtypist/t.typ
-share/gtypist/ttde.typ
share/gtypist/u.typ
share/gtypist/v.typ
%%NLS%%share/locale/cs/LC_MESSAGES/gtypist.mo
@@ -54,6 +48,7 @@ share/gtypist/v.typ
%%NLS%%share/locale/fr/LC_MESSAGES/gtypist.mo
%%NLS%%share/locale/nl/LC_MESSAGES/gtypist.mo
%%NLS%%share/locale/pl/LC_MESSAGES/gtypist.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/gtypist.mo
%%NLS%%share/locale/ru/LC_MESSAGES/gtypist.mo
%%NLS%%share/locale/tr/LC_MESSAGES/gtypist.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gtypist.mo