editors/vim fails to install/register

From: Janos Dohanics <web_at_3dresearch.com>
Date: Fri, 03 Sep 2021 05:45:02 UTC
Hello,

Tried to upgrade editors/vim-console, noted the change in UPDATING.
However, the update failed with the errors shown below. Then, unwisely
deleted the package, and tried to install from ports anew, but same
error message.

[root@turtle ~]# uname -v
FreeBSD 12.2-STABLE r370465 TURTLE2021090201 

[root@turtle /usr/ports/editors/vim]# make showconfig
===> The following configuration options are available for vim-8.2.3394:
     DEFAULT_VIMRC=on: Install bundled vimrc as default setting
     MAKE_JOBS=off: Enable parallel build
     NLS=on: Native Language Support
     XTERM_SAVE=off: Restore xterm screen after exit
====> Optional language bindings
     LUA=off: Lua scripting language support
     PERL=off: Perl scripting language support
     PYTHON=on: Python bindings or support
     RUBY=off: Ruby bindings or support
     SCHEME=off: MzScheme (Racket) bindings
     TCL=off: Tcl scripting language support
====> Options available for the single CTAGS: you have to select exactly one of them
     CTAGS_BASE=on: Use system ctags
     CTAGS_EXUBERANT=off: Use exctags instead of ctags
     CTAGS_UNIVERSAL=off: Use uctags instead of ctags
===> Use 'make config' to modify these settings

[root@turtle /usr/ports/editors/vim]# make install clean
===>  Installing for vim-8.2.3394
===>  Checking if vim is already installed
===>   Registering installation for vim-8.2.3394
pkg-static: Unable to access file /usr/ports/editors/vim/work-console/stage/usr/local/%%GUI%%bin/eview:No such file or directory
pkg-static: Unable to access file /usr/ports/editors/vim/work-console/stage/usr/local/%%GUI%%bin/gview:No such file or directory

[...many more lines looking for %%GUI%%bin]

pkg-static: Unable to access file /usr/ports/editors/vim/work-console/stage/usr/local/%%DESKTOP%%share/applications/gvim.desktop:No such file or directory
pkg-static: Unable to access file /usr/ports/editors/vim/work-console/stage/usr/local/%%DESKTOP%%share/applications/vim.desktop:No such file or directory
pkg-static: Unable to access file /usr/ports/editors/vim/work-console/stage/usr/local/%%DESKTOP%%share/icons/hicolor/48x48/apps/gvim.png:No such file or directory
pkg-static: Unable to access file /usr/ports/editors/vim/work-console/stage/usr/local/%%DESKTOP%%share/icons/locolor/16x16/apps/gvim.png:No such file or directory
pkg-static: Unable to access file /usr/ports/editors/vim/work-console/stage/usr/local/%%DESKTOP%%share/icons/locolor/32x32/apps/gvim.png:No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/editors/vim
*** Error code 1

Stop.
make: stopped in /usr/ports/editors/vim

-- 
Janos Dohanics