In the framework of a field theoretical approach we study Maier-Saupe nematogenic fluid in contact with a hard wall. The pair interaction potential of the considered model consists of an isotropic and an anisotropic Yukawa terms. In the mean field approximation the contact theorem is proved. For the case when the nematic director is oriented perpendicular to the wall, analytical expressions for the density and order parameter profiles are obtained. It is shown that in a certain thermodynamic region the nematic fluid near the interface can be more diluted and less orientationally ordered than in the bulk region.