A Starport enables you to build ships on that planet, There can only be one on a planet at any given time.
Factory's are the things that give you points towards building a ship, If you want a planet to be a ship-hose then just carpet it in factory's.
Beware though that they may get unhappy, So throwing in an entertainment center is not a bad option.