Diffraction problem of a floating breakwater with an array of small ports