git: 620f205539a4 - main - editors/vim: Flavorize and update to 8.2.3394
Alexey Dokuchaev
danfe at freebsd.org
Thu Sep 2 06:56:28 UTC 2021
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
More information about the dev-commits-ports-all
mailing list