Target Logistics, a Boston-based builder and operator of dormitory-style housing, recently landed a nearly $30 million contract to provide lodging for hundreds of oil-field workers in North Dakota over the next three years.

The deal is the latest example of rising demand for professionally managed "man camps," sprawling barracks that house mostly male workers at American and Canadian oil sites.

A...