Upgrades from earlier releases, however, will not have it.
If the "pkg" program is missing on the system for any reason, it can be quickly bootstrapped without having to build it from source or even having dports installed: After any installation or reinstallation of the pkg(8) package, you may want to open review the configuration files to customize it, e.g. The pkg(8) program has a configuration file at /usr/local/etc/(the default installation is typically fine and requires no alteration).
The pkg(8) tool called "pkg" is a modern and fast binary package manager.
It was developed for Free BSD, but PC-BSD used it in production first, followed soon after by Dragon Fly.
Avalon will have new packages first and they'll be updated as a set.
The files ending in the ".sample" extension are ignored; pkg(8) only reads files that end in ".conf" and it will read as many as it finds.
The default is to use the California-based Avalon, which is also the master.
It uses a a separate location for repository configuration at /usr/local/etc/pkg/repos/ directory.
DPorts is Dragon Fly's own third-party software build system. Differences between ports and DPorts are intentionally kept to a minimum, both to maintain familiarity for mutual users of both operating systems and also to leverage the tremendous amount of work the Free BSD contributors put into ports.
DPorts can and does feature ports unique to Dragon Fly, so it's truly a native system.
On the other hand, many people use pkg(8) by itself and never install the optional portupgrade or portmaster tools.
Dragon Fly daily snapshots and Releases (starting with 3.4) come with pkg(8) already installed.
Free BSD has since removed their legacy tools so pkg(8) is exclusively used by Free BSD as well.