From 2c40b6a49a1b2ab0e0809bd91cc734abb1d157ca Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 1 May 2009 22:21:07 +0000 Subject: [PATCH] - Update games/anki to version 0.9.9.7.1 - Change games/py-anki to slave port of games/anki PR: 133314 Submitted by: KATO Tsuguru --- games/anki/Makefile | 31 +------ games/anki/Makefile.inc | 51 ++++++++++ games/anki/distinfo | 6 +- games/anki/pkg-plist | 93 ++++++++++++++----- .../pkg-plist => anki/pkg-plist.py-anki} | 66 ++++++++----- games/py-anki/Makefile | 24 +---- games/py-anki/distinfo | 3 - games/py-anki/pkg-descr | 6 -- 8 files changed, 171 insertions(+), 109 deletions(-) create mode 100644 games/anki/Makefile.inc rename games/{py-anki/pkg-plist => anki/pkg-plist.py-anki} (83%) delete mode 100644 games/py-anki/distinfo delete mode 100644 games/py-anki/pkg-descr diff --git a/games/anki/Makefile b/games/anki/Makefile index ae191df233c3..b596d0629cc1 100644 --- a/games/anki/Makefile +++ b/games/anki/Makefile @@ -5,36 +5,9 @@ # $FreeBSD$ # -PORTNAME= anki -PORTVERSION= 0.9.9.5 -PORTREVISION= 1 -CATEGORIES= games -MASTER_SITES= http://ichi2.net/anki/download/files/ -EXTRACT_SUFX= .tgz - MAINTAINER= ports@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} +MASTERDIR= ${.CURDIR} -USE_GETTEXT= yes -USE_PYDISTUTILS=easy_install -USE_PYTHON= yes -USE_QT_VER= 4 -QT_COMPONENTS= moc_build -PYDISTUTILS_PKGNAME= ankiqt -PORT_VERBS= ankiqt - -post-extract: - @cd ${WRKSRC}/&&${RM} -rf libanki build - -post-patch: - @${REINPLACE_CMD} -e '/req/d' ${WRKSRC}/setup.py - -.include +.include "${MASTERDIR}/Makefile.inc" diff --git a/games/anki/Makefile.inc b/games/anki/Makefile.inc new file mode 100644 index 000000000000..c17ad7874700 --- /dev/null +++ b/games/anki/Makefile.inc @@ -0,0 +1,51 @@ +# $FreeBSD$ + +PORTNAME= anki +PORTVERSION= 0.9.9.7.7 +CATEGORIES= games +MASTER_SITES= http://ichi2.net/anki/download/files/ +EXTRACT_SUFX= .tgz + +USE_PYTHON= yes +USE_GETTEXT= yes +USE_PYDISTUTILS= easy_install + +.include + +.if !defined(PKGNAMEPREFIX) +BUILD_DEPENDS= ${PYNUMPY} \ + py*-qt4-core>=4.4:${PORTSDIR}/devel/py-qt4-core \ + py*-sip>=4.6:${PORTSDIR}/devel/py-sip \ + py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib \ + py*-qt4-gui>=4.4:${PORTSDIR}/x11-toolkits/py-qt4-gui +RUN_DEPENDS:= ${BUILD_DEPENDS} \ + py*-anki>=0.9.9:${PORTSDIR}/games/py-anki \ + py*-svg>=4.4:${PORTSDIR}/graphics/py-qt4-svg \ + py*-network>=4.4:${PORTSDIR}/net/py-qt4-network \ + py*-webkit>=4.4:${PORTSDIR}/www/py-qt4-webkit + +USE_QT_VER= 4 +QT_COMPONENTS= corelib gui +PYDISTUTILS_PKGNAME= ankiqt + +PORT_VERBS= ankiqt +.else +BUILD_DEPENDS= ${PYNUMPY} \ + py*-pysqlite>=0:${PORTSDIR}/databases/py-pysqlite23 \ + py*-sqlalchemy>=0:${PORTSDIR}/databases/py-sqlalchemy \ + py*-game>=0:${PORTSDIR}/devel/py-game \ + py*-simplejson>=0:${PORTSDIR}/devel/py-simplejson \ + py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib +RUN_DEPENDS:= ${BUILD_DEPENDS} \ + kakasi:${PORTSDIR}/japanese/kakasi + +PLIST= ${PKGDIR}/pkg-plist.py-anki +WRKSRC= ${WRKDIR}/${DISTNAME}/lib${PORTNAME} +.endif + +post-patch: +.if !defined(PKGNAMEPREFIX) + @${REINPLACE_CMD} -e '/req/d' ${WRKSRC}/setup.py +.endif + +.include diff --git a/games/anki/distinfo b/games/anki/distinfo index d687ad7ca66e..89bbc3607174 100644 --- a/games/anki/distinfo +++ b/games/anki/distinfo @@ -1,3 +1,3 @@ -MD5 (anki-0.9.9.5.tgz) = e2f0aec556da08695a9ed707fad04755 -SHA256 (anki-0.9.9.5.tgz) = 0426894cce07e8dd0991a1c68a554249f0dd0c15daf1e40ab36084f5d20f2865 -SIZE (anki-0.9.9.5.tgz) = 3642909 +MD5 (anki-0.9.9.7.7.tgz) = eb927d0f90b9d2548c5c7048b2ee48ed +SHA256 (anki-0.9.9.7.7.tgz) = 471f10661513227bf61a72fbbaf2bc3693afa2b36e3b964b15b97c3cd14e3511 +SIZE (anki-0.9.9.7.7.tgz) = 1769399 diff --git a/games/anki/pkg-plist b/games/anki/pkg-plist index 057dc225451c..0589f6bc7ba2 100644 --- a/games/anki/pkg-plist +++ b/games/anki/pkg-plist @@ -20,12 +20,12 @@ bin/anki %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/activetags.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/activetags.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/activetags.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/addcardmodels.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addcardmodels.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/addcardmodels.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 @@ -35,18 +35,30 @@ bin/anki %%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/changemodel.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/changemodel.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/changemodel.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/editfont.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/editfont.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/editfont.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/edithtml.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/edithtml.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/edithtml.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/findreplace.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/findreplace.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/findreplace.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/getshared.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/getshared.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/getshared.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 @@ -65,6 +77,12 @@ bin/anki %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/previewcards.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/previewcards.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/previewcards.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/reschedule.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/reschedule.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/reschedule.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/share.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/share.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms/share.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 @@ -76,13 +94,19 @@ bin/anki %%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/ee_EE/LC_MESSAGES/ankiqt.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/es_ES/LC_MESSAGES/ankiqt.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/fi_FI/LC_MESSAGES/ankiqt.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/fr_FR/LC_MESSAGES/ankiqt.mo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ko_KR/LC_MESSAGES/ankiqt.mo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ja_JP/LC_MESSAGES/ankiqt.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/it_IT/LC_MESSAGES/ankiqt.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ja_JP/LC_MESSAGES/ankiqt.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ko_KR/LC_MESSAGES/ankiqt.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/mn_MN/LC_MESSAGES/ankiqt.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/pl_PL/LC_MESSAGES/ankiqt.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/pt_BR/LC_MESSAGES/ankiqt.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/sv_SE/LC_MESSAGES/ankiqt.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/zh_CN/LC_MESSAGES/ankiqt.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/zh_TW/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 @@ -110,6 +134,9 @@ bin/anki %%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/getshared.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/getshared.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/getshared.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 @@ -134,6 +161,9 @@ bin/anki %%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/sound.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/sound.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui/sound.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 @@ -158,28 +188,41 @@ bin/anki %%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/fi_FI/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/fi_FI -@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/it_IT/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/it_IT -@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/ko_KR/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ko_KR +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/zh_TW/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/zh_TW +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/zh_CN/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/zh_CN +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/sv_SE/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/sv_SE +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/pt_BR/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/pt_BR @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/pl_PL/LC_MESSAGES @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/pl_PL + +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ko_KR/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ko_KR +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/mn_MN/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/mn_MN +@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/it_IT/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/it_IT +@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/fi_FI/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/fi_FI +@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/ee_EE/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/ee_EE +@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/cs_CZ/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale/cs_CZ @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/locale -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/ui +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt/forms @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ankiqt +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/scripts +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% diff --git a/games/py-anki/pkg-plist b/games/anki/pkg-plist.py-anki similarity index 83% rename from games/py-anki/pkg-plist rename to games/anki/pkg-plist.py-anki index 8b0a283d3593..958f98182246 100644 --- a/games/py-anki/pkg-plist +++ b/games/anki/pkg-plist.py-anki @@ -33,6 +33,7 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/chinese/save_unihan.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/chinese/save_unihan.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/chinese/save_unihan.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/chinese/unihan.db %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/japanese.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/japanese.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/japanese.pyo @@ -51,9 +52,6 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/__init__.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/__init__.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/__init__.pyo -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/wcu.py -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/wcu.pyc -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/wcu.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/anki10.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/anki10.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/anki10.pyo @@ -63,6 +61,9 @@ %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/mnemosyne10.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/mnemosyne10.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/mnemosyne10.pyo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/wcu.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/wcu.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing/wcu.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/lang.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/lang.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/lang.pyo @@ -71,13 +72,19 @@ %%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/ee_EE/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/fi_FI/LC_MESSAGES/libanki.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/fr_FR/LC_MESSAGES/libanki.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/it_IT/LC_MESSAGES/libanki.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ja_JP/LC_MESSAGES/libanki.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ko_KR/LC_MESSAGES/libanki.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/mn_MN/LC_MESSAGES/libanki.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pl_PL/LC_MESSAGES/libanki.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pt_BR/LC_MESSAGES/libanki.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/sv_SE/LC_MESSAGES/libanki.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/zh_CN/LC_MESSAGES/libanki.mo +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/zh_TW/LC_MESSAGES/libanki.mo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/media.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/media.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/media.pyo @@ -96,31 +103,46 @@ %%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/tags.py +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/tags.pyc +%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/tags.pyo %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/utils.py %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/utils.pyc %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/utils.pyo -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/chinese -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing -@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/fi_FI/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/fi_FI -@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/zh_TW/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/zh_TW +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/zh_CN/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/zh_CN +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/sv_SE/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/sv_SE +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pt_BR/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pt_BR +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pl_PL/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pl_PL +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/mn_MN/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/mn_MN +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ko_KR/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ko_KR @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/it_IT/LC_MESSAGES @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/it_IT -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ko_KR/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ko_KR -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pl_PL/LC_MESSAGES -@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/pl_PL +@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/fi_FI/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/fi_FI +@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/ee_EE/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/ee_EE +@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/cs_CZ/LC_MESSAGES +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale/cs_CZ @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/locale +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/importing +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features/chinese +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki/features @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/anki +@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO @dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% diff --git a/games/py-anki/Makefile b/games/py-anki/Makefile index a9d59b7d14d9..3bf8645b241e 100644 --- a/games/py-anki/Makefile +++ b/games/py-anki/Makefile @@ -5,28 +5,10 @@ # $FreeBSD$ # -PORTNAME= anki -PORTVERSION= 0.9.9.5 -CATEGORIES= games python -MASTER_SITES= http://ichi2.net/anki/download/files/ -PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -EXTRACT_SUFX= .tgz - MAINTAINER= ports@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*-simplejson>=0:${PORTSDIR}/devel/py-simplejson \ - py*-sqlalchemy>=0:${PORTSDIR}/databases/py-sqlalchemy \ - py*-pysqlite>=0:${PORTSDIR}/databases/py-pysqlite23 \ - py*-matplotlib>=0.90.0:${PORTSDIR}/math/py-matplotlib -RUN_DEPENDS:= ${BUILD_DEPENDS} \ - kakasi:${PORTSDIR}/japanese/kakasi +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +MASTERDIR= ${.CURDIR}/../anki -USE_GETTEXT= yes -USE_PYDISTUTILS=easy_install -USE_PYTHON= yes -WRKSRC= ${WRKDIR}/${DISTNAME}/lib${PORTNAME} - -.include +.include "${MASTERDIR}/Makefile.inc" diff --git a/games/py-anki/distinfo b/games/py-anki/distinfo deleted file mode 100644 index d687ad7ca66e..000000000000 --- a/games/py-anki/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (anki-0.9.9.5.tgz) = e2f0aec556da08695a9ed707fad04755 -SHA256 (anki-0.9.9.5.tgz) = 0426894cce07e8dd0991a1c68a554249f0dd0c15daf1e40ab36084f5d20f2865 -SIZE (anki-0.9.9.5.tgz) = 3642909 diff --git a/games/py-anki/pkg-descr b/games/py-anki/pkg-descr deleted file mode 100644 index ddc34f4cb9a3..000000000000 --- a/games/py-anki/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -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