1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Modal code editor with a focus on interactivity
8 HOMEPAGE= https://kakoune.org/
9 CONTACT= M_B[mb@64k.by]
12 SITES[main]= GITHUB/mawww:kakoune:v2022.10.31
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= complete
19 OPTIONS_AVAILABLE= none
20 OPTIONS_STANDARD= none
22 BUILDRUN_DEPENDS= ncurses:primary:standard
24 USES= c++:primary gmake ncurses
26 LICENSE= PUBDOM:primary
27 LICENSE_FILE= PUBDOM:{{WRKSRC}}/UNLICENSE
30 FPC_EQUIVALENT= editors/kakoune
34 MAKE_ENV= CXX="{{CXX}}"
36 MANDIRS= {{PREFIX}}/share/kak/man/man1
38 CXXFLAGS= -I{{NCURSESINC}}
39 -Wno-init-list-lifetime
42 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kak
44 [FILE:953:descriptions/desc.primary]
45 Kakoune is a code editor that implements Vi's "keystrokes as a text
46 editing language" model. As it's also a modal editor, it is somewhat
47 similar to the Vim editor (after which Kakoune was originally
50 Kakoune can operate in two modes, normal and insertion. In insertion
51 mode, keys are directly inserted into the current buffer. In normal
52 mode, keys are used to manipulate the current selection and to enter
55 Kakoune has a strong focus on interactivity, most commands provide
56 immediate and incremental results, while still being competitive (as
57 in keystroke count) with Vim.
59 Kakoune works on selections, which are oriented, inclusive range of
60 characters, selections have an anchor and a cursor character. Most
61 commands move both of them, except when extending selection where the
62 anchor character stays fixed and the cursor one moves around.
64 See https://vimeo.com/82711574 for a short demo video.
66 WWW: http://kakoune.org
70 f3eab1e663763c62881d553ad6263526940fa3ca357e0183767885415fc80b03 679272 mawww-kakoune-2022.10.31.tar.gz
73 [FILE:2250:manifests/plist.primary]
89 kaleidoscope-light.kak
95 solarized-dark-termcolors.kak
97 solarized-light-termcolors.kak
101 share/kak/rc/detection/
105 share/kak/rc/filetype/
227 share/kak/rc/tools/go/gopls.kak
228 share/kak/rc/tools/python/jedi.kak
229 share/kak/rc/tools/rust/racer.kak
230 share/kak/rc/windowing/
240 share/kak/rc/windowing/repl/
245 share/man/man1/kak.1.gz
248 [FILE:374:manifests/plist.docs]
249 share/doc/kak/README.asciidoc
253 command-parsing.asciidoc
259 highlighters.asciidoc
271 [FILE:1049:patches/patch-src_Makefile]
272 --- src/Makefile.orig 2022-10-30 22:05:58 UTC
274 @@ -57,29 +57,7 @@ sharedir := $(DESTDIR)$(PREFIX)/share/ka
275 docdir := $(DESTDIR)$(PREFIX)/share/doc/kak
276 mandir := $(DESTDIR)$(PREFIX)/share/man/man1
278 -os := $(shell uname)
281 - CPPFLAGS += -I/opt/local/include
282 - LDFLAGS += -L/opt/local/lib
283 -else ifeq ($(os),FreeBSD)
284 - CPPFLAGS += -I/usr/local/include
285 - LDFLAGS += -L/usr/local/lib
286 -else ifeq ($(os),Haiku)
287 - LIBS += -lnetwork -lbe
288 -else ifeq ($(os),OpenBSD)
289 - CPPFLAGS += -D'KAK_BIN_PATH="$(bindir)/kak"' -I/usr/local/include
290 - LDFLAGS += -L/usr/local/lib
291 - mandir := $(DESTDIR)$(PREFIX)/man/man1
292 -else ifneq (,$(findstring _NT,$(os)))
293 - # Both Cygwin and MSYS2 have "_NT" in their uname.
294 - CPPFLAGS += -D_XOPEN_SOURCE=700
296 -else ifeq ($(os),SunOS)
297 - LDFLAGS += -lsocket -rdynamic
299 - LDFLAGS += -rdynamic
301 +LIBS += -ltinfow -lncursesw
303 CXXFLAGS += -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-address