blob: 122e27245c71d11f582b82e9935844ee7d6231aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= kakoune
DISTVERSION= 2020.09.01
CATEGORIES= editors
MASTER_SITES= https://github.com/mawww/kakoune/releases/download/v${DISTVERSION}/
MAINTAINER= ports@FreeBSD.org
COMMENT= Modal code editor with a focus on interactivity
LICENSE= UNLICENSE
LICENSE_FILE= ${WRKSRC:H}/UNLICENSE
RUN_DEPENDS= setsid:sysutils/ssid
USES= compiler:c++17-lang gmake ncurses tar:bzip2
DATADIR= ${PREFIX}/share/kak
DOCSDIR= ${PREFIX}/share/doc/kak
PATCH_WRKSRC= ${WRKSRC:H}
WRKSRC_SUBDIR= src
OPTIONS_DEFINE= DEBUG DOCS
DEBUG_MAKE_ARGS= debug=yes
DEBUG_MAKE_ARGS_OFF= debug=no
post-patch:
@${REINPLACE_CMD} -e '/-O3/d' \
${WRKSRC}/Makefile
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/kak
do-test:
@cd ${WRKSRC:H}/test && ${SETENV} LC_ALL=en_US.UTF-8 ./run
.include <bsd.port.mk>
|