The Marlins had a three-game winning streak snapped even though they produced 13 hits.
Luna delivered a two-run single in the first to give the Phillies a 2-1 lead and a run-scoring double in the seventh to complete Philadelphia's scoring. Pence hit his 12th homer of the year, a two-run shot in the fifth.
Jonathan Papelbon worked the final 1 2/3 innings for his 15th save, preserving the victory for Mark Buehrle (5-5), who gave up 11 hits over five innings, but did not walk a batter and limited the Marlins to four runs.
2014: The Year in Music [PHOTOS]