Hi Ivan (and ports) --

Attached is a routine maintenance update to editors/le. Happily, the one patch we have goes away. One thing of note is that now le comes with a .desktop and icon files. That would require RDEPS on devel/desktop-file-utils and x11/gtk+3,-guic, which seemed like overkill for a terminal-based text editor, so I added a post-install routine that removes those files from the package.

OK?

~Brian

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/le/Makefile,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 Makefile
--- Makefile	26 Jul 2017 22:45:19 -0000	1.10
+++ Makefile	15 Oct 2017 04:53:15 -0000
@@ -1,8 +1,7 @@
 # $OpenBSD: Makefile,v 1.10 2017/07/26 22:45:19 sthen Exp $
 
 COMMENT =	text editor inspired by Norton Commander
-DISTNAME =	le-1.16.3
-REVISION =	2
+DISTNAME =	le-1.16.5
 CATEGORIES =	editors
 
 HOMEPAGE =	http://lav.yar.ru/programs.html
@@ -16,5 +15,9 @@ WANTLIB +=	c m ncursesw ${COMPILER_LIBCX
 MASTER_SITES =	http://lav.yar.ru/download/le/
 
 CONFIGURE_STYLE =	gnu
+
+post-install:
+	@rm -rf ${PREFIX}/share/applications \
+		${PREFIX}/share/icons
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/le/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo	24 Oct 2016 08:10:46 -0000	1.4
+++ distinfo	15 Oct 2017 04:53:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (le-1.16.3.tar.gz) = PiA0bBjWKGkl6TDp5yNauKUXb05PhL7k0XGZ0/DxpjQ=
-SIZE (le-1.16.3.tar.gz) = 985541
+SHA256 (le-1.16.5.tar.gz) = 2kRJw36PP3nq/kWVtEvKRm9zAOW+r1RMUcKtxrv3ZOU=
+SIZE (le-1.16.5.tar.gz) = 1012934
Index: patches/patch-src_regex_c
===================================================================
RCS file: patches/patch-src_regex_c
diff -N patches/patch-src_regex_c
--- patches/patch-src_regex_c	19 Sep 2014 22:23:29 -0000	1.1.1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,13 +0,0 @@
-$OpenBSD: patch-src_regex_c,v 1.1.1.1 2014/09/19 22:23:29 bcallah Exp $
---- src/regex.c.orig	Fri Sep 19 18:12:30 2014
-+++ src/regex.c	Fri Sep 19 18:12:59 2014
-@@ -46,6 +46,9 @@
- # include <sys/types.h>
- #endif
- 
-+/* for write(2) */
-+#include <unistd.h>
-+
- /* Whether to use ISO C Amendment 1 wide char functions.
-    Those should not be used for Emacs since it uses its own.  */
- #if defined _LIBC

Reply via email to