porphyrin-containing compound biosynthetic process