Always read shell scripts before executing them. You can review the script in the repo or download and inspect it before running.
curl -fsSL https://raw.githubusercontent.com/Tatsh/ports/master/_resources/bin/setup-macports-source | sudo zshThe script clones to ~/tatsh-ports by default; set PORTS_TREE to use a different path (e.g.
PORTS_TREE=~/ports curl -fsSL ... | sudo zsh).
-
Clone this repo to somewhere permanent.
-
In a terminal, go to the directory where you cloned this repository, and run
portindex. -
Edit
/opt/local/etc/macports/sources.confto contain the path where you cloned this repository before the line with[default]. Example:file:///Users/tatsh/tatsh-ports rsync://rsync.macports.org/macports/release/tarballs/ports.tar [default]Note the line is a
file://URL and must be a complete path. -
Now installing a port from this source should work. Try running
port search battery-statand you should see a result.
Pre-release macOS versions are not supported, similar to MacPorts.
If a package needs an update only to support a pre-release macOS version, it will not be present here until that version of macOS is officially released.
The BSD-3-Clause licence only applies to port descriptions (that is, Portfiles, PortGroups, etc). It may not apply to patches included in this tree, which are derivative works of the ports to which they apply.