From owner-freebsd-ports Fri Mar 29 03:05:16 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA04961 for ports-outgoing; Fri, 29 Mar 1996 03:05:16 -0800 (PST) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA04942 for ; Fri, 29 Mar 1996 03:05:06 -0800 (PST) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.5/8.6.9) id DAA28420; Fri, 29 Mar 1996 03:05:04 -0800 (PST) Date: Fri, 29 Mar 1996 03:05:04 -0800 (PST) Message-Id: <199603291105.DAA28420@silvia.HIP.Berkeley.EDU> To: ports@freebsd.org Subject: Proposal 6 (aha): README in ports directories From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-ports@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I hacked up some stuff for generating READMEs in port directories. You should extract the tarball (which is also in my freefall home dir, in case you lost the second half of this mail) in /usr/ports. That will create a subdirectory "templates". There is a patch in there that applies to the -current /usr/share/mk to modify bsd.port[.subdir].mk. It doesn't support the toplevel (i.e., /usr/ports) yet (I'm sleepy you know). You will need to create files pkg/COMMENT and pkg/DESCR in a subdirectory (e.g., "games", "x11"), and type "make readmes" in there. That will create a file "README.html" in that directory as well as all the individual ports in that category. Use your web browser of your choice to look at them, I'm only using relative paths so you should be able to use "file:" and be able to go up and down (of course, we are eventually going to put them up on our web site). I verified that they look ok with at least chimera, lynx and netscape (in fact, the ".html" suffix is to make chimera happy). Of course, the text in the templates are going to have to change a lot (this is just a framework). I considered trying to make it as plaintext as possible, limiting the html tags to the beginning/end of the document, but it just doesn't make sense to do the subdirectory listing without using full html. At least the individual ports' README.html's are quite cat-readable. Also, I didn't want to include the text from pkg/DESCRs because some of them are quite huge. Using html solves this by making it easy for the user to jump in there (as opposed to, for example, reading the file with "cat"). Any comments welcome. Satoshi ------- begin 644 ports-readme.tar.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