Check out the port.1 manpage. It has detail on various ways to
search, including pseudo-portnames.
But in general, you can do `port search portname`, where portname can
contain globbing characters.
If you want to find ports that provide a specific file, there's no
way of doing that without having installed the port yet. If you've
installed a port you can ask what port provides a given file on disk,
but MacPorts does not know what files a given port will provide until
it's installed.
On Jan 30, 2007, at 5:48 PM, Alexy Khrabrov wrote:
Greetings -- what's the ports equivalent of Gentoo's equery, i.e. how
can I find out into which ports various gcc versions are packaged, or
which port contains say "basename" utility, or another known tool?
--
Kevin Ballard
http://kevin.sb.org
[EMAIL PROTECTED]
http://www.tildesoft.com
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users