Which preposition to use with foresails

in Occurrences 2%

He imagined himself one of the crew of the Celestine, hoisting the foresail in a South American port.

on Occurrences 1%

We got the foresail on her, then a standing jib; finally little by little all her ordinary working canvas.

Which preposition to use with  foresails