Thats not how it works.
You have your gross volume... if the ports are internal, you subtract the displacement for the net. If they are external, you simply dont do anything, because they are not displacing any volume inside the box. However, you dont add anything either, because the volume of the ports, are not "usable" airspace by the driver.