Modify the existing code to permit setting a prefix via the PREFIX
make variable, similar to what --prefix provides in autotools-based
projects.
Add the required compatibility glue in order to function with vanilla
bmake, which enables installing the commands with Linux and macOS:
- vanilla bmake requires scripts.mk to install SCRIPTS.
- vanilla bmake does not tack /man on to the end of MANDIR, like with FreeBSD.
While here, update the origin for arcanist as the former is the
non-phorge fork is no longer supported (nor needed).
- regarding Linux support: this should now function out of the box with Linux as long as the host has access to an appropriate arc binary.
- regarding macOS support: the arcanist/phorge packages do not yet exist in Homebrew or [MacPorts][1], but are being added soon.
MFC after: 2 weeks