README: add MacPorts install instructions

This commit is contained in:
Herby G 2021-06-28 12:04:10 +00:00
parent 10bf85ba0f
commit e66eaa66a6

View file

@ -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