Building the README.html's (was Re: Building the INDEX)
Michel Talon
talon at lpthe.jussieu.fr
Thu Nov 2 16:00:45 UTC 2006
> 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.
--
Michel TALON
More information about the freebsd-ports
mailing list