mk/prog.mk: set MAN to $(BIN).8 by default.
Re-add all pkg metadata objects to the repository index.
xbps-rindex: register pkgs in index-files by pkgname and use xbps_array_foreach_cb().

This simplifies accessing/removing pkgs in this dictionary.