The basics for porting are explained in the Newbie MOO Wiz FAQ and most information is taken from there.