When comparing MacPorts vs XtraFinder, the Slant community recommends XtraFinder for most people. In the question“What are the best power user tools for macOS?” XtraFinder is ranked 27th while MacPorts is ranked 53rd.
Ranked in these QuestionsQuestion Ranking
Pro Provides a consistent experience across OS X versions
MacPorts eschews Apple-supplied libraries and links sources against its own making sure that the experience is the same regardless of what OS X version is used.
Pro Generally very up to date
MacPorts generally gets new software soon after it's available. This way users will not have to worry if their software is up to date.
Pro Nice variants system
MacPorts has a variants system that allows customizing builds with author provided options.
Written in Tcl & C, it's generally significantly faster than the competition. Tcl is also quite readable and comparable to Ruby, so it's also friendly to newcomers.
Pro Has many more packages than its competitors
As of this writing, 20K packages. 3 to 5x more than other current package managers.
Pro MacPorts is a native application: C + TCL
No need to install Ruby, or any other programming language.
Pro Requires SUDO to install apps
No need to worry if some rogue app will change your binaries or configuration.
Pro Most of the available packages work
For example, trying to install Finch using Pkgsrc doesn't work, while installing it using MacPorts works perfectly. Finch isn't even on Homebrew's radar.
Pro Old full-size color labels from OS X < 10.9
Pro Adds useful toolbar items
XtraFinder provides useful options for toolbar such as: Launch as Root, New Terminal Here, New File..., and Select...
Pro Additional right-click options
Xtra Finder provides additional options when performing the right click.
Pro Custom hotkeys
Pro Copy Path
Pro Can open a terminal in set position
XtraFinder can open up a terminal from the right-click menu in given path with "New Terminal Here".
Pro Dual panel
Split the Finder window into to windows to achieve better file handling.
Pro Colored icons in the Finder sidebar
Con Bad at limiting dependencies
MacPorts has a habit of pulling very specific versions of dependencies for each package. It downloads different version of already existing dependencies even in cases where the existing dependency version would have worked seamlessly.
Con Downloads unneeded libraries duplicating functionality already provided by Apple's libraries
As MacPorts eschews Apple-supplied libraries and links sources against its own a large duplication of functionality across MacPorts and Apple libraries can be found.
Con Requires root permissions (sudo) for installation of packages
Con Doesn't work on recent macOS versions without a workaround
This tool doesn't work on recent macOS versions, except if you try workaraound that may or may not work. It involves disabling System Integrity Protection and details on how to do it can be found on the XtraFinder website.