pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/py-anki2: import py37-anki2-2.1.15



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sun Oct 27 12:23:13 2019 +0100
Changeset:	392a3265e894961638fe067d00cf715f23cbe4cd

Added Files:
	py-anki2/DESCR
	py-anki2/Makefile
	py-anki2/PLIST
	py-anki2/distinfo
	py-anki2/options.mk
	py-anki2/patches/patch-Makefile

Log Message:
wip/py-anki2: import py37-anki2-2.1.15

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.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=392a3265e894961638fe067d00cf715f23cbe4cd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-anki2/DESCR                  |   9 +
 py-anki2/Makefile               |  65 +++++
 py-anki2/PLIST                  | 604 ++++++++++++++++++++++++++++++++++++++++
 py-anki2/distinfo               |   7 +
 py-anki2/options.mk             |  18 ++
 py-anki2/patches/patch-Makefile |  50 ++++
 6 files changed, 753 insertions(+)

diffs:
diff --git a/py-anki2/DESCR b/py-anki2/DESCR
new file mode 100644
index 0000000000..71612d5b04
--- /dev/null
+++ b/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/py-anki2/Makefile b/py-anki2/Makefile
new file mode 100644
index 0000000000..c7a14a6401
--- /dev/null
+++ b/py-anki2/Makefile
@@ -0,0 +1,65 @@
+# $NetBSD: Makefile,v 1.48 2019/09/02 13:19:44 adam Exp $
+
+DISTNAME=	anki-2.1.15-source
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:C/anki/anki2/:C/-source//}
+CATEGORIES=	misc x11
+MASTER_SITES=	https://apps.ankiweb.net/downloads/current/
+EXTRACT_SUFX=	.tgz
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://ankisrs.net/
+COMMENT=	Flashcard learning program (v2)
+LICENSE=	gnu-gpl-v3
+
+DEPENDS+=	${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
+DEPENDS+=	${PYPKGPREFIX}-qt5>=4.4:../../x11/py-qt5
+DEPENDS+=	${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
+# Actually, these hurt more than they help.
+# anki comes with its own version of the two, and if the pkgsrc versions
+# are newer, it might break
+#DEPENDS+=	${PYPKGPREFIX}-beautifulsoup>=3.2:../../www/py-beautifulsoup
+#DEPENDS+=	${PYPKGPREFIX}-httplib2-[0-9]*:../../www/py-httplib2
+# XXX: python portaudio
+
+WRKSRC=		${WRKDIR}/${DISTNAME:S/-source//}
+
+#PYTHON_VERSIONS_ACCEPTED=	27 # not yet ported as of 2.0.21
+
+.include "options.mk"
+
+USE_PKGLOCALEDIR=	yes
+USE_LANGUAGES=		# none
+CONFLICTS+=		${PYPKGPREFIX}-libanki-[0-9]* ${PYPKGPREFIXP}-anki-[0-9]*
+
+REPLACE_PYTHON=		tools/runanki.system.in
+
+USE_TOOLS+=	bash:run
+
+REPLACE_BASH=		tools/tests.sh tools/build_ui.sh
+
+SUBST_CLASSES+=		inst
+SUBST_SED.inst+=	-e 's,/usr/share/anki,${PREFIX}/share/anki,'
+SUBST_FILES.inst+=	anki/anki runanki
+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+=	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} MANDIR=${PKGMANDIR}
+
+post-extract:
+	${RM} -rf ${WRKSRC}/libanki/thirdparty
+
+.include "../../lang/python/application.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-anki2/PLIST b/py-anki2/PLIST
new file mode 100644
index 0000000000..e780f2d782
--- /dev/null
+++ b/py-anki2/PLIST
@@ -0,0 +1,604 @@
+@comment $NetBSD$
+bin/anki
+man/man1/anki.1
+share/anki/anki/__init__.py
+share/anki/anki/buildhash.py
+share/anki/anki/cards.py
+share/anki/anki/collection.py
+share/anki/anki/consts.py
+share/anki/anki/db.py
+share/anki/anki/decks.py
+share/anki/anki/errors.py
+share/anki/anki/exporting.py
+share/anki/anki/find.py
+share/anki/anki/hooks.py
+share/anki/anki/importing/__init__.py
+share/anki/anki/importing/anki2.py
+share/anki/anki/importing/apkg.py
+share/anki/anki/importing/base.py
+share/anki/anki/importing/csvfile.py
+share/anki/anki/importing/mnemo.py
+share/anki/anki/importing/noteimp.py
+share/anki/anki/importing/pauker.py
+share/anki/anki/importing/supermemo_xml.py
+share/anki/anki/lang.py
+share/anki/anki/latex.py
+share/anki/anki/media.py
+share/anki/anki/models.py
+share/anki/anki/mpv.py
+share/anki/anki/notes.py
+share/anki/anki/sched.py
+share/anki/anki/schedv2.py
+share/anki/anki/sound.py
+share/anki/anki/stats.py
+share/anki/anki/statsbg.py
+share/anki/anki/stdmodels.py
+share/anki/anki/storage.py
+share/anki/anki/sync.py
+share/anki/anki/tags.py
+share/anki/anki/template/LICENSE
+share/anki/anki/template/README.anki
+share/anki/anki/template/__init__.py
+share/anki/anki/template/furigana.py
+share/anki/anki/template/hint.py
+share/anki/anki/template/template.py
+share/anki/anki/template/view.py
+share/anki/anki/utils.py
+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/addonconf.py
+share/anki/aqt/forms/addons.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/clayout_top.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/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/progress.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/main.py
+share/anki/aqt/mediasrv.py
+share/anki/aqt/modelchooser.py
+share/anki/aqt/models.py
+share/anki/aqt/overview.py
+share/anki/aqt/pinnedmodules.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/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/utils.py
+share/anki/aqt/webview.py
+share/anki/aqt/winpaths.py
+share/anki/locale/af/LC_MESSAGES/anki.mo
+share/anki/locale/ar/LC_MESSAGES/anki.mo
+share/anki/locale/az/LC_MESSAGES/anki.mo
+share/anki/locale/bg/LC_MESSAGES/anki.mo
+share/anki/locale/bn/LC_MESSAGES/anki.mo
+share/anki/locale/ca/LC_MESSAGES/anki.mo
+share/anki/locale/ca@valencia/LC_MESSAGES/anki.mo
+share/anki/locale/cs/LC_MESSAGES/anki.mo
+share/anki/locale/da/LC_MESSAGES/anki.mo
+share/anki/locale/de/LC_MESSAGES/anki.mo
+share/anki/locale/el/LC_MESSAGES/anki.mo
+share/anki/locale/en_GB/LC_MESSAGES/anki.mo
+share/anki/locale/eo/LC_MESSAGES/anki.mo
+share/anki/locale/es/LC_MESSAGES/anki.mo
+share/anki/locale/et/LC_MESSAGES/anki.mo
+share/anki/locale/eu/LC_MESSAGES/anki.mo
+share/anki/locale/fa/LC_MESSAGES/anki.mo
+share/anki/locale/fi/LC_MESSAGES/anki.mo
+share/anki/locale/fr/LC_MESSAGES/anki.mo
+share/anki/locale/fr_CA/LC_MESSAGES/anki.mo
+share/anki/locale/ga/LC_MESSAGES/anki.mo
+share/anki/locale/gl/LC_MESSAGES/anki.mo
+share/anki/locale/gu/LC_MESSAGES/anki.mo
+share/anki/locale/he/LC_MESSAGES/anki.mo
+share/anki/locale/hr/LC_MESSAGES/anki.mo
+share/anki/locale/hu/LC_MESSAGES/anki.mo
+share/anki/locale/hy/LC_MESSAGES/anki.mo
+share/anki/locale/ia/LC_MESSAGES/anki.mo
+share/anki/locale/is/LC_MESSAGES/anki.mo
+share/anki/locale/it/LC_MESSAGES/anki.mo
+share/anki/locale/ja/LC_MESSAGES/anki.mo
+share/anki/locale/jbo/LC_MESSAGES/anki.mo
+share/anki/locale/kab/LC_MESSAGES/anki.mo
+share/anki/locale/km/LC_MESSAGES/anki.mo
+share/anki/locale/ko/LC_MESSAGES/anki.mo
+share/anki/locale/ku/LC_MESSAGES/anki.mo
+share/anki/locale/la/LC_MESSAGES/anki.mo
+share/anki/locale/lt/LC_MESSAGES/anki.mo
+share/anki/locale/lv/LC_MESSAGES/anki.mo
+share/anki/locale/mn/LC_MESSAGES/anki.mo
+share/anki/locale/mr/LC_MESSAGES/anki.mo
+share/anki/locale/ms/LC_MESSAGES/anki.mo
+share/anki/locale/nb/LC_MESSAGES/anki.mo
+share/anki/locale/nl/LC_MESSAGES/anki.mo
+share/anki/locale/no/LC_MESSAGES/anki.mo
+share/anki/locale/oc/LC_MESSAGES/anki.mo
+share/anki/locale/pl/LC_MESSAGES/anki.mo
+share/anki/locale/pt/LC_MESSAGES/anki.mo
+share/anki/locale/pt_BR/LC_MESSAGES/anki.mo
+share/anki/locale/qt_ar.qm
+share/anki/locale/qt_bg.qm
+share/anki/locale/qt_ca.qm
+share/anki/locale/qt_cs.qm
+share/anki/locale/qt_da.qm
+share/anki/locale/qt_de.qm
+share/anki/locale/qt_en.qm
+share/anki/locale/qt_es.qm
+share/anki/locale/qt_fa.qm
+share/anki/locale/qt_fi.qm
+share/anki/locale/qt_fr.qm
+share/anki/locale/qt_gl.qm
+share/anki/locale/qt_he.qm
+share/anki/locale/qt_hu.qm
+share/anki/locale/qt_it.qm
+share/anki/locale/qt_ja.qm
+share/anki/locale/qt_ko.qm
+share/anki/locale/qt_lt.qm
+share/anki/locale/qt_pl.qm
+share/anki/locale/qt_pt.qm
+share/anki/locale/qt_ru.qm
+share/anki/locale/qt_sk.qm
+share/anki/locale/qt_sl.qm
+share/anki/locale/qt_sv.qm
+share/anki/locale/qt_uk.qm
+share/anki/locale/qt_zh_CN.qm
+share/anki/locale/qt_zh_TW.qm
+share/anki/locale/qtbase_bg.qm
+share/anki/locale/qtbase_ca.qm
+share/anki/locale/qtbase_cs.qm
+share/anki/locale/qtbase_da.qm
+share/anki/locale/qtbase_de.qm
+share/anki/locale/qtbase_en.qm
+share/anki/locale/qtbase_es.qm
+share/anki/locale/qtbase_fi.qm
+share/anki/locale/qtbase_fr.qm
+share/anki/locale/qtbase_gd.qm
+share/anki/locale/qtbase_he.qm
+share/anki/locale/qtbase_hu.qm
+share/anki/locale/qtbase_it.qm
+share/anki/locale/qtbase_ja.qm
+share/anki/locale/qtbase_ko.qm
+share/anki/locale/qtbase_lv.qm
+share/anki/locale/qtbase_pl.qm
+share/anki/locale/qtbase_ru.qm
+share/anki/locale/qtbase_sk.qm
+share/anki/locale/qtbase_uk.qm
+share/anki/locale/qtmultimedia_bg.qm
+share/anki/locale/qtmultimedia_ca.qm
+share/anki/locale/qtmultimedia_cs.qm
+share/anki/locale/qtmultimedia_da.qm
+share/anki/locale/qtmultimedia_de.qm
+share/anki/locale/qtmultimedia_en.qm
+share/anki/locale/qtmultimedia_es.qm
+share/anki/locale/qtmultimedia_fi.qm
+share/anki/locale/qtmultimedia_fr.qm
+share/anki/locale/qtmultimedia_hu.qm
+share/anki/locale/qtmultimedia_it.qm
+share/anki/locale/qtmultimedia_ja.qm
+share/anki/locale/qtmultimedia_ko.qm
+share/anki/locale/qtmultimedia_pl.qm
+share/anki/locale/qtmultimedia_ru.qm
+share/anki/locale/qtmultimedia_sk.qm
+share/anki/locale/qtmultimedia_uk.qm
+share/anki/locale/qtquick1_bg.qm
+share/anki/locale/qtquick1_ca.qm
+share/anki/locale/qtquick1_cs.qm
+share/anki/locale/qtquick1_da.qm
+share/anki/locale/qtquick1_de.qm
+share/anki/locale/qtquick1_en.qm
+share/anki/locale/qtquick1_es.qm
+share/anki/locale/qtquick1_fi.qm
+share/anki/locale/qtquick1_fr.qm
+share/anki/locale/qtquick1_he.qm
+share/anki/locale/qtquick1_hu.qm
+share/anki/locale/qtquick1_it.qm
+share/anki/locale/qtquick1_ja.qm
+share/anki/locale/qtquick1_ko.qm
+share/anki/locale/qtquick1_pl.qm
+share/anki/locale/qtquick1_ru.qm
+share/anki/locale/qtquick1_sk.qm
+share/anki/locale/qtquick1_uk.qm
+share/anki/locale/qtquickcontrols2_bg.qm
+share/anki/locale/qtquickcontrols2_en.qm
+share/anki/locale/qtquickcontrols2_ko.qm
+share/anki/locale/qtquickcontrols2_uk.qm
+share/anki/locale/qtquickcontrols_bg.qm
+share/anki/locale/qtquickcontrols_de.qm
+share/anki/locale/qtquickcontrols_en.qm
+share/anki/locale/qtquickcontrols_fi.qm
+share/anki/locale/qtquickcontrols_fr.qm
+share/anki/locale/qtquickcontrols_ja.qm
+share/anki/locale/qtquickcontrols_ru.qm
+share/anki/locale/qtquickcontrols_uk.qm
+share/anki/locale/qtscript_bg.qm
+share/anki/locale/qtscript_ca.qm
+share/anki/locale/qtscript_cs.qm
+share/anki/locale/qtscript_da.qm
+share/anki/locale/qtscript_de.qm
+share/anki/locale/qtscript_en.qm
+share/anki/locale/qtscript_es.qm
+share/anki/locale/qtscript_fi.qm
+share/anki/locale/qtscript_fr.qm
+share/anki/locale/qtscript_he.qm
+share/anki/locale/qtscript_hu.qm
+share/anki/locale/qtscript_it.qm
+share/anki/locale/qtscript_ja.qm
+share/anki/locale/qtscript_ko.qm
+share/anki/locale/qtscript_lv.qm
+share/anki/locale/qtscript_pl.qm
+share/anki/locale/qtscript_ru.qm
+share/anki/locale/qtscript_sk.qm
+share/anki/locale/qtscript_uk.qm
+share/anki/locale/qtxmlpatterns_bg.qm
+share/anki/locale/qtxmlpatterns_ca.qm
+share/anki/locale/qtxmlpatterns_cs.qm
+share/anki/locale/qtxmlpatterns_da.qm
+share/anki/locale/qtxmlpatterns_de.qm
+share/anki/locale/qtxmlpatterns_en.qm
+share/anki/locale/qtxmlpatterns_es.qm
+share/anki/locale/qtxmlpatterns_fr.qm
+share/anki/locale/qtxmlpatterns_hu.qm
+share/anki/locale/qtxmlpatterns_it.qm
+share/anki/locale/qtxmlpatterns_ja.qm
+share/anki/locale/qtxmlpatterns_ko.qm
+share/anki/locale/qtxmlpatterns_pl.qm
+share/anki/locale/qtxmlpatterns_ru.qm
+share/anki/locale/qtxmlpatterns_sk.qm
+share/anki/locale/qtxmlpatterns_uk.qm
+share/anki/locale/ro/LC_MESSAGES/anki.mo
+share/anki/locale/ru/LC_MESSAGES/anki.mo
+share/anki/locale/sco/LC_MESSAGES/anki.mo
+share/anki/locale/sk/LC_MESSAGES/anki.mo
+share/anki/locale/sl/LC_MESSAGES/anki.mo
+share/anki/locale/sr/LC_MESSAGES/anki.mo
+share/anki/locale/sv/LC_MESSAGES/anki.mo
+share/anki/locale/szl/LC_MESSAGES/anki.mo
+share/anki/locale/th/LC_MESSAGES/anki.mo
+share/anki/locale/tlh/LC_MESSAGES/anki.mo
+share/anki/locale/tr/LC_MESSAGES/anki.mo
+share/anki/locale/uk/LC_MESSAGES/anki.mo
+share/anki/locale/ur/LC_MESSAGES/anki.mo
+share/anki/locale/vi/LC_MESSAGES/anki.mo
+share/anki/locale/wo/LC_MESSAGES/anki.mo
+share/anki/locale/zh_CN/LC_MESSAGES/anki.mo
+share/anki/locale/zh_HK/LC_MESSAGES/anki.mo
+share/anki/locale/zh_TW/LC_MESSAGES/anki.mo
+share/anki/web/browsersel.js
+share/anki/web/deckbrowser.css
+share/anki/web/deckbrowser.js
+share/anki/web/editor.css
+share/anki/web/editor.js
+share/anki/web/imgs/anki-logo-thin.png
+share/anki/web/imgs/gears.svg
+share/anki/web/imgs/media-record.png
+share/anki/web/imgs/more.png
+share/anki/web/imgs/paperclip.png
+share/anki/web/imgs/text_bold.png
+share/anki/web/imgs/text_clear.png
+share/anki/web/imgs/text_cloze.png
+share/anki/web/imgs/text_italic.png
+share/anki/web/imgs/text_sub.png
+share/anki/web/imgs/text_super.png
+share/anki/web/imgs/text_under.png
+share/anki/web/jquery-ui.js
+share/anki/web/jquery.js
+share/anki/web/mathjax/MathJax.js
+share/anki/web/mathjax/conf.js
+share/anki/web/mathjax/extensions/FontWarnings.js
+share/anki/web/mathjax/extensions/HTML-CSS/handle-floats.js
+share/anki/web/mathjax/extensions/HelpDialog.js
+share/anki/web/mathjax/extensions/MatchWebFonts.js
+share/anki/web/mathjax/extensions/MathEvents.js
+share/anki/web/mathjax/extensions/MathMenu.js
+share/anki/web/mathjax/extensions/MathZoom.js
+share/anki/web/mathjax/extensions/Safe.js
+share/anki/web/mathjax/extensions/TeX/AMScd.js
+share/anki/web/mathjax/extensions/TeX/AMSmath.js
+share/anki/web/mathjax/extensions/TeX/AMSsymbols.js
+share/anki/web/mathjax/extensions/TeX/HTML.js
+share/anki/web/mathjax/extensions/TeX/action.js
+share/anki/web/mathjax/extensions/TeX/autobold.js
+share/anki/web/mathjax/extensions/TeX/autoload-all.js
+share/anki/web/mathjax/extensions/TeX/bbox.js
+share/anki/web/mathjax/extensions/TeX/begingroup.js
+share/anki/web/mathjax/extensions/TeX/boldsymbol.js
+share/anki/web/mathjax/extensions/TeX/cancel.js
+share/anki/web/mathjax/extensions/TeX/color.js
+share/anki/web/mathjax/extensions/TeX/enclose.js
+share/anki/web/mathjax/extensions/TeX/extpfeil.js
+share/anki/web/mathjax/extensions/TeX/mathchoice.js
+share/anki/web/mathjax/extensions/TeX/mediawiki-texvc.js
+share/anki/web/mathjax/extensions/TeX/mhchem.js
+share/anki/web/mathjax/extensions/TeX/mhchem3/mhchem.js
+share/anki/web/mathjax/extensions/TeX/newcommand.js
+share/anki/web/mathjax/extensions/TeX/noErrors.js
+share/anki/web/mathjax/extensions/TeX/noUndefined.js
+share/anki/web/mathjax/extensions/TeX/unicode.js
+share/anki/web/mathjax/extensions/TeX/verb.js
+share/anki/web/mathjax/extensions/asciimath2jax.js
+share/anki/web/mathjax/extensions/fast-preview.js
+share/anki/web/mathjax/extensions/jsMath2jax.js
+share/anki/web/mathjax/extensions/mhchem.js
+share/anki/web/mathjax/extensions/mml2jax.js
+share/anki/web/mathjax/extensions/tex2jax.js
+share/anki/web/mathjax/extensions/toMathML.js
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_AMS-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Bold.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Caligraphic-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Bold.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Fraktur-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Bold.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Italic.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Main-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-BoldItalic.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Italic.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Math-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Bold.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Italic.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_SansSerif-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Script-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size1-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size2-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size3-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Size4-Regular.woff
+share/anki/web/mathjax/fonts/HTML-CSS/TeX/woff/MathJax_Typewriter-Regular.woff
+share/anki/web/mathjax/jax/element/mml/jax.js
+share/anki/web/mathjax/jax/element/mml/optable/Arrows.js
+share/anki/web/mathjax/jax/element/mml/optable/BasicLatin.js
+share/anki/web/mathjax/jax/element/mml/optable/CombDiacritMarks.js
+share/anki/web/mathjax/jax/element/mml/optable/CombDiactForSymbols.js
+share/anki/web/mathjax/jax/element/mml/optable/Dingbats.js
+share/anki/web/mathjax/jax/element/mml/optable/GeneralPunctuation.js
+share/anki/web/mathjax/jax/element/mml/optable/GeometricShapes.js
+share/anki/web/mathjax/jax/element/mml/optable/GreekAndCoptic.js
+share/anki/web/mathjax/jax/element/mml/optable/Latin1Supplement.js
+share/anki/web/mathjax/jax/element/mml/optable/LetterlikeSymbols.js
+share/anki/web/mathjax/jax/element/mml/optable/MathOperators.js
+share/anki/web/mathjax/jax/element/mml/optable/MiscMathSymbolsA.js
+share/anki/web/mathjax/jax/element/mml/optable/MiscMathSymbolsB.js
+share/anki/web/mathjax/jax/element/mml/optable/MiscSymbolsAndArrows.js
+share/anki/web/mathjax/jax/element/mml/optable/MiscTechnical.js
+share/anki/web/mathjax/jax/element/mml/optable/SpacingModLetters.js
+share/anki/web/mathjax/jax/element/mml/optable/SuppMathOperators.js
+share/anki/web/mathjax/jax/element/mml/optable/SupplementalArrowsA.js
+share/anki/web/mathjax/jax/element/mml/optable/SupplementalArrowsB.js
+share/anki/web/mathjax/jax/input/AsciiMath/config.js
+share/anki/web/mathjax/jax/input/AsciiMath/jax.js
+share/anki/web/mathjax/jax/input/MathML/config.js
+share/anki/web/mathjax/jax/input/MathML/entities/a.js
+share/anki/web/mathjax/jax/input/MathML/entities/b.js
+share/anki/web/mathjax/jax/input/MathML/entities/c.js
+share/anki/web/mathjax/jax/input/MathML/entities/d.js
+share/anki/web/mathjax/jax/input/MathML/entities/e.js
+share/anki/web/mathjax/jax/input/MathML/entities/f.js
+share/anki/web/mathjax/jax/input/MathML/entities/fr.js
+share/anki/web/mathjax/jax/input/MathML/entities/g.js
+share/anki/web/mathjax/jax/input/MathML/entities/h.js
+share/anki/web/mathjax/jax/input/MathML/entities/i.js
+share/anki/web/mathjax/jax/input/MathML/entities/j.js
+share/anki/web/mathjax/jax/input/MathML/entities/k.js
+share/anki/web/mathjax/jax/input/MathML/entities/l.js
+share/anki/web/mathjax/jax/input/MathML/entities/m.js
+share/anki/web/mathjax/jax/input/MathML/entities/n.js
+share/anki/web/mathjax/jax/input/MathML/entities/o.js
+share/anki/web/mathjax/jax/input/MathML/entities/opf.js
+share/anki/web/mathjax/jax/input/MathML/entities/p.js
+share/anki/web/mathjax/jax/input/MathML/entities/q.js
+share/anki/web/mathjax/jax/input/MathML/entities/r.js
+share/anki/web/mathjax/jax/input/MathML/entities/s.js
+share/anki/web/mathjax/jax/input/MathML/entities/scr.js
+share/anki/web/mathjax/jax/input/MathML/entities/t.js
+share/anki/web/mathjax/jax/input/MathML/entities/u.js
+share/anki/web/mathjax/jax/input/MathML/entities/v.js
+share/anki/web/mathjax/jax/input/MathML/entities/w.js
+share/anki/web/mathjax/jax/input/MathML/entities/x.js
+share/anki/web/mathjax/jax/input/MathML/entities/y.js
+share/anki/web/mathjax/jax/input/MathML/entities/z.js
+share/anki/web/mathjax/jax/input/MathML/jax.js
+share/anki/web/mathjax/jax/input/TeX/config.js
+share/anki/web/mathjax/jax/input/TeX/jax.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/annotation-xml.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/maction.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/menclose.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/mglyph.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/mmultiscripts.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/ms.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/mtable.js
+share/anki/web/mathjax/jax/output/CommonHTML/autoload/multiline.js
+share/anki/web/mathjax/jax/output/CommonHTML/config.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/AMS-Regular.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/Caligraphic-Bold.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Bold.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/Fraktur-Regular.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/Main-Bold.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/Math-BoldItalic.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Bold.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Italic.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/SansSerif-Regular.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/Script-Regular.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/Typewriter-Regular.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata-extra.js
+share/anki/web/mathjax/jax/output/CommonHTML/fonts/TeX/fontdata.js
+share/anki/web/mathjax/jax/output/CommonHTML/jax.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/annotation-xml.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/maction.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/menclose.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/mglyph.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/mmultiscripts.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/ms.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/mtable.js
+share/anki/web/mathjax/jax/output/HTML-CSS/autoload/multiline.js
+share/anki/web/mathjax/jax/output/HTML-CSS/config.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Arrows.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BBBold.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/BoxDrawing.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Dingbats.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/EnclosedAlphanum.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeneralPunctuation.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GeometricShapes.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/GreekAndCoptic.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Latin1Supplement.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LatinExtendedA.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/LetterlikeSymbols.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MathOperators.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscMathSymbolsB.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscSymbols.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/MiscTechnical.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/PUA.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SpacingModLetters.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/SuppMathOperators.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Bold/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Caligraphic/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/BasicLatin.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/Other.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Bold/PUA.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/BasicLatin.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/Other.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Fraktur/Regular/PUA.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Bold/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/BoldItalic/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Italic/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Greek/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Arrows.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/CombDiactForSymbols.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeneralPunctuation.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/GeometricShapes.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Latin1Supplement.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedA.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LatinExtendedB.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/LetterlikeSymbols.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MathOperators.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscMathSymbolsA.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscSymbols.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/MiscTechnical.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SpacingModLetters.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SuppMathOperators.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Bold/SupplementalArrowsA.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Latin1Supplement.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/LetterlikeSymbols.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/GeometricShapes.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/MiscSymbols.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Main/Regular/SpacingModLetters.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/BoldItalic/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Math/Italic/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/BasicLatin.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Bold/Other.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/BasicLatin.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Italic/Other.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/BasicLatin.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/SansSerif/Regular/Other.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/BasicLatin.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Script/Regular/Other.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size1/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size2/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size3/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Size4/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/BasicLatin.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/Typewriter/Regular/Other.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinChrome/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/AMS.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Bold.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/WinIE6/Regular/Main.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata-extra.js
+share/anki/web/mathjax/jax/output/HTML-CSS/fonts/TeX/fontdata.js
+share/anki/web/mathjax/jax/output/HTML-CSS/imageFonts.js
+share/anki/web/mathjax/jax/output/HTML-CSS/jax.js
+share/anki/web/overview.css
+share/anki/web/overview.js
+share/anki/web/plot.js
+share/anki/web/reviewer-bottom.css
+share/anki/web/reviewer-bottom.js
+share/anki/web/reviewer.css
+share/anki/web/reviewer.js
+share/anki/web/toolbar-bottom.css
+share/anki/web/toolbar.css
+share/anki/web/webview.css
+share/anki/web/webview.js
+share/applications/anki.desktop
+share/doc/anki/LICENSE
+share/doc/anki/LICENSE.logo
+share/doc/anki/README.contributing
+share/doc/anki/README.development
+share/doc/anki/README.md
+share/pixmaps/anki.png
+share/pixmaps/anki.xpm
+@pkgdir share/anki/aqt/template
diff --git a/py-anki2/distinfo b/py-anki2/distinfo
new file mode 100644
index 0000000000..a1eef00505
--- /dev/null
+++ b/py-anki2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.38 2018/06/17 08:37:59 wiz Exp $
+
+SHA1 (anki-2.1.15-source.tgz) = 354219d67adaa28c6e38b5d5acc2f1caff775202
+RMD160 (anki-2.1.15-source.tgz) = 1d77b9687cb45845970a16455001c2c2580b8fde
+SHA512 (anki-2.1.15-source.tgz) = f3acfa6ff62d43fa461efddd81a8570304ada53b97bd494fdbbe0a0439700d7a52aa62ead31cbaed731be0df96a6cc845a7cf92dcf65f3080dc63282fe5941c3
+Size (anki-2.1.15-source.tgz) = 4269571 bytes
+SHA1 (patch-Makefile) = ba357c8ae3bd1212e0eb74e77c551d745ad74913
diff --git a/py-anki2/options.mk b/py-anki2/options.mk
new file mode 100644
index 0000000000..e346dc5d89
--- /dev/null
+++ b/py-anki2/options.mk
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2014/10/20 10:22:19 wiz Exp $
+
+PKG_OPTIONS_VAR=	PKG_OPTIONS.py-anki2
+PKG_SUPPORTED_OPTIONS=	lame mplayer portaudio
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mlame)
+DEPENDS+=	lame-[0-9]*:../../audio/lame
+.endif
+
+.if !empty(PKG_OPTIONS:Mmplayer)
+DEPENDS+=	mplayer-[0-9]*:../../multimedia/mplayer
+.endif
+
+.if !empty(PKG_OPTIONS:Mportaudio)
+DEPENDS+=	portaudio-devel-[0-9]*:../../audio/portaudio-devel
+.endif
diff --git a/py-anki2/patches/patch-Makefile b/py-anki2/patches/patch-Makefile
new file mode 100644
index 0000000000..a3041ffb64
--- /dev/null
+++ b/py-anki2/patches/patch-Makefile
@@ -0,0 +1,50 @@
+$NetBSD$
+
+--- Makefile.orig	2018-07-27 02:18:05.000000000 +0000
++++ Makefile
+@@ -1,4 +1,5 @@
+ PREFIX=/usr
++MANDIR=share/man
+ 
+ all:
+ 	@echo "You can run Anki with ./runanki"
+@@ -11,14 +12,22 @@ install:
+ 	cp -av anki aqt web ${DESTDIR}${PREFIX}/share/anki/
+ 	-cp -av locale ${DESTDIR}${PREFIX}/share/anki/
+ 	sed -e 's:@PREFIX@:${PREFIX}:' tools/runanki.system.in > tools/runanki.system
+-	install -m 0755 -D tools/runanki.system ${DESTDIR}${PREFIX}/bin/anki
+-	install -m 0644 -D -t ${DESTDIR}${PREFIX}/share/pixmaps anki.xpm anki.png
+-	install -m 0644 -D -t ${DESTDIR}${PREFIX}/share/applications anki.desktop
+-	install -m 0644 -D -t ${DESTDIR}${PREFIX}/share/man/man1 anki.1
+-	install -m 0644 -D -t ${DESTDIR}${PREFIX}/share/doc/anki README.contributing README.development README.md LICENSE LICENSE.logo
+-	-xdg-mime install anki.xml --novendor
+-	-xdg-mime default anki.desktop application/x-anki
+-	-xdg-mime default anki.desktop application/x-apkg
++	install -d ${DESTDIR}${PREFIX}/bin
++	install -d ${DESTDIR}${PREFIX}/share/pixmaps
++	install -d ${DESTDIR}${PREFIX}/share/applications
++	install -d ${DESTDIR}${PREFIX}/share/pixmaps
++	install -d ${DESTDIR}${PREFIX}/${MANDIR}/man1
++	install -d ${DESTDIR}${PREFIX}/share/doc/anki
++	install -m 0755 tools/runanki.system ${DESTDIR}${PREFIX}/bin/anki
++	install -m 0644 anki.xpm ${DESTDIR}${PREFIX}/share/pixmaps
++	install -m 0644 anki.png ${DESTDIR}${PREFIX}/share/pixmaps
++	install -m 0644 anki.desktop ${DESTDIR}${PREFIX}/share/applications
++	install -m 0644 anki.1 ${DESTDIR}${PREFIX}/${MANDIR}/man1
++	install -m 0644 README.contributing ${DESTDIR}${PREFIX}/share/doc/anki
++	install -m 0644 README.development ${DESTDIR}${PREFIX}/share/doc/anki
++	install -m 0644 README.md ${DESTDIR}${PREFIX}/share/doc/anki
++	install -m 0644 LICENSE ${DESTDIR}${PREFIX}/share/doc/anki
++	install -m 0644 LICENSE.logo ${DESTDIR}${PREFIX}/share/doc/anki
+ 	@echo
+ 	@echo "Install complete."
+ 
+@@ -28,7 +37,7 @@ uninstall:
+ 	rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.xpm
+ 	rm -rf ${DESTDIR}${PREFIX}/share/pixmaps/anki.png
+ 	rm -rf ${DESTDIR}${PREFIX}/share/applications/anki.desktop
+-	rm -rf ${DESTDIR}${PREFIX}/share/man/man1/anki.1
++	rm -rf ${DESTDIR}${PREFIX}/man/man1/anki.1
+ 	-xdg-mime uninstall ${DESTDIR}${PREFIX}/share/mime/packages/anki.xml
+ 	@echo
+ 	@echo "Uninstall complete."


Home | Main Index | Thread Index | Old Index