The last meal after midday is the seudah mafseket. As the Rambam describes, the early chassidim ate a dry piece of bread with salt, like one whose dead lies before him. Meat, wine, and two cooked dishes are forbidden. If the eve falls on Shabbat, the Magen Avraham wrote that to refrain then from meat and wine because of mourning is a sin in his hand.