prj_u2 prj_capture pkg_major prj_sedarg1 's/^\([^.]*\)\.\([^.]*\)\.\([^.]*\)/\1/' "${spf_version?}" &&
prj_u2 prj_capture pkg_minor prj_sedarg1 's/^\([^.]*\)\.\([^.]*\)\.\([^.]*\)/\2/' "${spf_version?}" &&
prj_u2 prj_capture pkg_patch prj_sedarg1 's/^\([^.]*\)\.\([^.]*\)\.\([^.]*\)/\3/' "${spf_version?}" &&
spf_template code.dogmap.org:gnu &&
spf_cc_ nls &&
spf_url home 'http://www.vim.org' &&
spf_url watch 'ftp://ftp.vim.org/pub/vim/unix/' &&
spf_url src "ftp://ftp.vim.org/pub/vim/unix/vim-${pkg_major?}.${pkg_minor?}.tar.bz2" &&
case "${spf_version?}" in
  7.[12].*)
    spf_url src_add "ftp://ftp.vim.org/pub/vim/extra/vim-${pkg_major?}.${pkg_minor?}-extra.tar.gz" &&
    spf_url src_add "ftp://ftp.vim.org/pub/vim/extra/vim-${pkg_major?}.${pkg_minor?}-lang.tar.gz" ;;
  *) ;;
esac &&
for pkg_patch_seq in `seq -f '%03.0f' 1 "${pkg_patch?}"`; do
spf_url src_add "ftp://ftp.vim.org/pub/vim/patches/${pkg_major?}.${pkg_minor?}/${pkg_major?}.${pkg_minor?}.${pkg_patch_seq?}" dir vim"${pkg_major?}${pkg_minor?}" fmt patch args 0
done &&
spf_srcdir vim"${pkg_major?}${pkg_minor?}" &&
spf_template_gnu_do_check() {
  make test
} &&
spf_depend code.dogmap.org:ncurses &&
spf_tested_version 7.3.502 &&
spf_tested_version 7.3.069 &&
spf_tested_version 7.2.446 &&
spf_tested_version 7.2.196 &&
spf_tested_version 7.2.148 &&
spf_tested_version 7.2.088 &&
spf_tested_version 7.2.065 &&
spf_tested_version 7.2.022 &&
spf_tested_version 7.1.298 &&
spf_tested_version 7.1.138

