Use opkg module as basis for macports module

This module is pretty simplistic, it is derived from the opkg module.
Merge pull request #2249 from jcftang/devel

Use opkg module as basis for macports module