To install php-cairo_wrapper, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install php-cairo_wrapper
To see what files were installed by php-cairo_wrapper, run:
port contents php-cairo_wrapper
To later upgrade php-cairo_wrapper, run:
sudo port selfupdate && sudo port upgrade php-cairo_wrapper
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.