I drill a small hole in the upper rear of the chaincase (just forward of the long magneto bolt), and push in a 90 degree plastic yamaha breather adaptor (as fitted since the 70's to the DT and RD range). It is cheap, and very compact (and durable). Then push a short hose onto this. Relieving the pressure in the chaincase by doing this, in conjunction with lapping the inner and outer chaincase surfaces, and fitting fibre washers under the drain screws, will ensure the case doesn't leak.
Am overhauling another gearbox, and intend to install the same Yamaha adaptor in the top of the gearbox (hidden under the ski slope) with a short hose routed towards the swing arm.
The adaptor is a push-in fit; the hole size is approx 6.5mm.
Richard