From owner-freebsd-ports Fri Mar 31 23: 1:28 2000 Delivered-To: freebsd-ports@freebsd.org Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by hub.freebsd.org (Postfix) with ESMTP id BCD6437BA96; Fri, 31 Mar 2000 23:01:22 -0800 (PST) (envelope-from gmarco@scotty.masternet.it) Received: from suzy.scotty.masternet.it (modem07.masternet.it [194.184.65.17]) by scotty.masternet.it (8.9.3/8.9.3) with ESMTP id JAA92435; Sat, 1 Apr 2000 09:01:17 +0200 (CEST) (envelope-from gmarco@scotty.masternet.it) Message-Id: <4.3.1.2.20000401083552.01c62200@scotty.masternet.it> X-Sender: gmarco@scotty.masternet.it X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Sat, 01 Apr 2000 08:56:01 +0200 To: Will Andrews , Tom Hukins From: Gianmarco Giovannelli Subject: Re: Ports INDEX Perl Module Cc: doc@FreeBSD.ORG, FreeBSD Ports In-Reply-To: <20000328121828.C8138@argon.blackdawn.com> References: <20000327225344.B6216@eborcom.com> <20000327225344.B6216@eborcom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 28/03/00, Will Andrews wrote: >On Mon, Mar 27, 2000 at 10:53:44PM +0100, Tom Hukins wrote: > > I've finally got round to putting together version 0.02 of my Ports > > INDEX parsing Perl modules . > > > > The modules allow programmers to obtain information about the ports > > collection quickly and easily. For examples see the Web page, or > > view the modules' documentation using perldoc(1). > > > > The modules are installed using Perl's standard "perl Makefile.PL && > > make all test install". > > > > Unless anyone complains, I'll update > > to link to > > the page above. > > > > Please contact me if you have any queries or suggestions regarding > > these modules. > >Soo.. going to make a p5-Ports port or should I? :-) Please commit this... :-) I was tired of generating the readme.html files to browse our port src tree so I have wrote a little proggie to browse it in perl (via web) on the fly. You can see it at : http://www.gufi.org/~gmarco/ports/ Now I think I can simplify a lot it by using this module :-) What about to add functions like : isinstalled(), versioninstalled(), daysmodified() and so on ? In the mean time I'll download the version 0.02 If you want to give a look at my code (badly written indeed :-) you can download at: http://www.gufi.org/~gmarco/ports.tgz It has some bugs in parsing macro-names but it works quite fine :-) Thanks for attention. Best Regards, Gianmarco Giovannelli , "Unix expert since yesterday" http://www.giovannelli.it/~gmarco http://www2.masternet.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message