Michael Porter Jr. had 24 points and 11 rebounds as the Brooklyn Nets withstood a rally by the visiting Toronto Raptors to earn a 96-81 victory on Sunday.