Under dev-libs there is a framework called "xcode" build that and install, then build "buildtool" located under dev-apps. buildtool is a replacement for pbxbuild which directly interprets the xcodeproj file instead of clumsily trying to convert it into makefiles. Let me know if you have any success with this.
To directly answer your question, there is no set way to do this. It always depends on what your application/tool/framework/etc requires. Typically there are missing components (such as Core* frameworks and etc) but I don't believe that's a problem in your case.
Greg
P.S. pbxbuild as it is currently is unofficially deprecated. You should certainly try buildtool.