aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Osipov <michael.osipov@siemens.com>2022-09-06 20:34:11 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2022-09-06 20:34:11 +0000
commitaf9049902e8fc3ba8ada24538a012e3f88f1aa79 (patch)
tree888a0fad8cb283ed57582c95526eae2cb596320c
parent2da176f88f7d944fbcd314284b65ebd19699bf58 (diff)
downloadports-af9049902e8fc3ba8ada24538a012e3f88f1aa79.tar.gz
ports-af9049902e8fc3ba8ada24538a012e3f88f1aa79.zip
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.
-rw-r--r--editors/vim-colorschemes-legacy/Makefile6
1 files 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: