View | Details | Raw Unified | Return to bug 268895 | Differences between
and this patch

Collapse All | Expand All

(-)b/games/kanatest/Makefile (+43 lines)
Added Link Here
1
PORTNAME=	kanatest
2
PORTVERSION=	0.4.10
3
PORTREVISION=	3
4
CATEGORIES=	games
5
6
MAINTAINER=	Clockwork6400@protonmail.com
7
COMMENT=	Japanese kana (Hiragana and Katakana) simple flashcard tool
8
WWW=		https://github.com/Clockwork6400/kanatest
9
10
LICENSE=	GPLv2
11
LICENSE_FILE=	${WRKSRC}/LICENSE
12
13
LIB_DEPENDS+=	libharfbuzz.so:print/harfbuzz
14
USES=		gettext gmake pkgconfig desktop-file-utils
15
USE_GNOME+=	gtk30 libxml2 pango atk cairo gdkpixbuf2 glib20
16
GNU_CONFIGURE=	yes
17
MAKE_ENV+=	LIBINTL="-lintl"
18
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	Clockwork6400
21
22
pre-configure:
23
	${CHMOD} +x ${WRKSRC}/configure
24
	${REINPLACE_CMD} '/LIBS/s|-lxml|-L${LOCALBASE}/lib &|' \
25
		${WRKSRC}/configure
26
	${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
27
		${WRKSRC}/src/Makefile.in
28
	${REINPLACE_CMD} -e '/^%.mo:/,/^$$/s/test[^;]*/${TRUE}/' \
29
		-e '\|/usr/bin| { s||${LOCALBASE}/bin|; s|=|?=|; }' \
30
		${WRKSRC}/po/Makefile.in
31
	${REINPLACE_CMD} -e '/GTK_WIDGET_SET_FLAGS/ { \
32
		s//gtk_widget_set_can_default/; \
33
		s/GTK_CAN_DEFAULT/TRUE/; }' \
34
		-e '/GTK_WIDGET_UNSET_FLAGS/ { \
35
		s//gtk_widget_set_can_focus/; \
36
		s/GTK_CAN_FOCUS/FALSE/; }' \
37
		${WRKSRC}/src/about.c \
38
		${WRKSRC}/src/chart.c \
39
		${WRKSRC}/src/gui.c \
40
		${WRKSRC}/src/options.c \
41
		${WRKSRC}/src/stats.c
42
43
.include <bsd.port.mk>
(-)b/games/kanatest/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1673380381
2
SHA256 (Clockwork6400-kanatest-0.4.10_GH0.tar.gz) = 04b545bd85abe196de7f08d5e956ca4e2a8b82b584a7ef79c47d27f47e2def87
3
SIZE (Clockwork6400-kanatest-0.4.10_GH0.tar.gz) = 392664
(-)b/games/kanatest/pkg-descr (+7 lines)
Added Link Here
1
During test the Kanatest displays randomly selected kana char
2
(respecting mode and lesson) and waits for user answer expected as
3
romaji equivalent. This process continues until all questions will be
4
answered or all questions will be answered correctly (depends on
5
options). At the end of test a short info about drilling time and
6
correctness ratio is displayed. The results are stored and user can
7
review his performance in any time.
(-)b/games/kanatest/pkg-plist (-1 / +21 lines)
Added Link Here
0
- 
1
bin/kanatest
2
share/applications/kanatest.desktop
3
share/icons/hicolor/16x16/apps/kanatest.png
4
share/icons/hicolor/22x22/apps/kanatest.png
5
share/icons/hicolor/24x24/apps/kanatest.png
6
share/icons/hicolor/32x32/apps/kanatest.png
7
share/icons/hicolor/48x48/apps/kanatest.png
8
share/icons/hicolor/scalable/apps/kanatest.svg
9
share/locale/de/LC_MESSAGES/kanatest.mo
10
share/locale/es/LC_MESSAGES/kanatest.mo
11
share/locale/fr/LC_MESSAGES/kanatest.mo
12
share/locale/hu/LC_MESSAGES/kanatest.mo
13
share/locale/it/LC_MESSAGES/kanatest.mo
14
share/locale/pl/LC_MESSAGES/kanatest.mo
15
share/locale/pt/LC_MESSAGES/kanatest.mo
16
share/locale/ru/LC_MESSAGES/kanatest.mo
17
share/locale/el/LC_MESSAGES/kanatest.mo
18
share/locale/fi/LC_MESSAGES/kanatest.mo
19
share/locale/hr/LC_MESSAGES/kanatest.mo
20
share/locale/zh_CN/LC_MESSAGES/kanatest.mo
21
share/pixmaps/kanatest.png

Return to bug 268895