An Indiana man has been locked up by New York authorities for stalking and harassing R & B superstar Ashanti and her family.

Cops say Devar Hurd sent more than 30 disgusting text messages in which he describes pleasuring himself while thinking of the sexy singer and her mom and sisters.

The barrage of filth allegedly began in May, when Hurd is charged with first “sexting” Ashanti’s mother, Tina Douglas, of Glen Cove LI. “Hey Tina baby, how u doing sexy,” Hurd, 31, text messaged Tina Douglas’ cell phone. “Tell Shani I’m coming straight home from work to put in sum overtime. U know how I do, LOL.”

The next day, he texted over to the mom a picture of his exposed genitals, and this message: “Here’s a pic I had laying around for the ladies in sum of my birthday suit lol.”

It went quickly downhill from there, according to prosecutors, who have offered Hurd a one-year sentence in exchange for a guilty plea.

In just his third text — and between references to the superstar’s upcoming appearances, and mentions of such Ashanti hits as “Girlfriend” and “So Over You” — Hurd allegedly zips the mom a picture of a car belonging to her 29-year-old singer-actress daughter.

“Shani baby I saw U parked yesterday when I showed up to the Wiz,” he allegedly says in that text, from June, going on to graphically describe masturbating to a video of one of the star’s concert performances.

Cops say he ended that text by typing — perhaps with just one thumb — “Oh ashanti ashanti ashanti, yes baby woooo lol.”

The texts reference the star’s appearances and rehearsals, and also describe fantasies about her sister, Kenashia Douglas, and about group sex with the star and her mother and sister. All but one of the texts is sent to Tina Douglas; the other is sent to Ashanti’s father. Hurd plans to go on trial next week on misdemeanor charges of stalking and aggravated harassment, said his lawyer, Richard Verchick.

Hurd remains at Rikers Island in lieu of $50,000 bail. Verchick described him as “in the music business — I’m not exactly sure what. Producing, semi-producing — in some sort of music capacity.”