Date: Wed, 23 Mar 2005 17:52:35 +0000 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: freebsd-questions@freebsd.org Subject: Re: how to find which port has a given executable Message-ID: <4241ACE3.5080304@dial.pipex.com> In-Reply-To: <200503230936.54842.ringworm01@gmail.com> References: <20050323173313.GA94954@rajarajan.homeunix.net> <200503230936.54842.ringworm01@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Michael C. Shultz wrote: >>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 ? >> >> >Here is an example: > >pkg_info -W /usr/X11R6/bin/nedit >/usr/X11R6/bin/nedit was installed by package nedit-5.5 > > I think the question might have been about a file from port which wasn't yet installed, in which case it's a little more time consuming: % find /usr/ports -type f -name pkg-plist -exec egrep -H epstopdf {} \; /usr/ports/chinese/cwtex/pkg-plist:share/texmf/cwtex/help/epstopdf.txt /usr/ports/print/teTeX-base/pkg-plist:bin/epstopdf /usr/ports/print/teTeX-texmf/pkg-plist:%%TEXMFDISTDIR%%/doc/help/Catalogue/entries/epstopdf.html /usr/ports/print/teTeX-texmf/pkg-plist:%%TEXMFDISTDIR%%/tex/latex/oberdiek/epstopdf.sty /usr/ports/textproc/rubber/pkg-plist:%%PYTHON_SITELIBDIR%%/rubber/graphics/epstopdf.py /usr/ports/textproc/rubber/pkg-plist:%%PYTHON_SITELIBDIR%%/rubber/graphics/epstopdf.pyc /usr/ports/japanese/ptex-common/pkg-plist:bin/epstopdf --Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4241ACE3.5080304>