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


_______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to