A macroscopic description of geometrical pore structure of porous solids