A 7.7 magnitude earthquake and aftershocks struck off eastern Indonesia with much of the damage in the port of Maumere.