pkg_info - a utility for displaying information on software packages
"pkg_info 'portupgrade>=20030723'"
will match versions 20030723 and later of the portupgrade package.
Note: This should really not be necessary with , since very little information is extracted from each package and one would have to have a very small /tmp indeed to overflow it.