That catchphrase belongs to Yosemite Sam (Looney Tunes/Merrie Melodies).
Known for his red beard, ten-gallon hat, twin pistols, explosive temper, and the line: "Well, I'll be a varmint's uncle!"