This is a proper patch containing the changes I have been making to make KDevelop behave better in a situation where it is installed into a non-standard parallel prefix. In my case this concerns /opt/local as used by MacPorts but I think the changes could be useful elsewhere too.
The patch adds a preference for the cmake utility and the manpages from the install prefix, and replaces the hardcoded python interpreter specification with the more usual /usr/bin/env python line.