Giving a gift to a guy friend is perfectly acceptable. However, it's important to take certain factors into account. Consider the nature of your relationship with him.  If you're just friends, a small gift or a token of appreciation is generally well-received and appropriate.