I ran the same problem, but found that the correct path was:
/usr/local/Cellar/postgis15/1.5.3/share/postgis/
Of course, check your PostGIS version number according to your exact path. Files found in this folder, such as postgis.sql or spaces_ref_sys.sql ... I think this is what you need?
source share