nrelease: Support to use binary packages
authorAaron LI <aly@aaronly.me>
Sun, 3 Mar 2019 13:19:11 +0000 (21:19 +0800)
committerAaron LI <aly@aaronly.me>
Thu, 31 Oct 2019 23:18:02 +0000 (07:18 +0800)
commit632d862bfe6cdce5646d4828a0be26ee441e45c3
treecc72440efbc134e99155bdca0d12ac5f9eca50c9
parent951ab3296fcc95054cdbef682c92f549e2adb0bd
nrelease: Support to use binary packages

Add the new optional target "binpkgs" to allow to use binary packages,
i.e., installing them with pkg(8), instead of building them from
dports(7).  This can be handy for end users who want to quickly build
a custom image with custom packages.

As pointed out by Sascha Wildner, one port may have multiple binary
packages (e.g., Python flavors) or have a different name that may not be
found by pkg(8).  Therefore, allow to specify the exact binary package
name for a port by setting 'PKG_<port>=<pkg-name>'.

This feature is disabled by default, as suggested by Sascha Wildner,
because the release process should be self-contained as much as possible.

Update the help text and man page accordingly.
nrelease/Makefile
share/man/man7/release.7