The 17th entry for "for" in thefreedictionary:
- in honor of: to give a dinner for a person.
A little search in Google Books gave some examples:
Mr. and Mrs. R. Hall McCormick and Miss Elizabeth McCormick will give a dinner for eighty, January 9, the night of the Artists' Fete for the benefit of the Chicago Lying-In Hospital and Dispensary.
But he said to his father, "For years I have worked for you like a slave and have always obeyed you. But you have never even given me a little goat, so that I could give a dinner for my friends. This other son of yours wasted your money on prostitutes."
During the fall he had called Kirk into his office and stated that the State Department had asked him to give a dinner for the Shah.
If she had gone to Malaysia, when the prime minister came to town, she'd give a dinner for him. The ambassador would look up what they did last time and there was always a meal at Mrs. Graham's house.
I think the first example is different from the others in that "for eighty" modifies "a dinner". The dinner is intended for eighty people.
I'm not sure if the other three examples could reasonably be rephrased as "give a dinner to". I think the meaning would stay the same, but "give a dinner for" adds a connotation of "in honor of". Semantically, do those referents of "for" have to be present in the dinner?
And when could "for" be used in the sense of "in honor of"? The following examples are also taken from Google Books. Could they be substituted with "for him" without much change in meaning?
It was a beautiful May morning, and Aleksi felt that the eiders made their low formation flights just centimeters above the water surface in honor of him.
It is reported of Stilpo the philosopher, that he thought he saw Neptune in his sleep, and that he seemed very much displeased with him, because he had not (as was usual with his priests) sacrificed an ox in honor of him.
A pervasive silence ruled that Monday after Mike's murder, with gathering groups hoping to hear more information. The Cadmus employees had a moment of silence in honor of him.