The Planar Handbook has seal portal (Sor/Wiz 6). Dispel magic is required to remove it. A gatecrasher has only one try to break the seal. (This might be the updated version of portal barricade from underdark).
Scramble portal (Sor/Wiz 4) from the Manual of the Planes may achieve the same as blocking a portal, since it changes its destination to somewhere else. Send demons/devils to a good-aligned plane...
Complete Arcane has greater sign of sealing (Sor/Wiz 6), which may help.
If the exact location of the portal is not known, a screen can hide it.
As people have suggested, a disjunction has a chance of destroying a portal, even if it is considered an artifact. Combined with disintegrate or sphere of ultimate destruction (Complete Arcane), you can erase it from existence.
On the offensive end, there's reality maelstrom from Manual of the Planes, which is basically a planar version of a tactical nuclear weapon.
Andargor
Scramble portal (Sor/Wiz 4) from the Manual of the Planes may achieve the same as blocking a portal, since it changes its destination to somewhere else. Send demons/devils to a good-aligned plane...
Complete Arcane has greater sign of sealing (Sor/Wiz 6), which may help.
If the exact location of the portal is not known, a screen can hide it.
As people have suggested, a disjunction has a chance of destroying a portal, even if it is considered an artifact. Combined with disintegrate or sphere of ultimate destruction (Complete Arcane), you can erase it from existence.
On the offensive end, there's reality maelstrom from Manual of the Planes, which is basically a planar version of a tactical nuclear weapon.

Andargor