Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Mar 1996 03:05:04 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        ports@freebsd.org
Subject:   Proposal 6 (aha): README in ports directories
Message-ID:  <199603291105.DAA28420@silvia.HIP.Berkeley.EDU>

next in thread | raw e-mail | index | archive | help
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.gz
M'XL(`-N_6S$"`^U:;5/C1A(V^PW]BHX.RA!CR9+\LKB,`]A>EF(-E&V22V43
M$-88*]B2HI%)40OWVZ]G]&ICS%6NUE>7G:=<2)[IGNEY>:9[V@1DZDW,@%`U
M]]4`Y5*M4H$<:'K5,/#)4(J>T1>H8F7-J%7+!H"FE74C!Y7<&C"C@>D#Y$QJ
M3NT5<G^."9GD_G8(DO7O=8[:W<[7Z$,KE:KE\L*Z9]:_4C&2]:]IN!<T73-*
M.2BM<_U]UPURW][Z#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