diff --git a/editors/le/Makefile b/editors/le/Makefile index 04108f14cffb..54242ce539d7 100644 --- a/editors/le/Makefile +++ b/editors/le/Makefile @@ -1,43 +1,46 @@ PORTNAME= le PORTVERSION= 1.16.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= editors MASTER_SITES= http://lav.yar.ru/download/${PORTNAME}/ \ ZI MASTER_SITE_SUBDIR= . old +PATCH_SITES+= https://github.com/lavv17/le/commit/ +PATCHFILES+= 73976a23d5d7d4f5d6bfb3b8e797361be5613a6a.diff:-p1 + MAINTAINER= zi@FreeBSD.org COMMENT= Text editor with block and binary operations WWW= https://github.com/lavv17/le LICENSE= GPLv3 USES= localbase ncurses perl5 tar:bzip2 USE_PERL5= build GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share MAKE_JOBS_UNSAFE= yes post-patch: @${FIND} ${WRKSRC} -type f \( -name '*.[ch]' -o -name '*.cc' \) | \ ${XARGS} ${GREP} -l '[[:<:]]hex[[:>:]]' | \ ${XARGS} ${REINPLACE_CMD} -e 's/[[:<:]]hex[[:>:]]/is_hex/g' derp-do-install: @${MKDIR} ${STAGEDIR}${DATADIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/src && ${INSTALL_PROGRAM} le ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/doc && ${INSTALL_MAN} le.1 ${STAGEDIR}${PREFIX}/man/man1) .for file in ${STAGEDIR}${MISC_DATA} (cd ${WRKSRC}/misc && ${INSTALL_DATA} ${file} ${STAGEDIR}${DATADIR}) .endfor (cd ${WRKSRC}/misc && ${COPYTREE_SHARE} syntax.d ${STAGEDIR}${DATADIR}) .for file in ${SRC_DATA} (cd ${WRKSRC}/src && ${INSTALL_DATA} ${file} ${STAGEDIR}${DATADIR}) .endfor .for file in FEATURES HISTORY NEWS README TODO cd ${WRKSRC} && ${INSTALL_DATA} ${file} ${STAGEDIR}${DOCSDIR} .endfor .include diff --git a/editors/le/distinfo b/editors/le/distinfo index c02761f315b2..9dcff3b80031 100644 --- a/editors/le/distinfo +++ b/editors/le/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1649434404 +TIMESTAMP = 1755697265 SHA256 (le-1.16.8.tar.bz2) = d811b3af3f6a3d8580efa23cc49c87c365fdbcb061ecd89bf02f4b4356133247 SIZE (le-1.16.8.tar.bz2) = 879287 +SHA256 (73976a23d5d7d4f5d6bfb3b8e797361be5613a6a.diff) = 6821b22dd1caac1e40bcef0abaa4ff69e3a87ed0588afb604dd8a7ca39b8b85f +SIZE (73976a23d5d7d4f5d6bfb3b8e797361be5613a6a.diff) = 4172