You can buy a ready cut door framing at a timber yard or builders merchants - various widths....
http://commons.wikimedia.org/wiki/File:Door_frame_(PSF).png
And Frame fixing screws (drill a hole and hammer it in) from the same places or a DIY store...
http://www.plasplugs.co.uk/fixings-frame.html
Easier - if you can manage it and the damage is small - to saw out the damaged timber and glue in / slot in / screw in a suitable small piece to fit - a section - if you need to fill gaps then use a piece of timber and wedges.
Replace as little as possible - cheaper - quicker and easier.
Good luck...
Good luck...
Peccavi
October 2010