remove obsolete port declaration formats