Probably doesn't matter which way you do it.
It depends what sort of corners the new door has i.e. mitre or butt joints. Also depends how wide the frame is on the screen door. If you shave 5mm off, will you notice it?
It might be easier to make a square door and then shave.