diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-01-12 17:42:44 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-01-12 17:42:44 +0300 |
commit | 0fbed9a95255c9a6ade511bf3c12286f4450fa90 (patch) | |
tree | 33d506f22df736c1197b4354d9b8be28baf37b3a /README.md | |
parent | 03777f5be657dcaa8fe379f2e1a39d1c2db04d00 (diff) | |
download | openrussian-cli-0fbed9a95255c9a6ade511bf3c12286f4450fa90.tar.gz |
support FreeBSD
* Instead of relying on `man -`, we call Groff directly.
* Naturally, we must depend on Groff as well.
* man-db is not available on FreeBSD
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -36,6 +36,8 @@ Possible future features: * Be tolerant to typing mistakes. * Accented characters are still broken in nroff tables (see https://lists.gnu.org/archive/html/groff/2018-08/msg00000.html). + We could and probably should of translate most vowel-accent combinations to single precomposed codepoints, + but that might cause problems when copying text from the terminal. ## Installation @@ -72,6 +74,21 @@ If it returns lots of errors, you should probably stay with the original databas Otherwise, the error messages might help in fixing/upgrading the script. You are of course welcome to contribute patches. :-) +### FreeBSD + +Build-time dependencies: + + pkg install gmake pkgconf groff lua52 lua52-luasql-sqlite3 lua52-luarocks wget sqlite3 + +Installing [luautf8](https://github.com/starwing/luautf8) using LuaRocks: + + luarocks52 install luautf8 + +Building is straight forward: + + gmake LUA=lua52 LUAC=luac52 + gmake install + ### NixOS `openrussian-cli` is part of the `nixos-unstable` (and soon `nixos-21.05`) channels. |