Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jan 2003 00:12:21 -0500
From:      parv <parv_fm@emailgroups.net>
To:        f-questions <freebsd-questions@freebsd.org>
Subject:   freebsd ports index (perl) searcher & browser
Message-ID:  <20030113051220.GA11503@moo.holy.cow>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030113051220.GA11503>