bugfix emerge type for slotted packages
Introduce __package_pkgng_freebsd type

Create __package_pkgng_freebsd type to handle package management via pkg-ng
Add requirement generation in __package/manifest
Add explorer inside __package to find if pkg-ng is installed on the target
Minor fixes

Fixed pkgng_exists explorer (can't reference $__global)
Fixed logic in __package/pkgng_freebsd/gencode-remote
   Wasn't installing package if it already exists, but after explorer execution
Implemented telmich's suggestions

Using $($__explorer/os), command -v directly
Fix spacing
Fix copyright year
++changes

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
implemented some sugestions from nico
Merge remote-tracking branch 'steven/issue/365'
++changes

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
Merge remote-tracking branch 'jake/__pkgng'
+__package_pkgng_freebsd

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
use mkaurball instead of makepkg

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
Cosmetic
Fix comment
Fix style typos in type's doc
Fix formatting of manifest doc
Explain in the doc how to create a global dependency
Add types __package_{update_index,upgrade_all}
Merge branch 'type-upgrade-packages' of https://github.com/jimenezrick/cdist
remove obsolete .version file

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
release 3.1.8: allow users to upgrade their packages

Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>