add MacPorts build

Tested on Mac OS 10.9.4 with Macports 2.3.1
Both ncurses and tiles builds are OK.

But with another patch: #8338