Which port provides fig2dev?

Kevin D. Kinsey, DaleCo, S.P. kdk at daleco.biz
Sat Apr 24 09:50:36 PDT 2004


Kai Grossjohann wrote:

>Is there a way for me to find out which port provides the fig2dev
>binary?  I tried pkg_which and ports_glob, but I think that the former
>operates on installed ports only, and the latter operates on port
>names only.
>
>Hm.  Ah, I could "grep fig2dev /usr/ports/*/*/pkg-plist", but is that
>the only way?
>
>Kai
>
>PS: fig2dev was meant as an example; "portinstall transfig" is running
>    already.
>
>  
>

Are you looking for pkg_which(1) ?

<kadmin at archangel> [/usr/local/lib] 
[11:49]                                                                                                                     
% pkg_which libpspell.a
aspell-0.50.4.1_1 aspell-0.50.5 aspell-0.50.5_1 aspell-0.50.5_2

Kevin Kinsey
DaleCo, S.P.


More information about the freebsd-questions mailing list