As far as my agency is concerned, port security really rests principally with the Coast Guard and Customs and Border Protection.
The way that emergency operations act under the law is the responsibility and the power, the authority, to order an evacuation rests with state and local officials. The federal government comes in and supports those officials.