[Bug 283220] sysutils/vimpager: Update version and add flavor, adopt port

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 09 Jan 2025 16:09:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283220

Yusuf Yaman <nxjoseph@protonmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #256582|0                           |1
        is obsolete|                            |

--- Comment #15 from Yusuf Yaman <nxjoseph@protonmail.com> ---
Created attachment 256584
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=256584&action=edit
sysutils/vimpager.patch: Update to 20241028, Add flavor support to enable
compatibility with editors/vim flavors, Pet port{fmt,lint,clipy}

fixed stage-qa errors.

diff --git a/sysutils/vimpager/Makefile b/sysutils/vimpager/Makefile
index 2e5dfae627ba..1235cbc210da 100644
--- a/sysutils/vimpager/Makefile
+++ b/sysutils/vimpager/Makefile
@@ -30,6 +30,12 @@ LICENSE_FILE=        ${WRKSRC}/LICENSE
 FLAVORS=       console gtk2 gtk3 motif tiny x11
 FLAVOR?=       ${FLAVORS:[1]}

+gtk2_PKGNAMESUFFIX=    -gtk2
+gtk3_PKGNAMESUFFIX=    -gtk3
+motif_PKGNAMESUFFIX=   -motif
+tiny_PKGNAMESUFFIX=    -tiny
+x11_PKGNAMESUFFIX=     -x11
+
 USES=          gmake
 USE_GITHUB=    yes
 GH_ACCOUNT=    rkitover
@@ -57,15 +63,10 @@ NEOVIM_RUN_DEPENDS= ${LOCALBASE}/bin/nvim:editors/neovim

 .if ${PORT_OPTIONS:MVIM}
 console_RUN_DEPENDS=   ${LOCALBASE}/bin/vim:editors/vim@console
-gtk2_PKGNAMESUFFIX=    -gtk2
 gtk2_RUN_DEPENDS=      ${LOCALBASE}/bin/vim:editors/vim@gtk2
-gtk3_PKGNAMESUFFIX=    -gtk3
 gtk3_RUN_DEPENDS=      ${LOCALBASE}/bin/vim:editors/vim@gtk3
-motif_PKGNAMESUFFIX=   -motif
 motif_RUN_DEPENDS=     ${LOCALBASE}/bin/vim:editors/vim@motif
-tiny_PKGNAMESUFFIX=    -tiny
 tiny_RUN_DEPENDS=      ${LOCALBASE}/bin/vim:editors/vim@tiny
-x11_PKGNAMESUFFIX=     -x11
 x11_RUN_DEPENDS=       ${LOCALBASE}/bin/vim:editors/vim@x11
 .endif

-- 
You are receiving this mail because:
You are the assignee for the bug.