diff --git a/editors/mle/Makefile b/editors/mle/Makefile index 2ad4b8052e34..a9cda6cb6e2c 100644 --- a/editors/mle/Makefile +++ b/editors/mle/Makefile @@ -1,59 +1,55 @@ PORTNAME= mle DISTVERSIONPREFIX= v -DISTVERSION= 1.5.0 +DISTVERSION= 1.7.2 CATEGORIES= editors MAINTAINER= as@php.net COMMENT= Small, flexible, terminal-based text editor WWW= https://github.com/adsr/mle LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash -LIB_DEPENDS= libpcre.so:devel/pcre +LIB_DEPENDS= libpcre2-8.so:devel/pcre2 TEST_DEPENDS= ${LOCALBASE}/bin/gpaste:sysutils/coreutils \ ${LOCALBASE}/bin/grep:textproc/gnugrep \ bash:shells/bash \ gfind:misc/findutils USES= compiler:c11 gmake localbase:ldflags shebangfix lua:54 SHEBANG_FILES= tests/func/*.sh tests/run.sh USE_GITHUB= yes GH_ACCOUNT= adsr TEST_TARGET= test PLIST_FILES= bin/mle post-patch: @${REINPLACE_CMD} -e 's|lua5.4|lua54|g' ${WRKSRC}/mle.h @${REINPLACE_CMD} -e 's|lua5.4|lua-5.4|g' ${WRKSRC}/Makefile @${REINPLACE_CMD} -e 's|-O0|-O2|g' ${WRKSRC}/Makefile # Fix shell commands in tests @${REINPLACE_CMD} -e 's|find|gfind|g' \ -e 's|grep|${LOCALBASE}/bin/grep|g' \ ${WRKSRC}/tests/run.sh \ ${WRKSRC}/tests/func/*.sh @${REINPLACE_CMD} -e 's|p a s t e|g p a s t e|g' \ ${WRKSRC}/tests/func/test_lua.sh - # Remove assertion that relies on UTF-8 codeset (fixed upstream) - @${REINPLACE_CMD} -e '/0wv/d' \ - ${WRKSRC}/tests/unit/test_bline_insert.c - # Remove assertions that rely on GNU tooling output @${REINPLACE_CMD} -e '/shell_line/d' \ ${WRKSRC}/tests/func/test_multi_cursor.sh @${REINPLACE_CMD} -e '/byte_count/d' \ ${WRKSRC}/tests/func/test_coarse_undo.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mle ${STAGEDIR}${PREFIX}/bin pre-test: # Remove backup files generated by REINPLACE_CMD. Those must not exist # for the tests to run properly. @${FIND} ${WRKSRC}/tests -name '*.sh.bak' -delete .include diff --git a/editors/mle/distinfo b/editors/mle/distinfo index 3b22cb6f77dc..df1d20081d28 100644 --- a/editors/mle/distinfo +++ b/editors/mle/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654130400 -SHA256 (adsr-mle-v1.5.0_GH0.tar.gz) = 569316485fa3775d0bb7559ac176a63adb29467c7098b14c0072c821feb6226b -SIZE (adsr-mle-v1.5.0_GH0.tar.gz) = 135463 +TIMESTAMP = 1684964496 +SHA256 (adsr-mle-v1.7.2_GH0.tar.gz) = 5275fcfc58d3d4890d074077d94497db488b2648287b3e48e67b00ea517b02ba +SIZE (adsr-mle-v1.7.2_GH0.tar.gz) = 143618