Man sentenced to prison in drug case