Judge sentences Mackay man to probation on drug charge