The Civilian Complaint Review Board is prosecuting an NYPD cop in a stop-and-frisk case for the first time, claiming he unfairly targeted a black Brooklyn man.

The watchdog panel is going after Officer Roman Goris for hauling real-estate agent Yahnick Martin, 35, to a station house after rifling through his pockets for suspected marijuana.

Martin, who in March filed a civil case against Goris in Brooklyn federal court, says he was smoking a cigar near his car while his wife dropped off Christmas presents when a three officers confronted him on Dec. 23, 2011.

The cops accused him of smoking pot — and Martin said he blew a plume of smoke in the air to prove that he was puffing legal leaves. Martin then jokingly accused cops of taking money from his pocket during a search that didn’t turn up any contraband.

“You want to be a smartass and make accusations, you’re going to jail,” one of the officers said, according to Martin’s lawsuit.

Martin asked the officers to wait until his wife came back to their unlocked car — but was ignored, he said.

Goris, 33, slapped the cuffs on Martin and took him to the 77th Precinct station house, where Goris was given a desk-appearance ticket, court papers say.

By the time he got back to his car, it was gone — along with all his Christmas gifts, Martin said.

The raps against him were eventually tossed.

The CCRB has already substantiated a claim against Goris of abuse of power and unlawful stop-and-frisk in the case.

The panel was formerly limited to handing over its findings on such complaint cases to the NYPD, which would then prosecute with its own departmental lawyers.

But a deal hammered out in April changed that. The CCRB now holds its own hearing before an administrative law judge and makes specific recommendations for punishment, although the police commissioner still has the final say.