Porphyrins covalently linked to aminomethylated Merrifield polymers, by chlorosulfonation activation of the porphyrin nucleus, are able to generate singlet oxygen with an efficiency which is related to the spacer between porphyrin and the polymer backbone. Juglone and ascaridole are efficiently produced in the presence of these supported catalysts.