PORTNAME= neovim-gtk DISTVERSIONPREFIX= v DISTVERSION= 1.0.4 PORTREVISION= 1 CATEGORIES= editors MAINTAINER= asomers@FreeBSD.org COMMENT= Neovim client library and GTK4 GUI WWW= https://github.com/Lyude/neovim-gtk LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgraphene-1.0.so:graphics/graphene RUN_DEPENDS= neovim>=0:editors/neovim USES= cargo pkgconfig gnome desktop-file-utils USE_GNOME= atk pango gtk40 glib20 USE_GITHUB= yes GH_ACCOUNT= Lyude post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/nvim-gtk ( cd ${WRKSRC} && ${COPYTREE_SHARE} runtime ${STAGEDIR}${PREFIX}/share/nvim-gtk ) ${MKDIR} ${STAGEDIR}${PREFIX}/share/applications ${SED} -e "s|Exec=nvim-gtk|Exec=${PREFIX}/bin/nvim-gtk|" ${WRKSRC}/desktop/org.daa.NeovimGtk.desktop >${STAGEDIR}${PREFIX}/share/applications/org.daa.NeovimGtk.desktop ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/ ${INSTALL_DATA} ${WRKSRC}/desktop/org.daa.NeovimGtk_128.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/128x128/apps/org.daa.NeovimGtk.png ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/ ${INSTALL_DATA} ${WRKSRC}/desktop/org.daa.NeovimGtk_48.png ${STAGEDIR}${PREFIX}/share/icons/hicolor/48x48/apps/org.daa.NeovimGtk.png ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ ${INSTALL_DATA} ${WRKSRC}/desktop/org.daa.NeovimGtk.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/ ${INSTALL_DATA} ${WRKSRC}/desktop/org.daa.NeovimGtk-symbolic.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/symbolic/apps/ .include