Unfortunately this does not parallel the smallpox eradication... smallpox was a very unique case as far as human diseases go. First, smallpox was eradicated through the use of vaccines (first produced over 200 years ago), which require only one exposure to prevent a person from getting infected. There were also numerous efforts to eradicate smallpox spanning almost 150 years, and culminating in the massive, coordinated effort from the WHO (World Health Organization, not the band) to eliminate smallpox from Africa and India in the 60s-70s.
To similarly eliminate HIV we would either need a similar vaccine, or to force every single HIV patient in the world (estimated 33-46 million) to adhere to a complicated anti-retroviral therapy for the remainder of their lives.
The situation for HIV better parallels tuberculosis, which can be effectively cured by common (and relatively inexpensive) antibiotics, but remains prevalent because the treatment regimen is quite long and requires strict patient compliance.
Also, since smallpox was eradicated by a very well studied vaccine, there was no patent holder to collect royalties...