Accidentally deleted /opt/local/bin/compare
/opt/local/bin/compare is not a OS X Mavericks supplied program.

Try to retrace your steps. The simplest is to reinstall MacPorts. Follow the entire installation guide! (i.e. reinstall Xcode and the Xcode command line tools and then MacPorts itself).