vim62 port does not install

Sergey Matveychuk sem at ciam.ru
Fri Jun 6 19:16:23 PDT 2003


Hello!

When I'v tried to install I'v got this message:
-----
....
install -o root -g wheel -m 444 
/usr/ports/editors/vim/files/vietnamese_viscii.vim 
/usr/local/share/vim/vim6/keymap
install: /usr/local/share/vim/vim6/keymap: No such file or directory
*** Error code 71
-----

Directory must be /usr/local/share/vim/vim62/keymap really.
I think, you twice try to cutoff PATCHLEVEL from PORTVERSION.
Here:
DISTNAME=	vim-${PORTVERSION}:C/\.[0-9]*$//}
And here:
_DATADIR=	${DISTNAME:C/.[0-9]*$//:S/-//g:S/.//g}

Change last line to:
_DATADIR=	${DISTNAME:S/-//g:S/.//g}

Fixes it.

----
Sem.



More information about the freebsd-ports mailing list