Pending a routine physical, Jose Reyes will become the Miami Marlins’ new shortstop. Reyes and the Marlins agreed to terms on a six-year deal that will reportedly pay him $102 million, the largest contract the Marlins have ever given to a player.

“Done deal,” said a source with knowledge of the agreement.

Reyes, the National League batting champ last season with a .337 average with the Mets, agreed to join the Marlins after the team sweetened their initial offer to an amount he couldn’t refuse.

The Marlins have been courting Reyes since one minute after midnight on Nov. 3, the first time free agents could start talking to other teams.

Incumbent shortstop Hanley Ramirez will move to third base to accommodate Reyes. The Marlins have no intention of trading Ramirez.

Reyes’ contract includes a seventh-year team option with a buyout of $4 million, a source said.

They’re expected to have a total payroll to close to $100 million next season, a source said.