Front should be easy, just redrilling the bumper to bolt to the holes in the frame rails. I wouldn't use a TJ front bumper if it was given to me, they are a lot thinner than the YJ bumpers.
The only distance that will come into play is the height of the frame compared to the height of the bumper. You may have to add a few washers if the frame isn't tall enough.