What makes you think the ports are fried?
Since it is a keyboard port then you need another motherboard, however, there are alternatives:
1. Get a USB keyboard/mouse if you have USB ports or intend to use those types of ports.
2. The mouse can connect to a ps/2 or serial connections through a ISA/PCI card. Check to see what connectors or adapters needed.
3. If the ports case is broke - you can hard wire the connections. BUT this takes practice! I am also assuming that 'fried' means physically broke and not the controller. Good Luck...email me if you have more info to give.