MY method for taming a stray cat:

Make a note of the time of day the stray shows up. Put food out in time for his arrival.

Sit near the food, but not so far that the cat is afraid to eat. Start far away (10 feet) and sit absolutely still while the cat eats. Don't move even if a bug bites.

If the cat eats, sit closer by a foot each day. If he acts afraid or won't eat, back up.

If the cat comes up to you or you are within reach, very, very slowly extend your hand.

Judge the cat by his reactions to you. Some cats will let you pet them in a day or two. Others will take a lot longer.

One of my porch cats has been coming to dinner since January third of this year. Last week he let me pet him and now comes for attention every morning and evening. He still won't come inside with the rest of the cats to eat. (I prop my front door open and feed 5 strays in my living room every night. They feel safe if the door is open. A couple have explored the rest of the house). Of course I haven't been working on it steadily.

A humane trap will work, too. But I would recommend that you keep him in a large cage inside for a while if you decide to go that route. He will get used to your sounds and smells.

Good luck. It sounds like this little guy needs some help. Let us know how you do.