From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 14:33:56 2003 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 7BAEB16A4BF for ; Thu, 16 Oct 2003 14:33:56 -0700 (PDT) Received: from mta2.adelphia.net (mta2.adelphia.net [68.168.78.178]) by mx1.FreeBSD.org (Postfix) with ESMTP id 71C0743F93 for ; Thu, 16 Oct 2003 14:33:55 -0700 (PDT) (envelope-from parv_fm@mailsent.net) Received: from moo.holy.cow ([68.67.226.247]) by mta2.adelphia.net (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP id <20031016213357.BQW28604.mta2.adelphia.net@moo.holy.cow>; Thu, 16 Oct 2003 17:33:57 -0400 Received: by moo.holy.cow (Postfix, from userid 1001) id 4B398A8F3; Thu, 16 Oct 2003 17:37:27 -0400 (EDT) Date: Thu, 16 Oct 2003 17:37:27 -0400 From: parv To: freebsd-questions@freebsd.org, Matthew Seaman , Dinesh Nadarajah Message-ID: <20031016213727.GB382@moo.holy.cow> Mail-Followup-To: freebsd-questions@freebsd.org, Matthew Seaman , Dinesh Nadarajah References: <20031016145900.93573.qmail@web80401.mail.yahoo.com> <20031016154406.GA5114@happy-idiot-talk.infracaninophile.co.uk> <20031016160121.GA14726@users.munk.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031016160121.GA14726@users.munk.nu> Subject: Re: Howto find packages 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: Thu, 16 Oct 2003 21:33:56 -0000 in message <20031016160121.GA14726@users.munk.nu>, wrote Jez Hancock thusly... > > On Thu, Oct 16, 2003 at 04:44:06PM +0100, Matthew Seaman wrote: > > On Thu, Oct 16, 2003 at 07:59:00AM -0700, Dinesh Nadarajah wrote: > > > For eample, in Debian, I can use "apt-cache search mozilla" and this > > > will list all packages with mozilla in it and then I can select the > > > package for installation. > > > > You can use the ports tree to search for what ports/packages are > > available: > > > > % cd /usr/ports > > % make search key=foo > > % make search name=bar ... > I noticed a useful looking port tool here recently: > > /usr/ports/Tools/scripts/portsearch (path corrected) > Another simple way is to search the INDEX file directly: > > grep "^mozilla" /usr/ports/INDEX There is also a perl module as a port to find various things about a port... /usr/ports/textproc/p5-FreeBSD-Ports ...author's web page... http://people.freebsd.org/~tom/portpm/ Now to toot my own horn, solid steel perl wheel reinvented (version =>5.6 syntax that could be easily molded for use w/ version 5.005)... http://www103.pair.com/parv/comp/src/perl/parse-index.perl http://www103.pair.com/parv/comp/src/perl/parse-index.perl.pod Supporting module: http://www103.pair.com/parv/comp/src/perl/modules/Util.pm ...mind you that the path for the supporting module, Util.pm, needs to be manually adjusted in parse-index.perl. - Parv --