Keep two Macports installations in sync
You could pipe the output of port echo active to a file on one machine, sync the output to the other machine, and run port install for each line.

That would be just the most naive solution, mainly not handling "merge conflicts".