1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Command line editor library
8 HOMEPAGE= http://thrysoee.dk/editline/
12 SITES[main]= http://thrysoee.dk/editline/
13 DISTFILE[1]= libedit-20170329-3.1.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
23 CONFIGURE_ARGS= --enable-widec
25 INSTALL_TARGET= install-strip
27 CPPFLAGS= -I{{NCURSESINC}}
28 LDFLAGS= -L{{NCURSESLIB}}
31 ${REINPLACE_CMD} -e '/EXAMPLES_DIR =/d' ${WRKSRC}/Makefile.in
34 ${MV} ${STAGEDIR}${MANPREFIX}/man/man3/history.3 \
35 ${STAGEDIR}${MANPREFIX}/man/man3/el_history.3
38 ${REINPLACE_CMD} -e 's|LIBS="-lncurses |LIBS="-lncurses -ltinfo |'\
41 [FILE:249:descriptions/desc.single]
42 This is an autotool- and libtoolized port of the NetBSD Editline library
43 (libedit). This Berkeley-style licensed command line editor library
44 provides generic line editing, history, and tokenization functions,
45 similar to those found in GNU Readline.
49 91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be 508504 libedit-20170329-3.1.tar.gz
52 [FILE:852:manifests/plist.single]
53 include/editline/readline.h
60 lib/pkgconfig/libedit.pc
103 share/man/man5/editrc.5.gz
104 share/man/man7/editline.7.gz
107 [FILE:813:patches/patch-src_chartype.h]
108 --- src/chartype.h.orig 2017-03-29 18:08:21 UTC
111 * supports non-BMP code points without requiring UTF-16, but nothing
112 * seems to actually advertise this properly, despite Unicode 3.1 having
113 * been around since 2001... */
114 -#if !defined(__NetBSD__) && !defined(__sun) && !(defined(__APPLE__) && defined(__MACH__)) && !defined(__OpenBSD__) && !defined(__FreeBSD__)
115 -#ifndef __STDC_ISO_10646__
116 -/* In many places it is assumed that the first 127 code points are ASCII
117 - * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
118 - * funky encoding that could break us in weird and wonderful ways. */
119 - #error wchar_t must store ISO 10646 characters
123 /* Oh for a <uchar.h> with char32_t and __STDC_UTF_32__ in it...
124 * ref: ISO/IEC DTR 19769
127 [FILE:780:patches/patch-src_sys.h]
128 --- src/sys.h.orig 2017-03-29 18:08:21 UTC
131 #include <sys/cdefs.h>
135 +#include <sys/types.h>
138 #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
139 # define __attribute__(A)
141 @@ -115,13 +119,4 @@ typedef unsigned int u_int32_t;
142 #define REGEX /* Use POSIX.2 regular expression functions */
143 #undef REGEXP /* Use UNIX V8 regular expression functions */
146 -extern int tgetent(char *, const char *);
147 -extern int tgetflag(char *);
148 -extern int tgetnum(char *);
149 -extern int tputs(const char *, int, int (*)(int));
150 -extern char* tgoto(const char*, int, int);
151 -extern char* tgetstr(char*, char**);
157 [FILE:529:patches/patch-src_terminal.h]
158 --- src/terminal.h.orig 2017-03-29 18:08:21 UTC
160 @@ -80,14 +80,6 @@ typedef struct {
165 -extern int tgetent(char *, const char *);
166 -extern int tgetflag(char *);
167 -extern int tgetnum(char *);
168 -extern int tputs(const char *, int, int (*)(int));
169 -extern char* tgoto(const char*, int, int);
170 -extern char* tgetstr(char*, char**);
173 libedit_private void terminal_move_to_line(EditLine *, int);
174 libedit_private void terminal_move_to_char(EditLine *, int);