| Port details on branch 2026Q3 |
- anki Flashcard trainer with spaced repetition
- 26.09 games
=0 26.09Version of this port present on the latest quarterly branch. - Maintainer: kai@FreeBSD.org
 - Port Added: 2026-09-15 11:45:06
- Last Update: 2026-09-15 11:41:17
- Commit Hash: 5dab6d5
- Also Listed In: education python
- License: AGPLv3+
- WWW:
- https://apps.ankiweb.net/
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
-
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/games/anki/ && make install clean
- To add the package, run one of these commands:
- pkg install games/anki
- pkg install anki
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: anki
- Flavors: there is no flavor information for this port.
- NOT_FOR_ARCHS: armv6 armv7 i386 powerpc
- distinfo:
- TIMESTAMP = 1789386293
SHA256 (rust/crates/addr2line-0.24.2.crate) = dfbe277e56a376000877090da837660b4427aad530e3028d44e0bffe4f89a1c1
SIZE (rust/crates/addr2line-0.24.2.crate) = 39015
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- protoc : devel/protobuf
- rsync : net/rsync
- uv : devel/uv
- py312-black>0 : devel/py-black@py312
- py312-hatchling>0 : devel/py-hatchling@py312
- py312-wheel>0 : devel/py-wheel@py312
- rust>=1.96.0 : lang/rust
- pkgconf>=1.3.0_1 : devel/pkgconf
- update-desktop-database : devel/desktop-file-utils
- ninja : devel/ninja
- node : www/node24
- node24>0 : www/node24
- py312-qt6-pyqt>=6.11.0 : devel/py-qt6-pyqt@py312
- py312-sip>=6.15.3,1 : devel/py-sip@py312
- py312-qt6-webengine>=6.11.0 : www/py-qt6-webengine@py312
- python3.12 : lang/python312
- Test dependencies:
-
- node24>0 : www/node24
- py312-qt6-pyqt>=6.11.0 : devel/py-qt6-pyqt@py312
- py312-qt6-webengine>=6.11.0 : www/py-qt6-webengine@py312
- python3.12 : lang/python312
- Runtime dependencies:
-
- lame : audio/lame
- py312-pyaudio>0 : audio/py-pyaudio@py312
- py312-sqlite3>0 : databases/py-sqlite3@py312
- py312-decorator>0 : devel/py-decorator@py312
- py312-jsonschema>0 : devel/py-jsonschema@py312
- py312-send2trash>0 : deskutils/py-send2trash@py312
- py312-distro>0 : sysutils/py-distro@py312
- py312-orjson>0 : devel/py-orjson@py312
- py312-markdown>0 : textproc/py-markdown@py312
- py312-beautifulsoup>0 : www/py-beautifulsoup@py312
- py312-requests>0 : www/py-requests@py312
- py312-flask>0 : www/py-flask@py312
- py312-packaging>0 : devel/py-packaging@py312
- py312-protobuf>=6.0,1<8.0,1 : devel/py-protobuf@py312
- py312-truststore>=0.10.4 : security/py-truststore@py312
- py312-typing-extensions>0 : devel/py-typing-extensions@py312
- py312-waitress>=2.0.0 : www/py-waitress@py312
- mpv : multimedia/mpv
- update-desktop-database : devel/desktop-file-utils
- py312-qt6-pyqt>=6.11.0 : devel/py-qt6-pyqt@py312
- py312-qt6-webengine>=6.11.0 : www/py-qt6-webengine@py312
- python3.12 : lang/python312
- Library dependencies:
-
- libzstd.so : archivers/zstd
- Fetch dependencies:
-
- node24>0 : www/node24
- Patch dependencies:
-
- node24>0 : www/node24
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for anki-26.09:
====> Options available for the group PLAYER
MPLAYER=off: MPlayer media player support
MPV=on: mpv media player support
===> Use 'make config' to modify these settings
- Options name:
- games_anki
- USES:
- cargo desktop-file-utils ninja nodejs:build npm:yarn4 pyqt:6 python shebangfix ssl
- pkg-message:
- If upgrading from < 2.1.54:
- The V1 scheduler is no longer supported. If you have not yet updated to V2 or
V3, you will be prompted to update when you attempt to review cards in 2.1.50+.
- If upgrading from < 2.1.62:
- The 2.1.58 release fixes an issue in 2.1.57 that caused cards and deck
presets to be reset to the default ease, if you exported a .colpkg with
compatibility with older clients enabled, or used the downgrade and quit
option, then opened the collection again.
For the former issue, this occurred to the collection you were exporting
from, and not just the .colpkg file. If you were affected by this, running
the following in the debug console after updating should restore your cards
to the ease they were at when you last reviewed them, if they were not
reviewed after the problem occurred. Please make a backup before proceeding.
updated = 0
for cid, old, new in mw.col.db.all("select id, factor, (select factor from revlog where cid=cards.id order by id desc limit 1) as factor2 from cards where type=2"):
if new and old != new:
card = mw.col.get_card(cid)
card.factor = new
mw.col.update_card(card)
updated += 1
print("updated", updated)
It will print the number of updated cards. Instructions how to use the debug
console can be found here:
https://docs.ankiweb.net/misc.html#debug-console
- Master Sites:
|
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
26.09 15 Sep 2026 11:41:17
    |
Kai Knoblich (kai)  |
games/anki: Update to 26.09
* Migrate to Yarn v4 to be in sync with upstream. To ensure that the
preinstalled Yarn v4 is actually used, a few minor workarounds and a
new variable PREINSTALLED_YARN are required.
The latter is necessary because, with Yarn v2 and newer, environment
variables prefixed with YARN_ can no longer be used.
* Sort pkg-plist while I'm here.
Changelog:
https://github.com/ankitects/anki/releases/tag/26.09
MFH: 2026Q3
Security: ce54d883-b060-11f1-b187-901b0edee044
(cherry picked from commit 65434f71218e5a8114ea642231acaeb609ced7bd) |
26.08.1 15 Sep 2026 11:38:19
    |
Kai Knoblich (kai)  |
games/anki: Update to 26.08.1
Changelog:
https://github.com/ankitects/anki/releases/tag/26.08.1
(cherry picked from commit 129eb038c94eaf612d43f7d8b45ff28114fa0568) |
26.08 15 Sep 2026 11:38:04
    |
Kai Knoblich (kai)  |
games/anki: Update to 26.08
* Switch to USES=npm and adjust/remove the relevant parts.
Although Yarn v4 is already being used according to "package.json",
stick with Yarn v1 for now to complete a 1:1 migration from the before
to the after state with respect to the used tools during build.
Changelog:
https://github.com/ankitects/anki/releases/tag/26.08
(cherry picked from commit 9b3e128970f2c53a39eed9b0157514459a5b131f) |