From 9f03c06e2e979fb99855f2d91c9d303c46862408 Mon Sep 17 00:00:00 2001
From: Nick Lott <nick.lott@gmail.com>
Date: Thu, 24 Aug 2023 15:21:44 +1200
Subject: [PATCH] Reinstate Tipp10 port files based on unofficial Qt6 version.

Update German Makefile
Update version prefix and drop GL_TAGNAME
---
 german/Makefile         |   1 +
 german/tipp10/Makefile  |  21 ++++++++
 german/tipp10/distinfo  |   3 ++
 german/tipp10/pkg-descr |  18 +++++++
 german/tipp10/pkg-plist | 107 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 150 insertions(+)
 create mode 100644 german/tipp10/Makefile
 create mode 100644 german/tipp10/distinfo
 create mode 100644 german/tipp10/pkg-descr
 create mode 100644 german/tipp10/pkg-plist

diff --git a/german/Makefile b/german/Makefile
index f56a2fbb9195..14d8498b121d 100644
--- a/german/Makefile
+++ b/german/Makefile
@@ -17,6 +17,7 @@
     SUBDIR += mythes
     SUBDIR += phone
     SUBDIR += schwobifyer
+    SUBDIR += tipp10
     SUBDIR += unix-connect
     SUBDIR += webalizer2
     SUBDIR += wordpress
