An easy way is to trim the opening with 1x4 then install your door hard ware to the 1x. you can also use a trim product like Miratec or similar,cedar,treated,whatever floats ur boat. Then sheetrock ,but make sure to do a nice job fitting the rock around the door.Leave a nice clean 1/8" inch gap...