From owner-freebsd-questions Sun Jan 12 21: 9:36 2003 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 4D19837B40C for ; Sun, 12 Jan 2003 21:09:35 -0800 (PST) Received: from flamingo.mail.pas.earthlink.net (flamingo.mail.pas.earthlink.net [207.217.120.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3D2F43ED8 for ; Sun, 12 Jan 2003 21:09:29 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-035dcwashp0013.dialsprint.net ([65.179.104.13] helo=moo.holy.cow) by flamingo.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18Xwqm-0001Zb-00 for freebsd-questions@freebsd.org; Sun, 12 Jan 2003 21:09:29 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 2D365A351; Mon, 13 Jan 2003 00:12:21 -0500 (EST) Date: Mon, 13 Jan 2003 00:12:21 -0500 From: parv To: f-questions Subject: freebsd ports index (perl) searcher & browser Message-ID: <20030113051220.GA11503@moo.holy.cow> Mail-Followup-To: f-questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG if anybody is interested in a perl program which allows one to search & browse the ports index (w/o using make & going into the /usr/ports), the required parts are... description... http://www103.pair.com/parv/comp/src/perl/parse-index.perl.pod main program... http://www103.pair.com/parv/comp/src/perl/parse-index.perl module required (needs to be more thoroughly documented)... http://www103.pair.com/parv/comp/src/perl/modules/Util.pm ...you may need to edit the "push" line in "BEGIN" in "parse-index.perl"... BEGIN { # location where non-default modules live # ---- # change 'modules' to wherever you have stored above "Util.pm" # ---- push @INC, 'modules'; } use Util qw( check_hash max_length ); ...to reflect the location of above 'Util.pm'. (i know i need to automagic-ate this editing thing; as it is, it's lousy. working on it; please bear with me.) - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message