-----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/
[EMAIL PROTECTED]

"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-----
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to