xref: /freebsd/contrib/less/FREEBSD-upgrade (revision 1670a1c2a47d10ecccd001970b859caf93cd3b6e)
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. Checkout $FSVN/vendor/less/ into less/
6 3. Extract new code to, say, less/lessv429
7 4. cd less/dist
8 5. svn list -R | grep -v '/$' | sort >../old
9 6. cd ../lessv429
10 7. find . -type f | cut -c 3- | sort >../new
11 8. tar cf - . | tar xf - -C ../dist
12 9. cd ../dist
1310. comm -23 ../old ../new | xargs svn rm
1411. comm -13 ../old ../new | xargs svn add
1512. Check svn status output and make sure that all changes are appropriate.
1613. Commit and tag the result.
1714. Resolve any conflicts that happen in head/contrib/less.
1815. Regenerate defines.h:
19	./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin \
20		    --libexecdir=/usr/libexec --datarootdir=/usr/share
2116. Manually merge changes into src/usr.bin/less/defines.h; adjust
22    Makefile glue to reflect added/removed files.
2317. Replace your src/contrib/less with the merged copy, and do a ``make
24    universe'' to make sure that nothing was broken;
2518. Commit the result.
26
27delphij@FreeBSD.org - May 08, 2009
28