Wales made it two wins from two at the Rugby World Cup as a much-changed team laboured to a 28-8 victory over a lively Portugal.