I agree with Irish. It's commendable that you want these medications to do some good rather than be wasted, but local laws vary, and in many places, exchanges of prescription medications between individuals is prohibited.
I'm sure you will find a legal way to contribute the items, either through a local clinic, charitable association, or even the providing pharmacy or drug company.
When my Mother passed, she had just gotten a three month supply of a cancer support med not covered by our provincial health plan, to the tune of $600, roughly. We took it to the treatment clinic she had attended, along with her wigs and a couple of other "luxury" cancer support items, and they were very happy to get them, and pass them along to someone who wouldn't otherwise have the off plan support. Because the covered medications were prescribed in smaller lots, we didn't have much of them on hand, and just returned them to the pharmacy.