git: af9049902e8f - main - editors/vim-colorschemes-legacy: Remove RUN_DEPENDS, change install dir
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Sep 2022 20:38:40 UTC
The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=af9049902e8fc3ba8ada24538a012e3f88f1aa79 commit af9049902e8fc3ba8ada24538a012e3f88f1aa79 Author: Michael Osipov <michael.osipov@siemens.com> AuthorDate: 2022-09-06 20:34:11 +0000 Commit: Adam Weinberger <adamw@FreeBSD.org> CommitDate: 2022-09-06 20:34:11 +0000 editors/vim-colorschemes-legacy: Remove RUN_DEPENDS, change install dir As noted by cy, setting RUN_DEPENDS=vim means that any other vim flavor gets uninstalled when this port is installed. Nothing in this port actually depends on Vim at all; it should work equally well for Neovim or any Vim flavor. It makes most sense to just drop the RUN_DEPENDS altogether. While here, change the install dir to PREFIX/share/vim/vimfiles. The previous dir, .../vim/vim90, is the private runtime library, and vimfiles has over time become the site extension to the runtime library. --- editors/vim-colorschemes-legacy/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/editors/vim-colorschemes-legacy/Makefile b/editors/vim-colorschemes-legacy/Makefile index b5c1ad467ada..6a30cbe016b3 100644 --- a/editors/vim-colorschemes-legacy/Makefile +++ b/editors/vim-colorschemes-legacy/Makefile @@ -1,5 +1,6 @@ PORTNAME= vim-colorschemes-legacy DISTVERSION= g20220816 +PORTREVISION= 1 CATEGORIES= editors MAINTAINER= michael.osipov@siemens.com @@ -10,8 +11,6 @@ LICENSE_NAME= VIM License LICENSE_FILE= ${FILESDIR}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept -RUN_DEPENDS= vim:editors/vim - USE_GITHUB= yes GH_ACCOUNT= vim GH_PROJECT= colorschemes @@ -20,8 +19,7 @@ GH_TAGNAME= 38384b9d9cd24028094e5c9a6ebd1a9950426a4a NO_BUILD= yes NO_ARCH= yes -VIMRUNTIME!= make -C "${.CURDIR}/../vim" -V '$${DATADIR}/$${VIM_VER}' -DATADIR:= ${VIMRUNTIME}/colors/legacy +DATADIR= ${PREFIX}/share/vim/vimfiles/colors/legacy WRKSRC_SUBDIR= legacy_colors post-extract: