[Midnightbsd-cvs] mports [19637] trunk/devel: add libedit
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Jul 31 20:18:59 EDT 2015
Revision: 19637
http://svnweb.midnightbsd.org/mports/?rev=19637
Author: laffer1
Date: 2015-07-31 20:18:58 -0400 (Fri, 31 Jul 2015)
Log Message:
-----------
add libedit
Modified Paths:
--------------
trunk/devel/Makefile
Added Paths:
-----------
trunk/devel/libedit/
trunk/devel/libedit/Makefile
trunk/devel/libedit/distinfo
trunk/devel/libedit/files/
trunk/devel/libedit/files/patch-src__chartype.h
trunk/devel/libedit/files/patch-src_eln.c
trunk/devel/libedit/pkg-descr
trunk/devel/libedit/pkg-plist
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2015-08-01 00:11:44 UTC (rev 19636)
+++ trunk/devel/Makefile 2015-08-01 00:18:58 UTC (rev 19637)
@@ -139,6 +139,7 @@
SUBDIR += libdispatch
SUBDIR += libdbusmenu-qt
SUBDIR += libdlna
+SUBDIR += libedit
SUBDIR += libev
SUBDIR += libevent2
SUBDIR += libexecinfo
Added: trunk/devel/libedit/Makefile
===================================================================
--- trunk/devel/libedit/Makefile (rev 0)
+++ trunk/devel/libedit/Makefile 2015-08-01 00:18:58 UTC (rev 19637)
@@ -0,0 +1,27 @@
+# Created by: jasone
+# $MidnightBSD$
+
+PORTNAME= libedit
+PORTVERSION= ${EDITVERSION}.${EDITDATE}
+DISTVERSION= ${EDITDATE}-${EDITVERSION}
+CATEGORIES= devel
+MASTER_SITES= http://thrysoee.dk/editline/
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Command line editor library
+
+LICENSE= bsd2
+
+USES= libtool pathfix
+EDITVERSION= 3.1
+EDITDATE= 20150325
+WRKSRC= ${WRKDIR}/${PORTNAME}-${EDITDATE}-${EDITVERSION}
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+CONFIGURE_ARGS= --enable-widec
+MAKE_ENV= LC_ALL=C
+
+CONFLICT_INSTALL= editline-*
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/libedit/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libedit/distinfo
===================================================================
--- trunk/devel/libedit/distinfo (rev 0)
+++ trunk/devel/libedit/distinfo 2015-08-01 00:18:58 UTC (rev 19637)
@@ -0,0 +1,2 @@
+SHA256 (libedit-20150325-3.1.tar.gz) = c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5
+SIZE (libedit-20150325-3.1.tar.gz) = 502792
Property changes on: trunk/devel/libedit/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libedit/files/patch-src__chartype.h
===================================================================
--- trunk/devel/libedit/files/patch-src__chartype.h (rev 0)
+++ trunk/devel/libedit/files/patch-src__chartype.h 2015-08-01 00:18:58 UTC (rev 19637)
@@ -0,0 +1,11 @@
+--- src/chartype.h.orig 2015-03-25 21:02:28.000000000 +0100
++++ src/chartype.h 2015-03-28 11:37:42.072100000 +0100
+@@ -44,7 +44,7 @@
+ * supports non-BMP code points without requiring UTF-16, but nothing
+ * seems to actually advertise this properly, despite Unicode 3.1 having
+ * been around since 2001... */
+-#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__)
++#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__) && !defined(__DragonFly__)
+ #ifndef __STDC_ISO_10646__
+ /* In many places it is assumed that the first 127 code points are ASCII
+ * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
Property changes on: trunk/devel/libedit/files/patch-src__chartype.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libedit/files/patch-src_eln.c
===================================================================
--- trunk/devel/libedit/files/patch-src_eln.c (rev 0)
+++ trunk/devel/libedit/files/patch-src_eln.c 2015-08-01 00:18:58 UTC (rev 19637)
@@ -0,0 +1,21 @@
+--- src/eln.c.orig 2015-03-25 21:02:28.000000000 +0100
++++ src/eln.c 2015-03-28 11:42:29.913925000 +0100
+@@ -75,12 +75,17 @@ public const char *
+ el_gets(EditLine *el, int *nread)
+ {
+ const wchar_t *tmp;
++ int nwread;
++
++ *nread = 0;
+
+ if (!(el->el_flags & CHARSET_IS_UTF8))
+ el->el_flags |= IGNORE_EXTCHARS;
+- tmp = el_wgets(el, nread);
++ tmp = el_wgets(el, &nwread);
+ if (!(el->el_flags & CHARSET_IS_UTF8))
+ el->el_flags &= ~IGNORE_EXTCHARS;
++ for (int i = 0; i < nwread; i++)
++ *nread += ct_enc_width(tmp[i]);
+ return ct_encode_string(tmp, &el->el_lgcyconv);
+ }
+
Property changes on: trunk/devel/libedit/files/patch-src_eln.c
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libedit/pkg-descr
===================================================================
--- trunk/devel/libedit/pkg-descr (rev 0)
+++ trunk/devel/libedit/pkg-descr 2015-08-01 00:18:58 UTC (rev 19637)
@@ -0,0 +1,5 @@
+libedit provides command line editing functionality. Both emacs and vi key
+bindings are supported. Note that the base system also includes libedit, but
+this port is generally more current.
+
+WWW: http://thrysoee.dk/editline/
Property changes on: trunk/devel/libedit/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/libedit/pkg-plist
===================================================================
--- trunk/devel/libedit/pkg-plist (rev 0)
+++ trunk/devel/libedit/pkg-plist 2015-08-01 00:18:58 UTC (rev 19637)
@@ -0,0 +1,31 @@
+include/editline/readline.h
+include/histedit.h
+lib/libedit.a
+lib/libedit.so
+lib/libedit.so.0
+lib/libedit.so.0.0.53
+libdata/pkgconfig/libedit.pc
+man/man3/editline.3.gz
+man/man3/el_deletestr.3.gz
+man/man3/el_end.3.gz
+man/man3/el_get.3.gz
+man/man3/el_getc.3.gz
+man/man3/el_gets.3.gz
+man/man3/el_history.3.gz
+man/man3/el_history_end.3.gz
+man/man3/el_history_init.3.gz
+man/man3/el_init.3.gz
+man/man3/el_insertstr.3.gz
+man/man3/el_line.3.gz
+man/man3/el_parse.3.gz
+man/man3/el_push.3.gz
+man/man3/el_reset.3.gz
+man/man3/el_resize.3.gz
+man/man3/el_set.3.gz
+man/man3/el_source.3.gz
+man/man3/el_tok_end.3.gz
+man/man3/el_tok_init.3.gz
+man/man3/el_tok_line.3.gz
+man/man3/el_tok_reset.3.gz
+man/man3/el_tok_str.3.gz
+man/man5/editrc.5.gz
Property changes on: trunk/devel/libedit/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list