We develop computational tools for the tree-level superpotential of B-branes in Calabi-Yau orientifolds. Our method is based on a systematic implementation of the orientifold projection in the geometric approach of Aspinwall and Katz. In the process, we lay down some ground rules for orientifold projections in the derived category.