Port authority, ferry lines receive homeland security grants