I had them years and years ago from road running. The advice the doctor gave to me was to stretch them by doing calf raises on a doorstep or stairs. Really let your body weight push your toes upwards when doing the downward part i.e. toes up, heels down while pivoting on the balls of your feet.
HTH's