git
http://www.perkin.org.uk/pages/pkgsrc-binary-packages-for-osx.html
Install the git package and fetch pkgsrc from the converted cvs->git repo
$ sudo pkgin -y install git
$ git clone git://github.com/jsonn/pkgsrc.git
(example)
z87@makoto 17:00:09/141015(/wd1e)% time git clone git://github.com/jsonn/pkgsrc.git
Cloning into 'pkgsrc'...
remote: Counting objects: 1941733, done.
remote: Compressing objects: 100% (5057/5057), done.
remote: Total 1941733 (delta 1190), reused 0 (delta 0)
Receiving objects: 100% (1941733/1941733), 1.10 GiB | 711.00 KiB/s, done.
Resolving deltas: 100% (1299679/1299679), done.
Checking connectivity... done.
Checking out files: 100% (80653/80653), done.
86.20s 20.57s 27:10.87 6% 0+0k 114+21066io 0pf+0w
z87@makoto 17:28:57/141015(/wd1e)%
By default you will get pkgsrc trunk. If you want the most recent stable
branch, then switch to it first.
$ git checkout pkgsrc_2014Q2
Change to the package directory and download/compile/install with one command.
$ cd pkgsrc/<category>/<package>
$ bmake install