xref: /freebsd/contrib/less/FREEBSD-upgrade (revision c57c26179033f64c2011a2d2a904ee3fa62e826a)
1 1. Download latest less(1) tarball.  The homepage of less(1) is at:
2	http://www.greenwoodsoftware.com/less/
3 2. Checkout $FSVN/vendor/less/ into less/
4 3. Extract new code to, say, less/lessv429
5 4. cd less/dist
6 5. svn list -R | grep -v '/$' | sort >../old
7 6. cd ../lessv429
8 7. find . -type f | cut -c 3- | sort >../new
9 8. tar cf - . | tar xf - -C ../dist
10 9. cd ../dist
1110. comm -23 ../old ../new | xargs svn rm
1211. comm -13 ../old ../new | xargs svn add
1312. Check svn status output and make sure that all changes are appropriate.
1413. Commit and tag the result.
1514. Resolve any conflicts that happen in head/contrib/less.
1615. Regenerate defines.h:
17	./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin \
18		    --libexecdir=/usr/libexec --datarootdir=/usr/share
1916. Manually merge changes into src/usr.bin/less/defines.h; adjust
20    Makefile glue to reflect added/removed files.
2117. Replace your src/contrib/less with the merged copy, and do a ``make
22    universe'' to make sure that nothing was broken;
2318. Commit the result.
24
25delphij@FreeBSD.org - May 08, 2009
26