> portsearch -n mysql-server-5.1
Port: mysql-server-5.1.51_1
Path: /usr/ports/databases/mysql51-server
Info: Multithreaded SQL database (server)
Maint: ale@FreeBSD.org
B-deps: mysql-client-5.1.51_1
R-deps: mysql-client-5.1.51_1
WWW: http://www.mysql.com/
> portinstall
usage: portinstall [-habcCDDefFiklnOpPPqrRsuvwWy] [-A command] [-B command]
[-L format] [-S command] [-x pkgname_glob]
[[-o origin] [-m make_args] [-M make_env] pkgname_glob ...]
pkgname_glob is one of these: a full pkgname, a pkgname w/o version,
a shell glob pattern in which you can use wildcards *, ?, and [..],
an extended regular expression preceded by a colon (:), or a date range
specification preceded by either < or >. See pkg_glob(1) for details.
The package list is automatically sorted in dependency order.