FREEBSD-upgrade revision 173589
1173589Sdelphij$FreeBSD: head/contrib/less/FREEBSD-upgrade 173589 2007-11-13 18:54:35Z delphij $
2173589Sdelphij
3173589Sdelphij 1. Download latest less(1) tarball.  The homepage of less(1) is at:
4173589Sdelphij	http://www.greenwoodsoftware.com/less/
5173589Sdelphij 2. Export the tarball into a directory, (say "v-less").
6173589Sdelphij 3. Checkout our contrib/less code into another directory (say "f-less"),
7173589Sdelphij    with -rLESS.
8173589Sdelphij 4. Copy v-less/ files over f-less, check if there is any files that is
9173589Sdelphij    removed by vendor, or newly added, note them.
10173589Sdelphij 5. do cvs up -A in f-less, resolve the conflicts.
11173589Sdelphij 6. Regenerate defines.h:
12173589Sdelphij	./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin \
13173589Sdelphij		    --libexecdir=/usr/libexec --datarootdir=/usr/share
14173589Sdelphij 7. Manually merge changes into src/usr.bin/less/defines.h; adjust
15173589Sdelphij    Makefile glue to reflect added/removed files.
16173589Sdelphij 8. Replace your src/contrib/less with the merged copy, and do a ``make
17173589Sdelphij    universe'' to make sure that nothing was broken;
18173589Sdelphij 9. If everything goes well, do the actual import from v-less:
19173589Sdelphij	cvs -n import src/contrib/less LESS v<version>
20173589Sdelphij    Seems everything is fine?  Go with:
21173589Sdelphij	cvs import src/contrib/less LESS v<version>
22173589Sdelphij10. Resolve the conflicts with the patchset found in step 5.
23173589Sdelphij
24173589Sdelphijdelphij@FreeBSD.org - Nov 13th, 2007
25