You can get a jig to route the mortise into the frame if you like.
I have always just traced the latch plate and inlet with a chisel. It's not an overly difficult task.