Like already posted, a reman master cylinder assembly could cost over a grand.
Unfortunately, there is no such thing as buying pre-bent brake lines unless you have a Chevelle or some other car that is popular to restore. For us, we get to buy 25' rolls of brake line tubing and bend it ourselves. The Teves system also has non-standard sized lines too. The line for the rear is 6mm from the master cylinder to the proportioner valve rather than 1/4" or 3/16". It also uses bubble flares into the rear proportioner valve and flex line junction. Bubble flares are usually found in import cars rather than domestic (North American) cars.
I had to replace the rear lines and proportioner begining at the back of the front door. I have a very difficult time finding all of the parts but ended up with this:
Proportioner valve - Dealer ~$60
3/16" line - local auto parts store in import section. 2 60" lengths, 1 50" length, 1 double flare union
6mm line - A freebie from Triple * Tubing in Canada. I told the GM about all of the problems I was having finding the lines and was nice enough to send me 2 20" sections for free.
1/4" double flare union - Specialty auto parts store that also sold a bunch of hydraulic fittings
Foghorn, another Canadian member, has seen Triple * Tubing at Canadian Tire but not the specific part I was looking for. They might be able to ouder it for you.