diff --git a/german/tipp10/Makefile b/german/tipp10/Makefile
new file mode 100644
index 000000000000..c7bd47235a72
--- /dev/null
+++ b/german/tipp10/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=   tipp10
+DISTVERSIONPREFIX= v
+DISTVERSION= 3.3.0
+CATEGORIES= german
+
+MAINTAINER= nick.lott@gmail.com
+COMMENT=    10-finger touch typing learning program
+WWW=        https://www.tipp10.com
+
+LICENSE=    GPLv2
+LICENSE_FILE=   ${WRKSRC}/LICENSE
+
+USES=       cmake sqlite qt:6 gl
+USE_QT=     base sqldriver-sqlite:run tools:build multimedia
+USE_GL=     gl opengl
+
+USE_GITLAB= yes
+GL_ACCOUNT= tipp10
+GL_PROJECT= ${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/german/tipp10/distinfo b/german/tipp10/distinfo
new file mode 100644
index 000000000000..798cae5d53f1
--- /dev/null
+++ b/german/tipp10/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1693981617
+SHA256 (tipp10-v3.3.0.tar.bz2) = a280950ab70340cf5089dc5a4bc99acbcb4ff72ab3f873c2b489f5077748ec00
+SIZE (tipp10-v3.3.0.tar.bz2) = 1849409
diff --git a/german/tipp10/pkg-descr b/german/tipp10/pkg-descr
new file mode 100644
index 000000000000..102a1fc01606
--- /dev/null
+++ b/german/tipp10/pkg-descr
@@ -0,0 +1,18 @@
+TIPP10 is a free 10 finger touch typing trainer, published under the GPL.
+
+The highlight: TIPP10 works intelligent. The dictation reacts on
+individual errors of the user. Keys, which are wrongly typed often,
+will be dictated more often.
+
+Visual help, various keyboard layouts, numerous settings and the
+possibility to create own exercise dictates are easing the learning
+process.
+
+Main features:
+- Intelligent exercise lessons
+- Free and own lessons
+- Scrolling text and virtual keyboard for help
+- Extensive customization
+- Performance appraisal
+- Support of alternate keyboard layouts
+- Multi platform
diff --git a/german/tipp10/pkg-plist b/german/tipp10/pkg-plist
new file mode 100644
index 000000000000..4c8b6da63991
--- /dev/null
+++ b/german/tipp10/pkg-plist
@@ -0,0 +1,107 @@
+bin/tipp10
+share/applications/com.gitlab.tipp10.tipp10.desktop
+share/icons/hicolor/scalable/apps/com.gitlab.tipp10.tipp10.svg
+share/metainfo/com.gitlab.tipp10.tipp10.appdata.xml
+share/tipp10/error.wav
+share/tipp10/help/de/content/about.html
+share/tipp10/help/de/content/behaviour.html
+share/tipp10/help/de/content/features.html
+share/tipp10/help/de/content/game.html
+share/tipp10/help/de/content/installation.html
+share/tipp10/help/de/content/introduction.html
+share/tipp10/help/de/content/lessons.html
+share/tipp10/help/de/content/license.html
+share/tipp10/help/de/content/parameters.html
+share/tipp10/help/de/content/results.html
+share/tipp10/help/de/content/settings.html
+share/tipp10/help/de/content/start.html
+share/tipp10/help/de/content/style.css
+share/tipp10/help/de/content/support.html
+share/tipp10/help/de/content/training.html
+share/tipp10/help/de/img/arrow_left.png
+share/tipp10/help/de/img/arrow_right.png
+share/tipp10/help/de/img/h_fingers.png
+share/tipp10/help/de/img/h_game.png
+share/tipp10/help/de/img/h_home_settings.png
+share/tipp10/help/de/img/h_installer_mac.png
+share/tipp10/help/de/img/h_installer_win.png
+share/tipp10/help/de/img/h_key_blue.png
+share/tipp10/help/de/img/h_key_green.png
+share/tipp10/help/de/img/h_key_greydark.png
+share/tipp10/help/de/img/h_key_greylight.png
+share/tipp10/help/de/img/h_key_red.png
+share/tipp10/help/de/img/h_key_yellow.png
+share/tipp10/help/de/img/h_lesson_own_menu.png
+share/tipp10/help/de/img/h_lesson_own.png
+share/tipp10/help/de/img/h_lesson_tabs.png
+share/tipp10/help/de/img/h_program_shortcut.png
+share/tipp10/help/de/img/h_results_chars.png
+share/tipp10/help/de/img/h_results_comparison.png
+share/tipp10/help/de/img/h_results_fingers.png
+share/tipp10/help/de/img/h_results_lessons.png
+share/tipp10/help/de/img/h_results_progress.png
+share/tipp10/help/de/img/h_results_report.png
+share/tipp10/help/de/img/h_settings_database.png
+share/tipp10/help/de/img/h_settings_language.png
+share/tipp10/help/de/img/h_settings_other.png
+share/tipp10/help/de/img/h_settings_training.png
+share/tipp10/help/de/img/h_terminal_mac.png
+share/tipp10/help/de/img/h_training_lesson.png
+share/tipp10/help/de/img/h_training_numpad.png
+share/tipp10/help/de/img/logo.png
+share/tipp10/help/de/img/Thumbs.db
+share/tipp10/help/de/img/tt_logo.png
+share/tipp10/help/de/index.html
+share/tipp10/help/en/content/about.html
+share/tipp10/help/en/content/behaviour.html
+share/tipp10/help/en/content/features.html
+share/tipp10/help/en/content/game.html
+share/tipp10/help/en/content/installation.html
+share/tipp10/help/en/content/introduction.html
+share/tipp10/help/en/content/lessons.html
+share/tipp10/help/en/content/license.html
+share/tipp10/help/en/content/parameters.html
+share/tipp10/help/en/content/results.html
+share/tipp10/help/en/content/settings.html
+share/tipp10/help/en/content/start.html
+share/tipp10/help/en/content/style.css
+share/tipp10/help/en/content/support.html
+share/tipp10/help/en/content/training.html
+share/tipp10/help/en/img/arrow_left.png
+share/tipp10/help/en/img/arrow_right.png
+share/tipp10/help/en/img/h_fingers.png
+share/tipp10/help/en/img/h_game.png
+share/tipp10/help/en/img/h_home_settings.png
+share/tipp10/help/en/img/h_installer_mac.png
+share/tipp10/help/en/img/h_installer_win.png
+share/tipp10/help/en/img/h_key_blue.png
+share/tipp10/help/en/img/h_key_green.png
+share/tipp10/help/en/img/h_key_greydark.png
+share/tipp10/help/en/img/h_key_greylight.png
+share/tipp10/help/en/img/h_key_red.png
+share/tipp10/help/en/img/h_key_yellow.png
+share/tipp10/help/en/img/h_lesson_own_menu.png
+share/tipp10/help/en/img/h_lesson_own.png
+share/tipp10/help/en/img/h_lesson_tabs.png
+share/tipp10/help/en/img/h_program_shortcut.png
+share/tipp10/help/en/img/h_results_chars.png
+share/tipp10/help/en/img/h_results_comparison.png
+share/tipp10/help/en/img/h_results_fingers.png
+share/tipp10/help/en/img/h_results_lessons.png
+share/tipp10/help/en/img/h_results_progress.png
+share/tipp10/help/en/img/h_results_report.png
+share/tipp10/help/en/img/h_settings_database.png
+share/tipp10/help/en/img/h_settings_language.png
+share/tipp10/help/en/img/h_settings_other.png
+share/tipp10/help/en/img/h_settings_training.png
+share/tipp10/help/en/img/h_terminal_mac.png
+share/tipp10/help/en/img/h_training_lesson.png
+share/tipp10/help/en/img/h_training_numpad.png
+share/tipp10/help/en/img/logo.png
+share/tipp10/help/en/img/tt_logo.png
+share/tipp10/help/en/index.html
+share/tipp10/metronome.wav
+share/tipp10/tipp10v2.template
+share/tipp10/translations/tipp10_de.qm
+share/tipp10/translations/tipp10_en.qm
+share/tipp10/translations/tipp10_fr.qm
-- 
2.41.0