Not sure if this'll help:
Pelican Technical Article: Boxster Litronic Headlamp Installation - Page 7
If you're talking about the male plug that the headlamp plugs into when you push it in, I've had to replace the clip that holds male plug to the plastic post, and Porsche sells that clip. If the post itself is broken, then you'd have to figure out how to resecure it or buy a new plate.