Most people would be inclined to position the subwoofer so that the ports fire to the rear. This tends to look most aesthetically pleasing when viewing the subwoofer from the front of the room. In your case, since the subwoofer may be relatively far from both front and rear wall, sound quality should not significantly change one way or another. Go with the orientation that you feel looks the nicest.
Pete - Hsu Research