Assuring adequate clearance (in order to prevent loading of the port), the placement of driver and port relative to one another matters "to a degree".
In a prated enclosure all of the acoustic a output is from the woofer above the tuned frequency.
At lower frequencies, specifically for a narrow bandpass centered about the tuned frequency, the acoustic output s from the port.
Thus the total acoustic output is the sum of the output from the woofer and from the port.
And it thus become important that the two outputs sum in phase.
In order to sum in phase, they must be within 1/4 wavelength of each other.
There for the highest frequency corresponding to the pass band shared by both the woofer and port must be LESS than the distance corresponding to the highest shared frequency.
There fore, if the tuned frequency is, say 27 Hz, and the highest common frequency is , say, 30 Hz, then the greatest separation between the acoustic origins of the port and woofer would be .25(450 Inches) or 112 inches, or 9.38 feet...generally not a problem....
Similar considerations apply to the spacing of drivers reproducing the same pass band...