Which kind of porosity do you want to obtain: macro, meso, micro ? Graphite is not easily chemically activated, at least the binder will be but not the graphite itself.
Mesoporosity can be obtained by using impregnation with H3PO4 (85% solution) at 550°C or with molten KOH at 800°C. However, as I said, we'll more likely activate the binder than the graphite itself. Just try, and you'll see what happens.
Microporosity can be obtained by gasification in a stream of water vapour at 850°C, or of CO2 at 900°C. But graphite for sure will remain unreacted, only the binder will be made porous.
Interesting to your question I want to ask the result of last year experiments as "impregnation in H3PO4 (85% solution) at 550°C or in molten KOH at 800°C" or "gasification in a stream of water vapour at 850°C, or of CO2 at 900°C".