Parts of Portugal, beset by its deadliest summer of wildfires in living memory, were declared in a state of public calamity on Thursday as the government put emergency services on alert for further