From owner-freebsd-ports@FreeBSD.ORG Fri Nov 3 11:41:10 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C0CF16A403 for ; Fri, 3 Nov 2006 11:41:10 +0000 (UTC) (envelope-from swordsman@csjewell.fastmail.us) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id C727243D58 for ; Fri, 3 Nov 2006 11:41:09 +0000 (GMT) (envelope-from swordsman@csjewell.fastmail.us) Received: from db2.internal (db2.internal [10.202.2.12]) by frontend1.messagingengine.com (Postfix) with ESMTP id A253ADC03C6; Fri, 3 Nov 2006 06:41:08 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by db2.internal (MEProxy); Fri, 03 Nov 2006 06:41:10 -0500 X-Sasl-enc: ebzJScOTpWSeP1aU3bK8BTqPuNQDIb7wHEoSLAmRWAdc 1162554069 Received: from [192.168.55.4] (230M12.oasis.mediatti.net [210.233.205.230]) by www.fastmail.fm (Postfix) with ESMTP id B232313ED7; Fri, 3 Nov 2006 06:41:08 -0500 (EST) Date: Fri, 3 Nov 2006 20:40:59 +0900 (JST) From: Curtis Jewell To: Michel Talon In-Reply-To: <20061102155934.GA64597@lpthe.jussieu.fr> Message-ID: <20061103202506.V9597@lap.curtisjewell.boldlygoingnowhere.org> References: <20061102155934.GA64597@lpthe.jussieu.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org Subject: Re: Building the README.html's (was Re: Building the INDEX) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 11:41:10 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 2 Nov 2006, Michel Talon wrote: >> Speaking of "make index", I do a "make >> TEMPLATES=/root/.update-ports/templates/ readmes" at the top level >> (/usr/ports) and the perl program doesn't respect the TEMPLATES dir... the >> top level and the categories use the template, the individual ports do >> not. > > By the way, what do you think of the idea, instead of polluting the > ports tree with README.html everywhere, to have a simple script which > dynamically computes the page you want to look? All the information is > in the INDEX file, hence can be extracted instantaneously. It's only a > question of having pretty templates to show something nice, and a simple > http server. For example i know this is trivial to do with python > BaseHTTPServer, but it should be as trivial with perl or other similar > tool. I *like* that idea... should such a script be in the ports tree as a port? I'll write it (in perl, it's what I happen to know and write in) if it's wanted. (I actually hook my ports tree into Apache at the moment for that http server, but I have Apache up for other purposes, anyway - see the site in my signature.) (Not that we shouldn't fix what's there. As long as we're providing it, we should fix the bugs. I'm testing my patches now. They're a +1 -1 patch to Mk/bsd.port.subdir.mk and a +2 -1 patch to Tools/make_readmes, by the way) - -- Curtis Jewell https://lap.curtisjewell.boldlygoingnowhere.org/ swordsman@csjewell.fastmail.us "Killed enough? ... Yes, Your Highness, I think we all have." --John Patrick Ryan (from 'The Sum Of All Fears', Tom Clancy) [I use Pine, which deliberately does not display colors and pictures in HTML mail] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFSyrLvCi+150VKIMRAqZdAJ9ozd42epZCV8yfHJHBlytc5oFBpwCfccrl o161+dxwuqlegxYQjVOUgWA= =YS4D -----END PGP SIGNATURE-----