Simple: either through designating a storage as being for turret plans or through allowing selection of blueprints labelled as turrets, add a feature to shipyards allowing the builder (with available resources) to add turrets from a list to any empty turret dock on the loaded design.