Meditation on the pineal gland can be very helpful with this, as it can produce euphoria greater than that of any drug.
Take a look at both "Beautiful Meditation from Satan" and "Penial Meditation" both found in the 'Meditations section of the JoS.
Also, practicing void meditation regularly can really help overcom e addictions.