
user ls bin etc include lib libexec man sbin share. if you perform a directory listing at that location you should see the structure for port installed programs which should be installed in bin or sbin directories.
MACPORTS LIST INSTALLED MANUAL
MACPORTS LIST INSTALLED INSTALL
>sudo port install git-core +bash_completion+credential_osxkeychain # install git-core together with bash_completion and credential_osxkeychain # search for the available git installation


Open a terminal window and follow the commands below.

Once Macports is installed, all the tools that we installed via Macports will be under the directory “/opt/local/bin/”. You can refer to here for the installation instruction of these prerequisites. I choose Git not only because it is a neat solution in terms of version control but also due to the popularity of Git-based online code development platform, GitHub.īefore we start to install Git, we should already have Apple’s Xcode and command line developer tools together with Macports installed on our mac. Extract dependencies are needed to unpack a ports distfiles into the work directory, and are not needed at all once the software is installed. There are many such tools available today: Subversions, Mercurial, Git, CVS, etc. The list of dependencies to check before phases extract, patch, configure, build, destroot, install, and package. An SCM tool will be even more useful if one is participating a collaborative code development project. Adopting a source control management (SCM) tool has been put on my agenda. As I wrote more and more scripts for my work, it become difficult to keep tracking different version of my scripts for different specific tasks.
