Change ball joints if required, and bolt in your new spindle. Reattach tie rod end. Procede with the bearings and rotor. The flex line will not bolt in like the donor vehicle. Disc vehicles have the hard line pointing towards the outside and bolted to the lower control arm with a bracket that is supplied with the flex line.
Drums have the hard line bent at the top of the frame rail pointing to the ground.
Not to worry however, the flex line bolts right to the hard line, and the caliper end you can improvise. Typically, a simple u-shape, leaving that flex line bracket unattached. If possible you might be able to unbend that bracket and discard it. Repeat the process for the other side of the vehicle. Into the engine compartment.