Actually, there's a really easy way to do it.
You just go to System Preferences -> Keyboard and click the "Modifier Keys" button, and you can remap
Caps Lock, Control, Option and Command how you see fit. Also, you can select which keyboard to apply the remapping to.
This is for Leopard, and Snow Leopard, I don't know if Tiger or lower has the same functionality.