Man gets jail term for dealing in drug