Ports fund to make harbours more viable