If your building a wall, and sealing the front off from the back, then why would you even question putting the port in the back? It must go in the front, always when in that situation. If you are really that worried about the roof, make sure you have a layer or so of sound deadening, and when you build the wall, make sure you get expanding foam above it to create a tight fit above the box and between the roof. Have you considered aero ports to?