We investigate the existence of nontranslation invariant (periodic) density profiles, for systems interacting via translation invariant long-range potentials, as minimizers of local mean field free energy functionals. The existence of a second-order transition from a uniform to a nonuniform density at a specified temperature is proven for a class of model systems.