You can do that with master_site_local and patch_site_local in macports.conf or with the correspondingly named environment variables. I came across this in the macports ChangeLog.