McEnroe used to carry on like a d#$k, no doubt, as does young Nick, but I doubt you'll find this is why McEnroe is saying his performance is a 'black eye' ont he sport. For all McEnroe's faults as a player, he never ever gave up. Kyrgios does regularly. He sulked massively last night, costing himself the win. Hewitt, Connors, McEnroe et al, could be complete knobs, but never gave up in matches
You're right about McEnroe, although you'll notice he never deployed his antics against Bjorn Borg, which makes you think he wasn't as lacking in self control as it may have seemed. Having said that, he definitely went over the top on occasion.
The other things that sets McEnroe aside from Kyrgios IMHO, were his love of his country, always performing at David Cup level, and wearing his USA tops in normal competition, and when being interviewed was always gracious to the interviewer as well as being prepared to listen to criticism of his game. I believe this is the area where Kyrgios fails.