John is correct, the MacPort names aren't hard to guess, especially if you start from the FreeBSD names in the table in the WeBWorK 2.4 installation manual. I once copied the html for the table and added a column with the MacPort names for the required modules. I've attached the html fragment to this message in case there is any interest.
The table only includes the modules required for WeBWorK 2.7.
Bill