From e66eaa66a6732b417609a2af60ae57f650a209ca Mon Sep 17 00:00:00 2001 From: Herby G Date: Mon, 28 Jun 2021 12:04:10 +0000 Subject: [PATCH] README: add MacPorts install instructions --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 02f0ed1..71abf28 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,12 @@ cargo install --locked fif To update, simply re-run the `install` command, or use a tool like [cargo-update ](https://github.com/nabijaczleweli/cargo-update), which can update crates installed via `cargo install`. +On macOS, `fif` can now be installed using [MacPorts](https://www.macports.org), via the following steps: +```bash +$ sudo port selfupdate +$ sudo port install fif +``` + ### Cargo Features fif supports using [`infer`] or [`xdg-mime`] as its backend for looking up file types. By default, xdg-mime will be used on [*nix systems](https://en.wikipedia.org/wiki/Unix-like) (Linux, macOS, *BSD, etc.), and infer on all other @@ -177,4 +183,4 @@ a more concise overview). [Cargo]: https://doc.rust-lang.org/cargo/ [`xdg-mime`]: https://crates.io/crates/xdg-mime [`infer`]: https://crates.io/crates/infer -[Shared MIME Info]: https://gitlab.freedesktop.org/xdg/shared-mime-info/ \ No newline at end of file +[Shared MIME Info]: https://gitlab.freedesktop.org/xdg/shared-mime-info/