xref: /freebsd/contrib/less/FREEBSD-upgrade (revision 1669d8afc64812c8d2d1d147ae1fd42ff441e1b1)
1$FreeBSD$
2
3 1. Download latest less(1) tarball.  The homepage of less(1) is at:
4	http://www.greenwoodsoftware.com/less/
5 2. Export the tarball into a directory, (say "v-less").
6 3. Checkout our contrib/less code into another directory (say "f-less"),
7    with -rLESS.
8 4. Copy v-less/ files over f-less, check if there is any files that is
9    removed by vendor, or newly added, note them.
10 5. do cvs up -A in f-less, resolve the conflicts.
11 6. Regenerate defines.h:
12	./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin \
13		    --libexecdir=/usr/libexec --datarootdir=/usr/share
14 7. Manually merge changes into src/usr.bin/less/defines.h; adjust
15    Makefile glue to reflect added/removed files.
16 8. Replace your src/contrib/less with the merged copy, and do a ``make
17    universe'' to make sure that nothing was broken;
18 9. If everything goes well, do the actual import from v-less:
19	cvs -n import src/contrib/less LESS v<version>
20    Seems everything is fine?  Go with:
21	cvs import src/contrib/less LESS v<version>
2210. Resolve the conflicts with the patchset found in step 5.
23
24delphij@FreeBSD.org - Nov 13th, 2007
25