Another good place to look, in the absence of much documentation on building from source, is a SlackBuild, especially the script. I don't suggest that because I'm a Slacker but because SlackBuild scripts are:
- Easy to download (search for a package on slackbuilds.org), scroll down to "Individual files" and click on the *.SlackBuild link)
- Minimal so a) relatively easy to understand and b) address the essentials.
For completeness you might like to find a SlackBuild with a doinst.sh -- run during package installation, typically to install config files without clobbering any existing ones and to update caches.
Incidentally, you may also like to run makewhatis -w
to rebuild the man pages database after building and installing from source.