MFH: r357969

- Fix build with clang (include <wait.h> -> <sys/wait.h>)
- Add staging support
- Convert to new options framework, USES=tk

Approved by:	portmgr (swills)
Make sysutils/pstree operable in jailed environment.