Date: Sat, 9 Jul 2022 18:18:53 GMT From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 6b26932544c5 - main - editors/lite: the port had been improved (part one) Message-ID: <202207091818.269IIr0X067344@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=6b26932544c5716fa1a511c6fa21a3137e23fada commit 6b26932544c5716fa1a511c6fa21a3137e23fada Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-07-09 18:18:18 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-07-09 18:18:18 +0000 editors/lite: the port had been improved (part one) - Pull the patch from GitHub which reduces idle CPU usage - Install extra color schemes and syntax highlight plugins --- editors/lite/Makefile | 9 +++++++- editors/lite/distinfo | 6 +++++ editors/lite/files/makefile | 2 +- editors/lite/pkg-plist | 54 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 2 deletions(-) diff --git a/editors/lite/Makefile b/editors/lite/Makefile index b5fe9d81aa3d..a8dd5403cbc2 100644 --- a/editors/lite/Makefile +++ b/editors/lite/Makefile @@ -8,6 +8,9 @@ PKGNAMESUFFIX= -editor # PORTNAME alone is too vague MAINTAINER= danfe@FreeBSD.org COMMENT= Lightweight text editor written mostly in Lua +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= a38b89ca26dde1353cf1.patch:-p1 + LICENSE= MIT USES= gmake lua pkgconfig sdl @@ -15,7 +18,8 @@ USE_SDL= sdl2 USE_GITHUB= yes GH_ACCOUNT= rxi -GH_TAGNAME= 38bd9b3 +GH_PROJECT= ${PORTNAME}-colors:colors ${PORTNAME}-plugins:plugins +GH_TAGNAME= 38bd9b3 5b77292:colors 4a9e1f3:plugins BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= ${FILESDIR}/makefile @@ -38,6 +42,9 @@ do-install: ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin ${CP} -a ${WRKSRC}/data ${STAGEDIR}${DATADIR} + ${CP} -a ${WRKSRC_colors}/colors ${STAGEDIR}${DATADIR}/user + ${MV} ${WRKSRC_plugins}/plugins/language_*.lua \ + ${STAGEDIR}${DATADIR}/plugins do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/editors/lite/distinfo b/editors/lite/distinfo index f7e67df7767a..5c157050ee24 100644 --- a/editors/lite/distinfo +++ b/editors/lite/distinfo @@ -1,3 +1,9 @@ TIMESTAMP = 1610208177 SHA256 (rxi-lite-1.11-38bd9b3_GH0.tar.gz) = 63b0f22eb90f38564736f56d4d0f51f7219fcb7fe6398018e3435a62badd10d9 SIZE (rxi-lite-1.11-38bd9b3_GH0.tar.gz) = 10707650 +SHA256 (rxi-lite-colors-5b77292_GH0.tar.gz) = 0ad9074b0d9128924f6210808852b1412eae6310e43600978502b512059c2dc4 +SIZE (rxi-lite-colors-5b77292_GH0.tar.gz) = 5337 +SHA256 (rxi-lite-plugins-4a9e1f3_GH0.tar.gz) = cada6be45b11e1d5f70d2bbeac6e9a103e4285ef23f00236a9116718941b92db +SIZE (rxi-lite-plugins-4a9e1f3_GH0.tar.gz) = 41736 +SHA256 (a38b89ca26dde1353cf1.patch) = d0403b01d38daaa71228c83c39c50dcf541a46c207334c10d90b1646120f71a6 +SIZE (a38b89ca26dde1353cf1.patch) = 1895 diff --git a/editors/lite/files/makefile b/editors/lite/files/makefile index 5274d363e360..241bb5d2240a 100644 --- a/editors/lite/files/makefile +++ b/editors/lite/files/makefile @@ -22,4 +22,4 @@ lite: $(lite_OBJS) all: lite -.PHONY: all install +.PHONY: all diff --git a/editors/lite/pkg-plist b/editors/lite/pkg-plist index e3028f0a1938..e4b7eac16d10 100644 --- a/editors/lite/pkg-plist +++ b/editors/lite/pkg-plist @@ -29,12 +29,47 @@ bin/lite %%DATADIR%%/fonts/monospace.ttf %%DATADIR%%/plugins/autocomplete.lua %%DATADIR%%/plugins/autoreload.lua +%%DATADIR%%/plugins/language_angelscript.lua +%%DATADIR%%/plugins/language_batch.lua %%DATADIR%%/plugins/language_c.lua +%%DATADIR%%/plugins/language_cmake.lua +%%DATADIR%%/plugins/language_cpp.lua +%%DATADIR%%/plugins/language_csharp.lua %%DATADIR%%/plugins/language_css.lua +%%DATADIR%%/plugins/language_d.lua +%%DATADIR%%/plugins/language_dart.lua +%%DATADIR%%/plugins/language_elixir.lua +%%DATADIR%%/plugins/language_elm.lua +%%DATADIR%%/plugins/language_fe.lua +%%DATADIR%%/plugins/language_fennel.lua +%%DATADIR%%/plugins/language_gdscript.lua +%%DATADIR%%/plugins/language_glsl.lua +%%DATADIR%%/plugins/language_go.lua +%%DATADIR%%/plugins/language_hlsl.lua +%%DATADIR%%/plugins/language_hs.lua +%%DATADIR%%/plugins/language_java.lua +%%DATADIR%%/plugins/language_jiyu.lua %%DATADIR%%/plugins/language_js.lua %%DATADIR%%/plugins/language_lua.lua +%%DATADIR%%/plugins/language_make.lua %%DATADIR%%/plugins/language_md.lua +%%DATADIR%%/plugins/language_meson.lua +%%DATADIR%%/plugins/language_moon.lua +%%DATADIR%%/plugins/language_nginx.lua +%%DATADIR%%/plugins/language_nim.lua +%%DATADIR%%/plugins/language_objc.lua +%%DATADIR%%/plugins/language_odin.lua +%%DATADIR%%/plugins/language_php.lua +%%DATADIR%%/plugins/language_pico8.lua +%%DATADIR%%/plugins/language_powershell.lua +%%DATADIR%%/plugins/language_psql.lua %%DATADIR%%/plugins/language_python.lua +%%DATADIR%%/plugins/language_rust.lua +%%DATADIR%%/plugins/language_sh.lua +%%DATADIR%%/plugins/language_teal.lua +%%DATADIR%%/plugins/language_tex.lua +%%DATADIR%%/plugins/language_ts.lua +%%DATADIR%%/plugins/language_wren.lua %%DATADIR%%/plugins/language_xml.lua %%DATADIR%%/plugins/macro.lua %%DATADIR%%/plugins/projectsearch.lua @@ -43,6 +78,25 @@ bin/lite %%DATADIR%%/plugins/tabularize.lua %%DATADIR%%/plugins/treeview.lua %%DATADIR%%/plugins/trimwhitespace.lua +%%DATADIR%%/user/colors/abyss.lua +%%DATADIR%%/user/colors/cold_lime.lua +%%DATADIR%%/user/colors/dracula.lua +%%DATADIR%%/user/colors/duorand.lua +%%DATADIR%%/user/colors/duotone.lua %%DATADIR%%/user/colors/fall.lua +%%DATADIR%%/user/colors/github.lua +%%DATADIR%%/user/colors/gruvbox_dark.lua +%%DATADIR%%/user/colors/liqube.lua +%%DATADIR%%/user/colors/moe.lua +%%DATADIR%%/user/colors/monodark.lua +%%DATADIR%%/user/colors/monokai.lua +%%DATADIR%%/user/colors/nord.lua +%%DATADIR%%/user/colors/onedark.lua +%%DATADIR%%/user/colors/only_dark.lua +%%DATADIR%%/user/colors/solarized_light.lua +%%DATADIR%%/user/colors/solarobj.lua %%DATADIR%%/user/colors/summer.lua +%%DATADIR%%/user/colors/vscode-dark.lua +%%DATADIR%%/user/colors/winter.lua +%%DATADIR%%/user/colors/zenburn.lua %%DATADIR%%/user/init.lua
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202207091818.269IIr0X067344>