IOTL, Portugal did just about everything to keep its colonies, but in the end, the financial, military, diplomatic and domestic political cost proved to be too much. They lasted until the mid-1970s, so with a post-WW2 POD, that might be the outer limit.