Tube nuts are your friend.
If you broke your hardline near the brake:
Get a tube nut to fit your hard line... should end up being -3 or -4. Then get a matching AN adapter to match your caliper. One piece of crimped hose, flare it, and viola!
If you broke it halfway down the car I'm not sure you'd want softline under the car. :thinking: