Basically, I usually do something like this:
# portsnap fetch
# portsnap update
# portmaster -L | grep -B1 "New version"
===>>> php5-5.2.11
===>>> New version available: php5-5.2.12
# portmaster php5-5.2.11
But with PHP I've got about 40 modules and have to them one by one. Is there a better (and safe) way to do this?
Edit: well it turns out that this is what's needed:
# portmaster php5-extensions
It's amazing how hard that was to find out!