A Texas man will spend 40 years in federal prison after investigators uncovered more than 244 kilograms of methamphetamine.