Agricultural uses, including nurseries, tilling of the soil and the keeping or raising of poultry or livestock, other than pigs, on a farm of five or more acres, provided that any building used for keeping or raising livestock or poultry shall be situated at least 50 feet from any street or property line.