But I noticed that CMake was also supported, so I switched to CMake successfully. When comparing the resulting package with the one in ​http://packages.macports.org/dyncall/, I realized that CMake forgets to install the man page.

I'm attaching a diff file that fixes most issues except for the man page. It would be nice to get maintainer's confirmation though.