I don't follow you on this. I am going to assume you mean that engineers design a dip in the frequency response of a woofer to compensate for output of the port?
If that is your assumption, that is not how woofers and ports work. The 2 work together, they are not separate components and one does not design a dip in the response of a transducer to compensate for the port output (that is not mechanically possible) With proper tuning, the port itself takes care of this.
The woofer and port work together, at port tune - the port is providing 100% of the output as the woofer cone itself will not move. You can see this by examining the impedance curve of a ported speaker , the trough between the 2 impedance peaks. In the case of Sierra LX, it is at 45Hz,
https://cdn.shopify.com/s/files/1/01...g?v=1650266886
At 45Hz, the port is providing all of the output, the woofer wont move back and forth. As you move higher in frequency above 45Hz, the output of the port lessens and is handed off to the woofer. There is a general misconception regarding ports that they relieve the air-pressure within the cabinet. This is not true, ports actually increase the air-pressure within the cabinet, thus helping limit overall woofer excursion at port tune and higher.
In a ported speaker, when a woofer moves forward, air is forced out of the port, creating a lack of pressure in the cabinet which helps the woofer back into resting position. When a woofer moves inward, air is forced back into the enclosure through the port increasing the pressure in the cabinet which helps the woofer cone move forward into resting position. Below port tune, this behavior changes and the woofer will act as if it is in free-air with no air-spring in the enclosure.
Ideally, you generally try to match the port tune frequency to the resonant frequency of the woofer (or tune the port slightly lower, or tune woofer resonant frequency slightly higher) doing so optimizes the response of the overall system because at the woofer's resonant frequency, the woofer will produce the most distortion and is least controlled.
So, when designing a woofer for a specific cabinet volume and port tune - the transducer engineer will try to get the woofer resonant frequency to match the port tune or come very close. There is quite a bit more involved (including optimizing the Thiele/Small parameters of the woofer) - but this should provide you with at least a general understanding.
A speaker port is a Helmholtz Resonator, Wikipedia has a decent explanation as to how it functions.