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 zsh
The script clones to ~/tatsh-ports by default; set PORTS_TREE to use a different path (e.g.
PORTS_TREE=~/ports curl -fsSL ... | sudo zsh).
portindex.Edit /opt/local/etc/macports/sources.conf to 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.
port search battery-stat and
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.