Firefighters aided by calmer winds are gaining control of wildfires raging across drought-hit Portugal but warn the fire danger remained high in the coming days.