summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2008-02-12 17:38:25 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2008-02-12 17:38:25 +0000
commitc2f603edf9a3a7436410352000018a0197ca4ec9 (patch)
tree35a15f85ff58c2758d7b3fa4e7a1ccb9d1a9cd57 /games
parent- Update to 2.2.23 (diff)
Add ports games/anki and games/py-anki:
Anki is a program designed to help you remember facts (such as words and phrases in a foreign language) as easily, quickly and efficiently as possible. To do this, it tracks how well you remember each fact, and uses that information to optimally schedule review times. With a minimal amount of effort, you can greatly increase the amount of material you remember, making study more productive, and more fun. While Anki can be used for studying anything, it also ships with special features designed to make studying Japanese and English easier: integrated dictionary lookups, missing kanji reports, and more. Sample decks are also provided for Russian. py-anki is a library based on a theory called spaced repetition. In simple terms, it means that each time you review some material, you should wait longer than last time before reviewing it again. WWW: http://ichi2.net/anki/ Author: Damien Elmes <anki@ichi2.net>
Notes
Notes: svn path=/head/; revision=207057
Diffstat (limited to 'games')
-rw-r--r--games/Makefile2
-rw-r--r--games/anki/Makefile41
-rw-r--r--games/anki/distinfo3
-rw-r--r--games/anki/pkg-descr14
-rw-r--r--games/anki/pkg-plist158
-rw-r--r--games/py-anki/Makefile33
-rw-r--r--games/py-anki/distinfo3
-rw-r--r--games/py-anki/pkg-descr6
-rw-r--r--games/py-anki/pkg-plist150
9 files changed, 410 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index a20440080347..7dd1dd3dfcc6 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -42,6 +42,7 @@
SUBDIR += an
SUBDIR += anagramarama
SUBDIR += angband
+ SUBDIR += anki
SUBDIR += annelid
SUBDIR += antipolix
SUBDIR += antrix
@@ -593,6 +594,7 @@
SUBDIR += ptkei
SUBDIR += ptools
SUBDIR += pvpgn
+ SUBDIR += py-anki
SUBDIR += py-mnemosyne
SUBDIR += py-poker-eval
SUBDIR += py-pychess
diff --git a/games/anki/Makefile b/games/anki/Makefile
new file mode 100644
index 000000000000..9b93695b0970
--- /dev/null
+++ b/games/anki/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: anki
+# Date created: 9 August 2007
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= anki
+PORTVERSION= 0.4.3
+CATEGORIES= games
+MASTER_SITES= SF
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Flashcard trainer with spaced repetition
+
+BUILD_DEPENDS= py*-qt4-core>=4.2:${PORTSDIR}/devel/py-qt4-core \
+ py*-qt4-gui>=4.2:${PORTSDIR}/x11-toolkits/py-qt4-gui \
+ py*-sip>=4.6:${PORTSDIR}/devel/py-sip \
+ py*-numpy>=0:${PORTSDIR}/math/py-numpy \
+ py*-anki>=0.4.3:${PORTSDIR}/games/py-anki \
+ py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+USE_GETTEXT= yes
+USE_PYDISTUTILS=easy_install
+USE_PYTHON= yes
+USE_QT_VER= 4
+QT_COMPONENTS= moc
+PYDISTUTILS_PKGNAME= ankiqt
+PORT_VERBS= ankiqt
+
+post-extract:
+ @cd ${WRKSRC}/&&${RM} -rf libanki build
+
+post-patch:
+ @${REINPLACE_CMD} -e '/req/d' ${WRKSRC}/setup.py
+ @${REINPLACE_CMD} -e 's|0.4.2|${PORTVERSION}|g'\
+ ${WRKSRC}/ankiqt/__init__.py
+
+.include <bsd.port.mk>
diff --git a/games/anki/distinfo b/games/anki/distinfo
new file mode 100644
index 000000000000..16c3adaccb40
--- /dev/null
+++ b/games/anki/distinfo
@@ -0,0 +1,3 @@
+MD5 (anki-0.4.3.tgz) = 90434860945de4c09d55cdb5dbe984fc
+SHA256 (anki-0.4.3.tgz) = 18a93fb46363ca34963fc2588cadf7415dd799dd647efa681859eb8b1b22f104
+SIZE (anki-0.4.3.tgz) = 1631962
diff --git a/games/anki/pkg-descr b/games/anki/pkg-descr
new file mode 100644
index 000000000000..4ac13a73398b
--- /dev/null
+++ b/games/anki/pkg-descr
@@ -0,0 +1,14 @@
+Anki is a program designed to help you remember facts (such as words and
+phrases in a foreign language) as easily, quickly and efficiently as possible.
+To do this, it tracks how well you remember each fact, and uses that
+information to optimally schedule review times. With a minimal amount of
+effort, you can greatly increase the amount of material you remember, making
+study more productive, and more fun.
+
+While Anki can be used for studying anything, it also ships with special
+features designed to make studying Japanese and English easier: integrated
+dictionary lookups, missing kanji reports, and more. Sample decks are also
+provided for Russian.
+
+WWW: http://ichi2.net/anki/
+Author: Damien Elmes <anki@ichi2.net>
diff --git a/games/anki/pkg-plist b/games/anki/pkg-plist
new file mode 100644
index 000000000000..0dca5f67afaf
--- /dev/null
+++ b/games/anki/pkg-plist
@@ -0,0 +1,158 @@
+bin/anki
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts/anki
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/config.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/config.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/config.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/about.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/about.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/about.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addcards.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addcards.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addcards.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addmodel.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addmodel.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addmodel.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/cardlist.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/cardlist.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/cardlist.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/changemap.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/changemap.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/changemap.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/deckproperties.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/deckproperties.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/deckproperties.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/displayproperties.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/displayproperties.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/displayproperties.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/exporting.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/exporting.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/exporting.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/importing.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/importing.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/importing.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/infodialog.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/infodialog.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/infodialog.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/main.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/main.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/main.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/modelproperties.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/modelproperties.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/modelproperties.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/preferences.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/preferences.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/preferences.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/sort.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/sort.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/sort.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/syncdeck.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/syncdeck.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/syncdeck.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/icons_rc.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/icons_rc.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/icons_rc.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/cs_CZ/LC_MESSAGES/ankiqt.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/de_DE/LC_MESSAGES/ankiqt.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/es_ES/LC_MESSAGES/ankiqt.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/fr_FR/LC_MESSAGES/ankiqt.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ja_JP/LC_MESSAGES/ankiqt.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/nl_NL/LC_MESSAGES/ankiqt.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/about.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/about.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/about.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/addcards.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/addcards.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/addcards.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/cardlist.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/cardlist.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/cardlist.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/deckproperties.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/deckproperties.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/deckproperties.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/displayproperties.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/displayproperties.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/displayproperties.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/exporting.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/exporting.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/exporting.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/facteditor.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/facteditor.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/facteditor.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/graphs.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/graphs.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/graphs.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/help.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/help.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/help.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/importing.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/importing.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/importing.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/lookup.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/lookup.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/lookup.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/main.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/main.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/main.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/modelchooser.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/modelchooser.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/modelchooser.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/modelproperties.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/modelproperties.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/modelproperties.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/preferences.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/preferences.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/preferences.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/status.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/status.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/status.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/sync.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/sync.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/sync.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/tagedit.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/tagedit.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/tagedit.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/unsaved.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/unsaved.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/unsaved.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/update.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/update.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/update.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/view.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/view.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/view.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/cs_CZ/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/cs_CZ
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/de_DE/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/de_DE
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/es_ES/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/es_ES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/fr_FR/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/fr_FR
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ja_JP/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ja_JP
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/nl_NL/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/nl_NL
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
diff --git a/games/py-anki/Makefile b/games/py-anki/Makefile
new file mode 100644
index 000000000000..0aadf92cbcf8
--- /dev/null
+++ b/games/py-anki/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: py-anki
+# Date created: 12 February 2008
+# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= anki
+PORTVERSION= 0.4.3
+CATEGORIES= games
+MASTER_SITES= SF
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= infofarmer@FreeBSD.org
+COMMENT= Spaced-repetition memory training library
+
+BUILD_DEPENDS= py*-numpy>=0:${PORTSDIR}/math/py-numpy \
+ py*-game>=0:${PORTSDIR}/devel/py-game \
+ py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib
+RUN_DEPENDS:= ${BUILD_DEPENDS} \
+ kakasi:${PORTSDIR}/japanese/kakasi
+
+USE_GETTEXT= yes
+USE_PYDISTUTILS=easy_install
+USE_PYTHON= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/lib${PORTNAME}
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|0.4.2|${PORTVERSION}|g'\
+ ${WRKSRC}/anki/__init__.py
+
+.include <bsd.port.mk>
diff --git a/games/py-anki/distinfo b/games/py-anki/distinfo
new file mode 100644
index 000000000000..16c3adaccb40
--- /dev/null
+++ b/games/py-anki/distinfo
@@ -0,0 +1,3 @@
+MD5 (anki-0.4.3.tgz) = 90434860945de4c09d55cdb5dbe984fc
+SHA256 (anki-0.4.3.tgz) = 18a93fb46363ca34963fc2588cadf7415dd799dd647efa681859eb8b1b22f104
+SIZE (anki-0.4.3.tgz) = 1631962
diff --git a/games/py-anki/pkg-descr b/games/py-anki/pkg-descr
new file mode 100644
index 000000000000..ddc34f4cb9a3
--- /dev/null
+++ b/games/py-anki/pkg-descr
@@ -0,0 +1,6 @@
+Anki is a library based on a theory called spaced repetition. In
+simple terms, it means that each time you review some material, you
+should wait longer than last time before reviewing it again.
+
+WWW: http://ichi2.net/anki/
+Author: Damien Elmes <anki@ichi2.net>
diff --git a/games/py-anki/pkg-plist b/games/py-anki/pkg-plist
new file mode 100644
index 000000000000..8f375da81018
--- /dev/null
+++ b/games/py-anki/pkg-plist
@@ -0,0 +1,150 @@
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/cardmodels.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/cardmodels.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/cardmodels.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/cards.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/cards.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/cards.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/deck.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/deck.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/deck.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/decorators.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/decorators.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/decorators.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/emacs.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/emacs.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/emacs.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/errors.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/errors.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/errors.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/exporting.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/exporting.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/exporting.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/facts.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/facts.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/facts.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/fields.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/fields.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/fields.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/fonts.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/fonts.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/fonts.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/graphs.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/graphs.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/graphs.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/ids.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/ids.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/ids.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/json2.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/json2.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/json2.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/lang.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/lang.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/lang.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/latex.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/latex.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/latex.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/cs_CZ/LC_MESSAGES/libanki.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/de_DE/LC_MESSAGES/libanki.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/es_ES/LC_MESSAGES/libanki.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/fr_FR/LC_MESSAGES/libanki.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ja_JP/LC_MESSAGES/libanki.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/nl_NL/LC_MESSAGES/libanki.mo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/models.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/models.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/models.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/samples/Heisig.anki
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/samples/JLPT2 657 words.anki
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/samples/JLPT3+4 411 words.anki
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/samples/JLPT4 318 words.anki
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/samples/Russian.anki
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sched.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sched.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sched.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sound.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sound.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sound.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/stats.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/stats.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/stats.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/stdmodels.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/stdmodels.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/stdmodels.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/chinese/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/chinese/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/chinese/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/chinese/pickle_unihan.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/chinese/pickle_unihan.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/chinese/pickle_unihan.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/japanese.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/japanese.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/japanese.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sync.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sync.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/sync.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_deck.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_deck.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_deck.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_exporting.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_exporting.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_exporting.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_fonts.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_fonts.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_fonts.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_importing.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_importing.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_importing.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_lang.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_lang.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_lang.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_model.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_model.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_model.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_sched.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_sched.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_sched.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_support.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_support.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_support.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_sync.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_sync.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests/test_sync.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/cs_CZ/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/cs_CZ
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/de_DE/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/de_DE
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/es_ES/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/es_ES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/fr_FR/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/fr_FR
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ja_JP/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ja_JP
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/nl_NL/LC_MESSAGES
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/nl_NL
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/samples
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support/chinese
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/support
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/tests
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%