Just set up my Powerbook with a virgin Leopard OS, installed fresh Macports and tried to compile Vim. That does install all the dependencies fine, but has errors compiling vim itself:
:info:build In file included from vim.h:283, :info:build from alloc.c:14: :info:build os_mac.h:273:32: error: dispatch/dispatch.h: No such file or directory As this file seems to be included with only Xcode versions for OS' starting with Snow Leopard, I suspect that installing MacOSX10.6.sdk could solve that - if it installs on 10.5 at all (still runing through the deps, so I can't tell for now). In case it does, it should maybe belong to the dependencies of vim, in case it doesn't, there seems to be no way to install a recent vim version, so is there any previous version one can install?