I recently installed snow leopard and got rid of all my old Mac ports. One of the things which I did not figure out immediately was how to install md5sum which I got used to from Linux. The answer is to install the package md5sha1sum instead:
sudo port install md5sha1sum
Macs come with md5 which solves the same problem but which has a different (worse) user interface.