diff options
author | wiz <wiz> | 2012-12-17 11:55:46 +0000 |
---|---|---|
committer | wiz <wiz> | 2012-12-17 11:55:46 +0000 |
commit | fe54e8c800e7ac409b86553655fa73736b8a470d (patch) | |
tree | cec6748a47c8cf2aa5584ad52e32b0d457992318 /misc/py-anki2 | |
parent | 1a98b1d41f63691e0244f31ed34239defd7a80a3 (diff) | |
download | pkgsrc-fe54e8c800e7ac409b86553655fa73736b8a470d.tar.gz |
Import py27-anki2-2.0.3 as misc/py-anki2.
Anki is a program which makes remembering things easy. Because it is a lot
more efficient than traditional study methods, you can either greatly
decrease your time spent studying, or greatly increase the amount you learn.
Anyone who needs to remember things in their daily life can benefit from
Anki. Since it is content-agnostic and supports images, audio, videos and
scientific markup (via LaTeX), the possibilities are endless.
This package contains the major version 2 of the program.
Diffstat (limited to 'misc/py-anki2')
-rw-r--r-- | misc/py-anki2/DESCR | 9 | ||||
-rw-r--r-- | misc/py-anki2/Makefile | 59 | ||||
-rw-r--r-- | misc/py-anki2/PLIST | 456 | ||||
-rw-r--r-- | misc/py-anki2/distinfo | 6 | ||||
-rw-r--r-- | misc/py-anki2/patches/patch-Makefile | 31 |
5 files changed, 561 insertions, 0 deletions
diff --git a/misc/py-anki2/DESCR b/misc/py-anki2/DESCR new file mode 100644 index 00000000000..71612d5b046 --- /dev/null +++ b/misc/py-anki2/DESCR @@ -0,0 +1,9 @@ +Anki is a program which makes remembering things easy. Because it is a lot +more efficient than traditional study methods, you can either greatly +decrease your time spent studying, or greatly increase the amount you learn. + +Anyone who needs to remember things in their daily life can benefit from +Anki. Since it is content-agnostic and supports images, audio, videos and +scientific markup (via LaTeX), the possibilities are endless. + +This package contains the major version 2 of the program. diff --git a/misc/py-anki2/Makefile b/misc/py-anki2/Makefile new file mode 100644 index 00000000000..c0382c6719a --- /dev/null +++ b/misc/py-anki2/Makefile @@ -0,0 +1,59 @@ +# $NetBSD: Makefile,v 1.1 2012/12/17 11:55:46 wiz Exp $ + +DISTNAME= anki-2.0.3 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:C/anki/anki2/} +CATEGORIES= misc x11 +MASTER_SITES= http://ankisrs.net/download/mirror/ +EXTRACT_SUFX= .tgz + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= http://ankisrs.net/ +COMMENT= Flashcard learning program (v2) +LICENSE= gnu-gpl-v3 + +DEPENDS+= ${PYPKGPREFIX}-qt4>=4.4:../../x11/py-qt4 +DEPENDS+= lame-[0-9]*:../../audio/lame +DEPENDS+= mplayer-[0-9]*:../../multimedia/mplayer +DEPENDS+= portaudio-devel-[0-9]*:../../audio/portaudio-devel +DEPENDS+= ${PYPKGPREFIX}-beautifulsoup>=3.2:../../www/py-beautifulsoup +DEPENDS+= ${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2 +# XXX: python portaudio + +USE_PKGLOCALEDIR= yes +USE_LANGUAGES= # none +CONFLICTS+= ${PYPKGPREFIX}-libanki-[0-9]* ${PYPKGPREFIXP}-anki-[0-9]* + +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/pixmaps share/applications + +REPLACE_PYTHON= anki + +SUBST_CLASSES+= inst +SUBST_SED.inst+= -e 's,/usr/share/anki,${PREFIX}/share/anki,' +SUBST_FILES.inst+= anki +SUBST_STAGE.inst= pre-build +SUBST_MESSAGE.inst= Fixing installation path. + +SUBST_CLASSES+= lame +SUBST_SED.lame+= -e 's,/usr/local,${PREFIX},' +SUBST_FILES.lame+= libanki/anki/sound.py +SUBST_STAGE.lame= pre-build +SUBST_MESSAGE.lame= Fixing path to lame. + +SUBST_CLASSES+= man +SUBST_SED.man+= -e 's,share/man/man1,${PKGMANDIR}/man1,' +SUBST_FILES.man+= Makefile +SUBST_STAGE.man= pre-build +SUBST_MESSAGE.man= Fixing path to man page directory. + +MAKE_FLAGS+= PREFIX=${PREFIX} DESTDIR=${DESTDIR} + +post-extract: + ${RM} -rf ${WRKSRC}/libanki/thirdparty + +# due to patch-Makefile +post-install: + rm ${DESTDIR}${PREFIX}/share/anki/Makefile.orig + +.include "../../lang/python/application.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/py-anki2/PLIST b/misc/py-anki2/PLIST new file mode 100644 index 00000000000..eff40391c90 --- /dev/null +++ b/misc/py-anki2/PLIST @@ -0,0 +1,456 @@ +@comment $NetBSD: PLIST,v 1.1 2012/12/17 11:55:46 wiz Exp $ +bin/anki +man/man1/anki.1 +share/anki/ChangeLog.old +share/anki/LICENSE +share/anki/LICENSE.logo +share/anki/Makefile +share/anki/README +share/anki/README.development +share/anki/README.translating +share/anki/anki.bat +share/anki/anki.xml +share/anki/aqt/__init__.py +share/anki/aqt/about.py +share/anki/aqt/addcards.py +share/anki/aqt/addons.py +share/anki/aqt/browser.py +share/anki/aqt/clayout.py +share/anki/aqt/customstudy.py +share/anki/aqt/deckbrowser.py +share/anki/aqt/deckchooser.py +share/anki/aqt/deckconf.py +share/anki/aqt/downloader.py +share/anki/aqt/dyndeckconf.py +share/anki/aqt/editcurrent.py +share/anki/aqt/editor.py +share/anki/aqt/errors.py +share/anki/aqt/exporting.py +share/anki/aqt/fields.py +share/anki/aqt/forms/__init__.py +share/anki/aqt/forms/about.py +share/anki/aqt/forms/addcards.py +share/anki/aqt/forms/addfield.py +share/anki/aqt/forms/addmodel.py +share/anki/aqt/forms/browser.py +share/anki/aqt/forms/browserdisp.py +share/anki/aqt/forms/browseropts.py +share/anki/aqt/forms/changemap.py +share/anki/aqt/forms/changemodel.py +share/anki/aqt/forms/customstudy.py +share/anki/aqt/forms/dconf.py +share/anki/aqt/forms/debug.py +share/anki/aqt/forms/dyndconf.py +share/anki/aqt/forms/editaddon.py +share/anki/aqt/forms/editcurrent.py +share/anki/aqt/forms/edithtml.py +share/anki/aqt/forms/exporting.py +share/anki/aqt/forms/fields.py +share/anki/aqt/forms/finddupes.py +share/anki/aqt/forms/findreplace.py +share/anki/aqt/forms/getaddons.py +share/anki/aqt/forms/icons_rc.py +share/anki/aqt/forms/importing.py +share/anki/aqt/forms/limits.py +share/anki/aqt/forms/main.py +share/anki/aqt/forms/modelopts.py +share/anki/aqt/forms/models.py +share/anki/aqt/forms/preferences.py +share/anki/aqt/forms/preview.py +share/anki/aqt/forms/profiles.py +share/anki/aqt/forms/reposition.py +share/anki/aqt/forms/reschedule.py +share/anki/aqt/forms/setgroup.py +share/anki/aqt/forms/setlang.py +share/anki/aqt/forms/stats.py +share/anki/aqt/forms/studydeck.py +share/anki/aqt/forms/taglimit.py +share/anki/aqt/forms/template.py +share/anki/aqt/importing.py +share/anki/aqt/locale/af/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/ar/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/az/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/bg/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/bn/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/bs/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/ca/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/cs/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/da/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/de/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/el/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/en_AU/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/en_GB/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/eo/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/es/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/et/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/eu/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/fa/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/fi/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/fr/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/gu/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/he/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/hr/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/hu/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/it/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/ja/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/ko/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/lt/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/lv/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/mn/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/mr/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/ms/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/nb/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/nds/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/nl/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/no/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/oc/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/pl/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/pt/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/pt_BR/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/qt_ar.qm +share/anki/aqt/locale/qt_cs.qm +share/anki/aqt/locale/qt_da.qm +share/anki/aqt/locale/qt_de.qm +share/anki/aqt/locale/qt_es.qm +share/anki/aqt/locale/qt_fa.qm +share/anki/aqt/locale/qt_fr.qm +share/anki/aqt/locale/qt_gl.qm +share/anki/aqt/locale/qt_he.qm +share/anki/aqt/locale/qt_hu.qm +share/anki/aqt/locale/qt_ja.qm +share/anki/aqt/locale/qt_ko.qm +share/anki/aqt/locale/qt_lt.qm +share/anki/aqt/locale/qt_pl.qm +share/anki/aqt/locale/qt_pt.qm +share/anki/aqt/locale/qt_ru.qm +share/anki/aqt/locale/qt_sk.qm +share/anki/aqt/locale/qt_sl.qm +share/anki/aqt/locale/qt_sv.qm +share/anki/aqt/locale/qt_uk.qm +share/anki/aqt/locale/qt_zh_CN.qm +share/anki/aqt/locale/qt_zh_TW.qm +share/anki/aqt/locale/ro/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/ru/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/sl/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/sv/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/th/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/tlh/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/tr/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/uk/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/vi/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/zh_CN/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/zh_HK/LC_MESSAGES/ankiqt.mo +share/anki/aqt/locale/zh_TW/LC_MESSAGES/ankiqt.mo +share/anki/aqt/main.py +share/anki/aqt/modelchooser.py +share/anki/aqt/models.py +share/anki/aqt/overview.py +share/anki/aqt/preferences.py +share/anki/aqt/profiles.py +share/anki/aqt/progress.py +share/anki/aqt/qt.py +share/anki/aqt/reviewer.py +share/anki/aqt/share.py +share/anki/aqt/sound.py +share/anki/aqt/stats.py +share/anki/aqt/studydeck.py +share/anki/aqt/sync.py +share/anki/aqt/tagedit.py +share/anki/aqt/taglimit.py +share/anki/aqt/toolbar.py +share/anki/aqt/update.py +share/anki/aqt/upgrade.py +share/anki/aqt/utils.py +share/anki/aqt/webview.py +share/anki/designer/about.ui +share/anki/designer/addcards.ui +share/anki/designer/addfield.ui +share/anki/designer/addmodel.ui +share/anki/designer/browser.ui +share/anki/designer/browserdisp.ui +share/anki/designer/browseropts.ui +share/anki/designer/changemap.ui +share/anki/designer/changemodel.ui +share/anki/designer/customstudy.ui +share/anki/designer/dconf.ui +share/anki/designer/debug.ui +share/anki/designer/dyndconf.ui +share/anki/designer/editaddon.ui +share/anki/designer/editcurrent.ui +share/anki/designer/edithtml.ui +share/anki/designer/exporting.ui +share/anki/designer/fields.ui +share/anki/designer/finddupes.ui +share/anki/designer/findreplace.ui +share/anki/designer/getaddons.ui +share/anki/designer/icons.qrc +share/anki/designer/icons/_sources.txt +share/anki/designer/icons/add16.png +share/anki/designer/icons/addtag.png +share/anki/designer/icons/addtag16.png +share/anki/designer/icons/anki-logo-thin.png +share/anki/designer/icons/anki-logo.svg +share/anki/designer/icons/anki-logo2.svg +share/anki/designer/icons/anki-logo_BW.svg +share/anki/designer/icons/anki-logo_black.png +share/anki/designer/icons/anki-logo_white.png +share/anki/designer/icons/anki-tag.png +share/anki/designer/icons/anki.png +share/anki/designer/icons/anki.svg +share/anki/designer/icons/ankibw.png +share/anki/designer/icons/application-exit.png +share/anki/designer/icons/arrow-down-double.png +share/anki/designer/icons/arrow-down.png +share/anki/designer/icons/arrow-up-double.png +share/anki/designer/icons/arrow-up.png +share/anki/designer/icons/clock-icon.png +share/anki/designer/icons/clock16.png +share/anki/designer/icons/colors.png +share/anki/designer/icons/configure.png +share/anki/designer/icons/contents.png +share/anki/designer/icons/contents2.png +share/anki/designer/icons/deck16.png +share/anki/designer/icons/delete16.png +share/anki/designer/icons/deletetag.png +share/anki/designer/icons/deletetag16.png +share/anki/designer/icons/document-export.png +share/anki/designer/icons/document-import.png +share/anki/designer/icons/document-new.png +share/anki/designer/icons/download.png +share/anki/designer/icons/edit-find 2.png +share/anki/designer/icons/edit-find-replace.png +share/anki/designer/icons/edit-find.png +share/anki/designer/icons/edit-redo.png +share/anki/designer/icons/edit-rename.png +share/anki/designer/icons/edit-undo.png +share/anki/designer/icons/edit.png +share/anki/designer/icons/editclear.png +share/anki/designer/icons/editdelete.png +share/anki/designer/icons/emblem-favorite.png +share/anki/designer/icons/emblem-important.png +share/anki/designer/icons/fileclose.png +share/anki/designer/icons/find.png +share/anki/designer/icons/folder_image.png +share/anki/designer/icons/folder_sound.png +share/anki/designer/icons/format-stroke-color.png +share/anki/designer/icons/games-solve.png +share/anki/designer/icons/gears.png +share/anki/designer/icons/go-first.png +share/anki/designer/icons/go-jump-today.png +share/anki/designer/icons/go-last.png +share/anki/designer/icons/go-next.png +share/anki/designer/icons/go-previous.png +share/anki/designer/icons/green.png +share/anki/designer/icons/help-contents.png +share/anki/designer/icons/help-hint.png +share/anki/designer/icons/help.png +share/anki/designer/icons/image.png +share/anki/designer/icons/info.png +share/anki/designer/icons/kblogger.png +share/anki/designer/icons/kbugbuster.png +share/anki/designer/icons/kexi.png +share/anki/designer/icons/khtml_kget.png +share/anki/designer/icons/kpersonalizer.png +share/anki/designer/icons/layout.png +share/anki/designer/icons/list-add.png +share/anki/designer/icons/mail-attachment.png +share/anki/designer/icons/math_matrix.png +share/anki/designer/icons/math_sqrt.png +share/anki/designer/icons/media-playback-pause.png +share/anki/designer/icons/media-playback-start.png +share/anki/designer/icons/media-playback-start2.png +share/anki/designer/icons/media-playback-stop.png +share/anki/designer/icons/media-record.png +share/anki/designer/icons/none.png +share/anki/designer/icons/package_games_card.png +share/anki/designer/icons/pause16.png +share/anki/designer/icons/pause_off16.png +share/anki/designer/icons/player-time.png +share/anki/designer/icons/plus-circle.png +share/anki/designer/icons/plus16.png +share/anki/designer/icons/preferences-desktop-font.png +share/anki/designer/icons/preferences-plugin.png +share/anki/designer/icons/product_design.png +share/anki/designer/icons/rating.png +share/anki/designer/icons/speaker.png +share/anki/designer/icons/spreadsheet.png +share/anki/designer/icons/sqlitebrowser.png +share/anki/designer/icons/star16.png +share/anki/designer/icons/star_off16.png +share/anki/designer/icons/stock_group.png +share/anki/designer/icons/stock_new_template.png +share/anki/designer/icons/stock_new_template_blue.png +share/anki/designer/icons/stock_new_template_green.png +share/anki/designer/icons/stock_new_template_red.png +share/anki/designer/icons/system-shutdown.png +share/anki/designer/icons/system-software-update.png +share/anki/designer/icons/tex.png +share/anki/designer/icons/text-speak.png +share/anki/designer/icons/text-xml.png +share/anki/designer/icons/text_bold.png +share/anki/designer/icons/text_clear.png +share/anki/designer/icons/text_italic.png +share/anki/designer/icons/text_remove.png +share/anki/designer/icons/text_sub.png +share/anki/designer/icons/text_super.png +share/anki/designer/icons/text_under.png +share/anki/designer/icons/user-identity.png +share/anki/designer/icons/view-calendar-tasks.png +share/anki/designer/icons/view-pim-calendar.png +share/anki/designer/icons/view-pim-news.png +share/anki/designer/icons/view-refresh.png +share/anki/designer/icons/view-sort-ascending.png +share/anki/designer/icons/view-sort-descending.png +share/anki/designer/icons/view-statistics.png +share/anki/designer/icons/view_text.png +share/anki/designer/importing.ui +share/anki/designer/main.ui +share/anki/designer/modelopts.ui +share/anki/designer/models.ui +share/anki/designer/preferences.ui +share/anki/designer/preview.ui +share/anki/designer/profiles.ui +share/anki/designer/reposition.ui +share/anki/designer/reschedule.ui +share/anki/designer/setgroup.ui +share/anki/designer/setlang.ui +share/anki/designer/stats.ui +share/anki/designer/studydeck.ui +share/anki/designer/taglimit.ui +share/anki/designer/template.ui +share/anki/libanki/.coverage +share/anki/libanki/ChangeLog.old +share/anki/libanki/LICENSE +share/anki/libanki/README +share/anki/libanki/anki/__init__.py +share/anki/libanki/anki/ankiweb.certs +share/anki/libanki/anki/cards.py +share/anki/libanki/anki/collection.py +share/anki/libanki/anki/consts.py +share/anki/libanki/anki/db.py +share/anki/libanki/anki/decks.py +share/anki/libanki/anki/errors.py +share/anki/libanki/anki/exporting.py +share/anki/libanki/anki/find.py +share/anki/libanki/anki/hooks.py +share/anki/libanki/anki/importing/__init__.py +share/anki/libanki/anki/importing/anki1.py +share/anki/libanki/anki/importing/anki2.py +share/anki/libanki/anki/importing/apkg.py +share/anki/libanki/anki/importing/base.py +share/anki/libanki/anki/importing/csvfile.py +share/anki/libanki/anki/importing/mnemo.py +share/anki/libanki/anki/importing/noteimp.py +share/anki/libanki/anki/importing/supermemo_xml.py +share/anki/libanki/anki/js.py +share/anki/libanki/anki/lang.py +share/anki/libanki/anki/latex.py +share/anki/libanki/anki/locale/af/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/ar/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/az/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/bg/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/ca/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/cs/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/da/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/de/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/el/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/en_GB/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/eo/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/es/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/et/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/eu/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/fa/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/fi/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/fr/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/gu/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/he/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/hr/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/hu/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/it/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/ja/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/ko/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/lt/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/lv/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/mn/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/mr/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/ms/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/nb/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/nl/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/no/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/oc/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/pl/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/pt/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/pt_BR/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/ro/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/ru/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/sl/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/sv/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/th/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/tlh/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/tr/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/uk/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/vi/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/zh_CN/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/zh_HK/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/locale/zh_TW/LC_MESSAGES/libanki.mo +share/anki/libanki/anki/media.py +share/anki/libanki/anki/models.py +share/anki/libanki/anki/notes.py +share/anki/libanki/anki/sched.py +share/anki/libanki/anki/sound.py +share/anki/libanki/anki/stats.py +share/anki/libanki/anki/statsbg.py +share/anki/libanki/anki/stdmodels.py +share/anki/libanki/anki/storage.py +share/anki/libanki/anki/sync.py +share/anki/libanki/anki/tags.py +share/anki/libanki/anki/template/LICENSE +share/anki/libanki/anki/template/README.anki +share/anki/libanki/anki/template/README.rst +share/anki/libanki/anki/template/__init__.py +share/anki/libanki/anki/template/furigana.py +share/anki/libanki/anki/template/hint.py +share/anki/libanki/anki/template/template.py +share/anki/libanki/anki/template/view.py +share/anki/libanki/anki/upgrade.py +share/anki/libanki/anki/utils.py +share/anki/libanki/tests/__init__.py +share/anki/libanki/tests/shared.py +share/anki/libanki/tests/support/anki12-due.anki +share/anki/libanki/tests/support/anki12.anki +share/anki/libanki/tests/support/anki2-alpha.anki2 +share/anki/libanki/tests/support/diffmodels1.anki +share/anki/libanki/tests/support/diffmodels2-1.apkg +share/anki/libanki/tests/support/diffmodels2-2.apkg +share/anki/libanki/tests/support/diffmodels2.anki +share/anki/libanki/tests/support/fake.png +share/anki/libanki/tests/support/invalid-ords.anki +share/anki/libanki/tests/support/media.apkg +share/anki/libanki/tests/support/mnemo.db +share/anki/libanki/tests/support/supermemo1.xml +share/anki/libanki/tests/support/text-2fields.txt +share/anki/libanki/tests/support/text-tags.txt +share/anki/libanki/tests/support/text-update.txt +share/anki/libanki/tests/test_cards.py +share/anki/libanki/tests/test_collection.py +share/anki/libanki/tests/test_decks.py +share/anki/libanki/tests/test_exporting.py +share/anki/libanki/tests/test_find.py +share/anki/libanki/tests/test_importing.py +share/anki/libanki/tests/test_latex.py +share/anki/libanki/tests/test_media.py +share/anki/libanki/tests/test_models.py +share/anki/libanki/tests/test_remote_sync.py +share/anki/libanki/tests/test_sched.py +share/anki/libanki/tests/test_stats.py +share/anki/libanki/tests/test_sync.py +share/anki/libanki/tests/test_undo.py +share/anki/libanki/tests/test_upgrade.py +share/anki/libanki/tools/tests.sh +share/anki/libanki/tools/translate.sh +share/anki/tools/anki-wait.bat +share/anki/tools/build_ui.sh +share/anki/tools/translate.sh +share/applications/anki.desktop +share/pixmaps/anki.png +share/pixmaps/anki.xpm diff --git a/misc/py-anki2/distinfo b/misc/py-anki2/distinfo new file mode 100644 index 00000000000..4659313e046 --- /dev/null +++ b/misc/py-anki2/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2012/12/17 11:55:46 wiz Exp $ + +SHA1 (anki-2.0.3.tgz) = e4ae666cf09415b1bcb7b372628a532febc5a591 +RMD160 (anki-2.0.3.tgz) = beaae4775d94dd4a0fd978d3627efa4767b743bd +Size (anki-2.0.3.tgz) = 2823500 bytes +SHA1 (patch-Makefile) = 1bc56949ad522c0c20a3d2b889ce1e14397fd017 diff --git a/misc/py-anki2/patches/patch-Makefile b/misc/py-anki2/patches/patch-Makefile new file mode 100644 index 00000000000..3476af4d600 --- /dev/null +++ b/misc/py-anki2/patches/patch-Makefile @@ -0,0 +1,31 @@ +$NetBSD: patch-Makefile,v 1.1 2012/12/17 11:55:46 wiz Exp $ + +Do not hardcode '/local'. + +--- Makefile.orig 2012-10-27 16:06:15.000000000 +0000 ++++ Makefile +@@ -11,22 +11,19 @@ install: + mkdir -p ${DESTDIR}${PREFIX}/share/anki + cp -av * ${DESTDIR}${PREFIX}/share/anki/ + cd ${DESTDIR}${PREFIX}/share/anki && (\ +- mv anki ${DESTDIR}${PREFIX}/local/bin/;\ ++ mv anki ${DESTDIR}${PREFIX}/bin/;\ + mv anki.xpm anki.png ${DESTDIR}${PREFIX}/share/pixmaps/;\ + mv anki.desktop ${DESTDIR}${PREFIX}/share/applications;\ + mv anki.1 ${DESTDIR}${PREFIX}/share/man/man1/) +- xdg-mime install anki.xml +- xdg-mime default anki.desktop application/x-anki +- xdg-mime default anki.desktop application/x-apkg + @echo + @echo "Install complete." + + uninstall: + rm -rf ${DESTDIR}${PREFIX}/share/anki +- rm -rf ${DESTDIR}${PREFIX}/local/bin/anki ++ rm -rf ${DESTDIR}${PREFIX}/bin/anki + rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.{xpm,png} + rm -rf ${DESTDIR}${PREFIX}/share/applications/anki.desktop + rm -rf ${DESTDIR}${PREFIX}/share/man/man1/anki.1 + -xdg-mime uninstall ${DESTDIR}${PREFIX}/share/mime/packages/anki.xml + @echo + @echo "Uninstall complete." |