how to find which port has a given executable

Michael C. Shultz ringworm01 at gmail.com
Wed Mar 23 09:36:57 PST 2005


On Wednesday 23 March 2005 09:33 am, Rajarajan Rajamani wrote:
> Hi,
>  I had asked this in a slightly different post but there was no reply
> so I am posting again.
>
> Is it possible to find out which port has a particular
> executable/script file ? It took me some time to find
> out if the script epstopdf was in latex or tex or tetex!
>
> Any easy way to do this ?
>
> Regards,
>
> Rajarajan

Here is an example:

pkg_info -W /usr/X11R6/bin/nedit
/usr/X11R6/bin/nedit was installed by package nedit-5.5

-Mike


More information about the freebsd-questions mailing list