Tom Eaves scored a superb goal, combining control and a volley, to help Gillingham on their way to victory over Portsmouth.