assuming that "pivots" mean something other than standard hinges. are these pins that are offset from the edge of the door several inches? you will need to describe where the pivot is in relationship to the door, and how it pivots one way or both ways??
is there a stop that the door rests against for the latch? if so, i would think you could use compression style weatherstrip against that stop to the pivot point. then flip to the other side of the door and apply same stuff against that stop the remainder of the way.