Dirk Nowitzki and the Dallas Mavericks have agreed on what could be the final contract for the big German.

A person with knowledge of the deal told The Associated Press on Thursday that Nowitzki would get a three-year contract worth roughly $30 million. The person spoke on condition of anonymity because the deal has not been announced.

The pursuit of other stars is even more urgent with Nowitzki getting close to the end of what figures to be a Hall-of-Fame career. The 2011 NBA Finals MVP put off finalizing the deal until after the Mavericks met with free agent Carmelo Anthony, which happened Wednesday night.

Mavericks owner Mark Cuban recently acknowledged that he couldn't offer Anthony a max contract, so Dallas figures to be stressing the 2011 title led by coach Rick Carlisle, Nowitzki and center Tyson Chandler, who recently rejoined the team in a trade with the New York Knicks.

If the Mavericks miss out on Anthony, there are a number of other small forwards on their wish list, topped by Houston's Chandler Parsons. He is a restricted free agent, and the Rockets can match any offer.

Dallas also wants to re-sign point guard Devin Harris, and will target several others at that position if Harris goes elsewhere.