add port directive