Bernie Mac says he intends to retire from stand-up comedy after 30 years .