LOS ANGELES (Zap2it.com) Soon-to-be-ex-TV-president Martin Sheen has lined up a post-"West Wing" job, going behind the camera on a comedy project for NBC.

Sheen is set to executive produce a comedy loosely based on a situation that occurred in his extended family, wherein a straight man moves in with his gay older brother and his partner. All three men take care of the straight guy's mother-in-law, but in a "Three's Company"-style twist, they try to hide the gay couple's relationship from the woman, who's a fundamentalist Christian.

Brian Bird ("Evening Shade," "Touched by an Angel") will write the script and co-executive produce with Sheen, according to The Hollywood Reporter. Warner Bros. TV, which also produces "The West Wing," will produce.

Sheen's "West Wing" character, President Jed Bartlet, is entering the final months of his second term in the show, which begins its seventh season on NBC Sunday (Sept. 25). Alan Alda and Jimmy Smits play the men vying to become the next president.

The comedy project is Sheen's first foray into executive producing a series, although he has produced a handful of movies in his career.

He may also be doing some comedic acting in the coming season. The producers of "Two and a Half Men," which stars his son Charlie, are trying to find a guest-starring role for Sheen.