This grand-slam of a sprawling Southampton estate on the market for $14.5 million belongs to tennis legend John McEnroe, according to public records.

The 7,500-square-foot mansion on 2.17 acres was once a part of the Murray-McDonald compound, one of Southampton’s largest estates of yesteryear.

advertisement | advertise on newsday

The eight-bedroom, 7-½-bath home was built in 1996 and includes deeded ocean beach access, according to a listing.

A master-bedroom suite includes two full bathrooms and a balcony. Seven additional guest bedrooms and bathrooms are situated in separate wings of the home for privacy.

A “sun-drenched” living room features a vaulted ceiling, according to the listing. There are also formal and casual dining spaces, a library, office, den, sunroom and a chef’s kitchen. Large windows, balconies and terraces provide ocean breezes and views of the grounds, which include rolling lawns, color-infused specimen trees, gardens, an in-ground pool and a fully landscaped Har-Tru tennis court.

Kathy Konzet of Sotheby’s Real Estate is the listing agent.

advertisement | advertise on newsday

Previous owners of portions of the Murray-McDonald compound include Standard Oil baron Henry Rogers and former Atari chief executive Ray Kassar, according to published reports.