macports – Basic commands

Install
Install a “port” aka a software package (e.g. “samba”)

sudo port install samba3

Update
Update all installed “ports” aka software packages (e.g. “samba”)

sudo port upgrade outdated

Update the mac ports installation itself

sudo port selfupdate

Links
macports.org

Mac