NATO warplanes bombed Libyan naval vessels in three ports on Friday, leaving ships partially sunken and charred and showering docks with debris in the military alliance's broadest attack on Moammar Gadhafi's navy.