There are a couple different ways to do it- 1.) mod your ps2 hardware or 2.) use a cd/dvd thing that you insert before putting in your import game. I've done this a lot with the PS1 and GameCube, and I HIGHLY recommend the second option. It's a lot easier and less of a headache if you mess up.
Here's a PS2 cd import loader thing (first product in the list):
Not all of the games are available on Mac, so take note before you purchase. It's still a really good deal (and a cool idea), but just check first before assuming that you're getting Sid Meier's Pirates for OS X...