aboutsummaryrefslogtreecommitdiff
path: root/german
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2011-09-01 10:09:47 +0000
committerStefan Walter <stefan@FreeBSD.org>2011-09-01 10:09:47 +0000
commit972c58962a476b917bfea415fb3c69f7abe65344 (patch)
treea94c5b8bfadd193917efec6972271b9e5dbe6e19 /german
parente8915e717268527f5e31bd21449d94e07a581ac6 (diff)
downloadports-972c58962a476b917bfea415fb3c69f7abe65344.tar.gz
ports-972c58962a476b917bfea415fb3c69f7abe65344.zip
Notes
Diffstat (limited to 'german')
-rw-r--r--german/tipp10/Makefile42
-rw-r--r--german/tipp10/distinfo4
-rw-r--r--german/tipp10/files/patch-sql-connection.h18
-rw-r--r--german/tipp10/files/patch-tipp10.pro8
-rw-r--r--german/tipp10/files/patch-widget-keyboard.cpp12
-rw-r--r--german/tipp10/pkg-plist182
6 files changed, 141 insertions, 125 deletions
diff --git a/german/tipp10/Makefile b/german/tipp10/Makefile
index 529157e3dbd3..acceeb9c66f3 100644
--- a/german/tipp10/Makefile
+++ b/german/tipp10/Makefile
@@ -6,16 +6,16 @@
#
PORTNAME= tipp10
-PORTVERSION= 2.0.1
-PORTREVISION= 4
+PORTVERSION= 2.1.0
CATEGORIES= german
-MASTER_SITES= http://www.tipp10.de/download/
-DISTNAME= tipp10_source_v2-0-1
+MASTER_SITES= http://www.tipp10.com/en/download/
+DISTNAME= tipp10_source_v2-1-0
MAINTAINER= ports@FreeBSD.org
COMMENT= A 10 finger touch typing learning program
-BROKEN= does not fetch
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/license_en.txt
RUN_DEPENDS= ${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite2.so:${PORTSDIR}/databases/qt4-sqlite-plugin \
${LOCALBASE}/lib/qt4/plugins/sqldrivers/libqsqlite.so:${PORTSDIR}/databases/qt4-sqlite3-plugin
@@ -24,21 +24,27 @@ USE_ZIP= yes
USE_QT_VER= 4
QT_COMPONENTS= gui sql corelib network script qtestlib \
qmake_build rcc_build uic_build moc_build
-WRKSRC= ${WRKDIR}/source
+WRKSRC= ${WRKDIR}/tipp10_source_v2-1-0
-do-configure:
+pre-configure:
@cd ${WRKSRC} \
- && ${SETENV} ${MAKE_ENV} ${QMAKE} -spec ${QMAKESPEC}
+ && for i in `grep -lR 'QCoreApplication::applicationDirPath()' *`; do ${REINPLACE_CMD} -e 's/QCoreApplication::applicationDirPath()/QString(DATADIR)/g' $$i ; done
-do-install:
- ${INSTALL_DATA} -d ${DATADIR}/help/img
- ${INSTALL_DATA} -d ${DATADIR}/help/content
- ${INSTALL_PROGRAM} ${WRKSRC}/tipp10 ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/tipp10v2.template ${WRKSRC}/license.txt ${WRKSRC}/wrong.wav ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/help/content/* ${DATADIR}/help/content
- ${INSTALL_DATA} ${WRKSRC}/help/img/* ${DATADIR}/help/img
- ${INSTALL_DATA} ${WRKSRC}/help/index.html ${DATADIR}/help
- ${INSTALL_DATA} ${WRKSRC}/help/Thumbs.db ${DATADIR}/help
- ${LN} -s ${DATADIR}/tipp10 ${PREFIX}/bin
+do-configure:
+ cd ${WRKSRC} \
+ && ${SETENV} ${MAKE_ENV} DATADIR="${DATADIR}" ${QMAKE} -spec ${QMAKESPEC}
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/tipp10 ${PREFIX}/bin
+ ${INSTALL_DATA} -d ${DATADIR}/help/de/img
+ ${INSTALL_DATA} -d ${DATADIR}/help/de/content
+ ${INSTALL_DATA} -d ${DATADIR}/help/en/img
+ ${INSTALL_DATA} -d ${DATADIR}/help/en/content
+ ${INSTALL_DATA} ${WRKSRC}/release/tipp10v2.template ${WRKSRC}/metronome.wav ${WRKSRC}/error.wav ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/release/help/de/index.html ${DATADIR}/help/de
+ ${INSTALL_DATA} ${WRKSRC}/release/help/de/content/* ${DATADIR}/help/de/content
+ ${INSTALL_DATA} ${WRKSRC}/release/help/de/img/* ${DATADIR}/help/de/img
+ ${INSTALL_DATA} ${WRKSRC}/release/help/en/index.html ${DATADIR}/help/en
+ ${INSTALL_DATA} ${WRKSRC}/release/help/en/content/* ${DATADIR}/help/en/content
+ ${INSTALL_DATA} ${WRKSRC}/release/help/en/img/* ${DATADIR}/help/en/img
.include <bsd.port.mk>
diff --git a/german/tipp10/distinfo b/german/tipp10/distinfo
index 4d962d06c921..e118be6569ee 100644
--- a/german/tipp10/distinfo
+++ b/german/tipp10/distinfo
@@ -1,2 +1,2 @@
-SHA256 (tipp10_source_v2-0-1.zip) = 8fe9f116d4df31f3ab4a22f104526783a72f8162c59d9156ef308e46a6885983
-SIZE (tipp10_source_v2-0-1.zip) = 1441904
+SHA256 (tipp10_source_v2-1-0.zip) = 016dba017ead4a26fe8267b19f061d974b35831d65650c6944b5cfb7e4d38185
+SIZE (tipp10_source_v2-1-0.zip) = 2106535
diff --git a/german/tipp10/files/patch-sql-connection.h b/german/tipp10/files/patch-sql-connection.h
deleted file mode 100644
index 0bb75dfc878c..000000000000
--- a/german/tipp10/files/patch-sql-connection.h
+++ /dev/null
@@ -1,18 +0,0 @@
---- ./sql/connection.h.orig 2007-10-02 20:22:22.000000000 +0800
-+++ ./sql/connection.h 2008-08-24 16:25:30.000000000 +0800
-@@ -170,6 +170,7 @@
- // -> copy database to user home dir
- QFile file(QCoreApplication::applicationDirPath() + "/" + dbNameTemplate);
- if (file.copy(dbPath)) {
-+ QFile::setPermissions(dbPath, QFile::permissions(dbPath) | QFile::WriteUser);
- dbExist = true;
- } else {
- ErrorMessage *errorMessage = new ErrorMessage();
-@@ -201,6 +202,7 @@
- dir.cd("tipp10");
- QFile file(dbPath);
- if (file.copy(dir.path() + "/" + dbNameUser)) {
-+ QFile::setPermissions(dir.path() + "/" + dbNameUser, QFile::permissions(dir.path() + "/" + dbNameUser) | QFile::WriteUser);
- dbPath = dir.path() + "/" + dbNameUser;
- } else {
- ErrorMessage *errorMessage = new ErrorMessage();
diff --git a/german/tipp10/files/patch-tipp10.pro b/german/tipp10/files/patch-tipp10.pro
new file mode 100644
index 000000000000..42d2e99e8675
--- /dev/null
+++ b/german/tipp10/files/patch-tipp10.pro
@@ -0,0 +1,8 @@
+--- tipp10.pro 2011-03-12 20:22:32.000000000 +0100
++++ tipp10.pro 2011-07-24 14:24:03.000000000 +0200
+@@ -88,3 +88,5 @@
+ sql/startsql.cpp \
+ games/abcrainwidget.cpp \
+ games/charball.cpp
++
++DEFINES += "DATADIR=\"\\\"$$(DATADIR)\\\"\""
diff --git a/german/tipp10/files/patch-widget-keyboard.cpp b/german/tipp10/files/patch-widget-keyboard.cpp
deleted file mode 100644
index e794f25ac18f..000000000000
--- a/german/tipp10/files/patch-widget-keyboard.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- widget/keyboard.cpp.orig Tue Nov 27 22:06:05 2007
-+++ widget/keyboard.cpp Tue Nov 27 22:07:15 2007
-@@ -293,7 +293,8 @@
- // Emit the help text of current key(s)
- emit statusRefreshed(statusText);
- // Call the paint event (refresh the keyboard)
-- repaint();
-+ if (keyColoring || keyColoringStart)
-+ repaint();
- }
- }
-
diff --git a/german/tipp10/pkg-plist b/german/tipp10/pkg-plist
index cf5fc2bb7272..8796b474e6c6 100644
--- a/german/tipp10/pkg-plist
+++ b/german/tipp10/pkg-plist
@@ -1,79 +1,111 @@
bin/tipp10
-share/tipp10/help/Thumbs.db
-share/tipp10/help/content/about.html
-share/tipp10/help/content/behaviour.html
-share/tipp10/help/content/characteristics.html
-share/tipp10/help/content/evaluation.html
-share/tipp10/help/content/help.html
-share/tipp10/help/content/helpdocs.html
-share/tipp10/help/content/installation.html
-share/tipp10/help/content/introduction.html
-share/tipp10/help/content/lessons.html
-share/tipp10/help/content/lessonsettings.html
-share/tipp10/help/content/license.html
-share/tipp10/help/content/runprogram.html
-share/tipp10/help/content/settings.html
-share/tipp10/help/content/support.html
-share/tipp10/help/content/training.html
-share/tipp10/help/content/update.html
-share/tipp10/help/img/Thumbs.db
-share/tipp10/help/img/arrow_left.png
-share/tipp10/help/img/arrow_right.png
-share/tipp10/help/img/h_comparison_table.png
-share/tipp10/help/img/h_desktop_mac.png
-share/tipp10/help/img/h_evaluation_attention.png
-share/tipp10/help/img/h_evaluation_chars.png
-share/tipp10/help/img/h_evaluation_formula_error.png
-share/tipp10/help/img/h_evaluation_formula_grade.png
-share/tipp10/help/img/h_evaluation_lessons.png
-share/tipp10/help/img/h_evaluation_lessons_filter.png
-share/tipp10/help/img/h_evaluation_progress.png
-share/tipp10/help/img/h_evaluation_progress_sort.png
-share/tipp10/help/img/h_evaluation_tabs.png
-share/tipp10/help/img/h_fingers.png
-share/tipp10/help/img/h_installer_exit.png
-share/tipp10/help/img/h_installer_language.png
-share/tipp10/help/img/h_installer_license.png
-share/tipp10/help/img/h_introduction.png
-share/tipp10/help/img/h_key_blue.png
-share/tipp10/help/img/h_key_green.png
-share/tipp10/help/img/h_key_greydark.png
-share/tipp10/help/img/h_key_greylight.png
-share/tipp10/help/img/h_key_red.png
-share/tipp10/help/img/h_key_yellow.png
-share/tipp10/help/img/h_lesson_open_theme.png
-share/tipp10/help/img/h_lesson_own_menu.png
-share/tipp10/help/img/h_lesson_own_menu_edit.png
-share/tipp10/help/img/h_lesson_own_new.png
-share/tipp10/help/img/h_lesson_own_ws.png
-share/tipp10/help/img/h_lesson_tabs.png
-share/tipp10/help/img/h_lesson_training_done.png
-share/tipp10/help/img/h_main_duration.png
-share/tipp10/help/img/h_main_empty.png
-share/tipp10/help/img/h_main_linux_cut.png
-share/tipp10/help/img/h_main_settings.png
-share/tipp10/help/img/h_program_shortcut.png
-share/tipp10/help/img/h_settings_database.png
-share/tipp10/help/img/h_settings_font.png
-share/tipp10/help/img/h_settings_mac.png
-share/tipp10/help/img/h_settings_other.png
-share/tipp10/help/img/h_settings_training.png
-share/tipp10/help/img/h_terminal_mac.png
-share/tipp10/help/img/h_training_first_char.png
-share/tipp10/help/img/h_training_progress.png
-share/tipp10/help/img/h_training_start.png
-share/tipp10/help/img/h_training_without_keyboard.png
-share/tipp10/help/img/h_update.png
-share/tipp10/help/img/h_update_mac.png
-share/tipp10/help/img/h_update_proxy.png
-share/tipp10/help/img/logo.png
-share/tipp10/help/img/tt_logo.png
-share/tipp10/help/index.html
-share/tipp10/license.txt
-share/tipp10/tipp10
+share/tipp10/help/de/img/Thumbs.db
+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.png
+share/tipp10/help/de/img/h_lesson_own_menu.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/tt_logo.png
+share/tipp10/help/de/content/about.html
+share/tipp10/help/de/content/behaviour.html
+share/tipp10/help/de/content/donate.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/index.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.png
+share/tipp10/help/en/img/h_lesson_own_menu.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/content/about.html
+share/tipp10/help/en/content/behaviour.html
+share/tipp10/help/en/content/donate.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/index.html
share/tipp10/tipp10v2.template
-share/tipp10/wrong.wav
-@dirrm share/tipp10/help/img
-@dirrm share/tipp10/help/content
+share/tipp10/metronome.wav
+share/tipp10/error.wav
+@dirrm share/tipp10/help/de/img
+@dirrm share/tipp10/help/de/content
+@dirrm share/tipp10/help/de
+@dirrm share/tipp10/help/en/img
+@dirrm share/tipp10/help/en/content
+@dirrm share/tipp10/help/en
@dirrm share/tipp10/help
@dirrm share/tipp10