Selective porosity development by calcium-catalyzed carbon gasification