add FreeBSD install instructions

This commit is contained in:
Paul Chvostek 2021-03-10 07:04:26 -05:00
parent dca11f6c51
commit 49006addb6

View file

@ -4,7 +4,7 @@
This application provides display and control of Android devices connected on
USB (or [over TCP/IP][article-tcpip]). It does not require any _root_ access.
It works on _GNU/Linux_, _Windows_ and _macOS_.
It works on _GNU/Linux_, _FreeBSD_, _Windows_ and _macOS_.
![screenshot](assets/screenshot-debian-600.jpg)
@ -72,6 +72,30 @@ hard).
### FreeBSD
A [FreeBSD port][freebsdports] is available for [`scrcpy`][freebsdport-link]
To install the port on a system with an up-to-date ports tree installed, run:
```
cd /usr/ports/comms/scrcpy
make install clean
```
The application is also available as a [binary package][freebsdpkg].
To install the binary package, run:
```
pkg install scrcpy
```
[freebsdports]: https://docs.freebsd.org/en/books/handbook/ports/#ports-using
[freebsdport-link]: https://www.freebsd.org/cgi/ports.cgi?query=scrcpy&stype=all
[freebsdpkg]: https://docs.freebsd.org/en/books/handbook/ports/#pkgng-intro
### Windows
For Windows, for simplicity, a prebuilt archive with all the dependencies