Merge branch 'herbygillot-master-patch-50502' into 'master'

README: add MacPorts install instructions

See merge request Lynnesbian/fif!1
This commit is contained in:
Lynne Megido 2021-08-03 06:24:36 +00:00
commit 7a7e6c9bc6

View File

@ -57,6 +57,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