From owner-freebsd-questions@FreeBSD.ORG Wed Mar 23 17:36:57 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AF35816A4CE for ; Wed, 23 Mar 2005 17:36:57 +0000 (GMT) Received: from vms046pub.verizon.net (vms046pub.verizon.net [206.46.252.46]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FCE643D31 for ; Wed, 23 Mar 2005 17:36:57 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from ringworm.mechee.com ([4.27.46.32])0.04 <0IDT00F3SFLK9NK2@vms046.mailsrvcs.net> for freebsd-questions@freebsd.org; Wed, 23 Mar 2005 11:36:57 -0600 (CST) Received: by ringworm.mechee.com (Postfix, from userid 1001) id 28B722CE751; Wed, 23 Mar 2005 09:36:55 -0800 (PST) Date: Wed, 23 Mar 2005 09:36:54 -0800 From: "Michael C. Shultz" In-reply-to: <20050323173313.GA94954@rajarajan.homeunix.net> To: freebsd-questions@freebsd.org Message-id: <200503230936.54842.ringworm01@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit Content-disposition: inline References: <20050323173313.GA94954@rajarajan.homeunix.net> User-Agent: KMail/1.8 Subject: Re: how to find which port has a given executable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Mar 2005 17:36:57 -0000 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