I put together a stainless steel vinyl coated brake line from parts ordered at www.jpcycles.com. I forget what size fittings you need exactly, either 10 or 12mm (I think it goes by the size of the banjo bolt if I remember), but you can get any length you need and any type of fittings for the ends. They are a bit pricey, but should last forever.
Trikes
1984 Honda 200x, 1984 Honda 200m
Bikes
1995 Honda CR125R, 1985 Honda XL100 (gone), 1982 Kawisaki KZ550 LTD,
2001 Yamaha TT-R 125L, 1983 Honda XL185S (current project), 2001 Suzuki SV650S