MacPorts list: use a while loop while detecting braces