The team were obviously egged on by their manager Scolari, who will surely now be reprimanded for shouting at the referee after the match was over. Martin O'Neill was saying 'He'll be embarrassed when he sees the video of the match', ie when he sees that his players were faking, but I agree with Shearer who said 'No, it was a deliberate tactic'. What he hoped to gain by arguing after the match was lost I couldn't say.
In fact the refereeing was again excellent, and it is to be hoped that the next international competition it starts at this level, rather than the farcical standard with which the tournament began. FIFA had better consider their advice to officials very carefully.
In the longer term a decision will have to be made about how to deal with this cynical tactic of extensive fakery. It destroys the flow of the game, and can lead to the wrong result. Luckily tonight it didn't.
*ETA - I must, must, emphasise that when I say 'Portugal' I am talking about the specific tactics of this particular football team - I'm not talking about Portugal in general, nor Portuguese people. I take this for granted in all I say, so sometimes I don't make it explicit.