Date: Thu, 2 Sep 2021 06:56:28 +0000 From: Alexey Dokuchaev <danfe@freebsd.org> To: Adam Weinberger <adamw@freebsd.org> Cc: ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: 620f205539a4 - main - editors/vim: Flavorize and update to 8.2.3394 Message-ID: <YTB1nEn56ZEFZ7Cm@FreeBSD.org> In-Reply-To: <202109020646.1826kZbY033118@gitrepo.freebsd.org> References: <202109020646.1826kZbY033118@gitrepo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 02, 2021 at 06:46:35AM +0000, Adam Weinberger wrote: > commit 620f205539a43fd8da97750d33eebdfc1e133330 > > editors/vim: Flavorize and update to 8.2.3394 > > This commit completely rewires the vim ports. It includes the following: > > * `vim' is now a TUI-only package. It is what the `vim-console' port > was. > > * `vim-gtk3' includes the TUI binary (vim) and a GTk3-backed GUI. It is > what the `vim' port was. > > * Each GUI toolkit has a separate package. There is vim-gtk3, -gtk2, > -motif, -athena, and -x11. Neat! > +# Flavors {{{1 Are these `{{{1' kind of markers for easy search+jump, or they have some deeper meaning? > +# FLAVORS are used to build various Vim GUIs. The default flavor (`vim') is > +# console-only. > +FLAVORS= console athena gtk2 gtk3 motif x11 tiny > + > +# GUI flavors > +.if ${FLAVOR:U} == console > +GUI= no > +PLIST_SUB+= GUI="@comment " DESKTOP="@comment " > +CONFLICTS_INSTALL= vim-athena vim-gtk2 vim-gtk3 vim-motif vim-tiny vim-x11 Hmm, perhaps CONFLICTS_INSTALL=${FLAVORS:N${FLAVOR}:S/^/vim-/} would be less error-prone? ./danfe
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTB1nEn56ZEFZ7Cm>