  We examine the dependence of a thermodynamic potential of a fluid on the
geometry of its container. If motion invariance, continuity, and additivity of
the potential are fulfilled, only four morphometric measures are needed to
describe fully the influence of an arbitrarily shaped container on the fluid.
These three constraints can be understood as a more precise definition for the
conventional term "extensive" and have as a consequence that the surface
tension and other thermodynamic quantities contain, beside a constant term,
only contributions linear in the mean and Gaussian curvature of the container
and not an infinite number of curvatures as generally assumed before. We verify
this numerically in the entropic system of hard spheres bounded by a curved
wall.
