Ravenports generated: 29 Apr 2018 18:37
[ravenports.git] / bucket_BC / libedit
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libedit
4 VERSION=                20170329-3.1
5 KEYWORDS=               devel
6 VARIANTS=               standard
7 SDESC[standard]=        Command line editor library
8 HOMEPAGE=               http://thrysoee.dk/editline/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://thrysoee.dk/editline/
13 DISTFILE[1]=            libedit-20170329-3.1.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   libtool ncurses
21
22 MUST_CONFIGURE=         gnu
23 CONFIGURE_ARGS=         --enable-widec
24
25 INSTALL_TARGET=         install-strip
26
27 CPPFLAGS=               -I{{NCURSESINC}}
28 LDFLAGS=                -L{{NCURSESLIB}}
29
30 post-patch:
31         ${REINPLACE_CMD} -e '/EXAMPLES_DIR =/d' ${WRKSRC}/Makefile.in
32
33 post-install:
34         ${MV} ${STAGEDIR}${MANPREFIX}/man/man3/history.3 \
35                 ${STAGEDIR}${MANPREFIX}/man/man3/el_history.3
36
37 post-patch-sunos:
38         ${REINPLACE_CMD} -e 's|LIBS="-lncurses |LIBS="-lncurses -ltinfo |'\
39                 ${WRKSRC}/configure
40
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.
46
47
48 [FILE:106:distinfo]
49 91f2d90fbd2a048ff6dad7131d9a39e690fd8a8fd982a353f1333dd4017dd4be       508504 libedit-20170329-3.1.tar.gz
50
51
52 [FILE:852:manifests/plist.single]
53 include/editline/readline.h
54 include/histedit.h
55 lib/
56  libedit.a
57  libedit.so
58  libedit.so.0
59  libedit.so.0.0.56
60 lib/pkgconfig/libedit.pc
61 share/man/man3/
62  editline.3.gz
63  el_deletestr.3.gz
64  el_end.3.gz
65  el_get.3.gz
66  el_getc.3.gz
67  el_gets.3.gz
68  el_init.3.gz
69  el_init_fd.3.gz
70  el_insertstr.3.gz
71  el_line.3.gz
72  el_parse.3.gz
73  el_push.3.gz
74  el_reset.3.gz
75  el_resize.3.gz
76  el_set.3.gz
77  el_source.3.gz
78  el_wdeletestr.3.gz
79  el_wget.3.gz
80  el_wgetc.3.gz
81  el_wgets.3.gz
82  el_winsertstr.3.gz
83  el_wline.3.gz
84  el_wparse.3.gz
85  el_wpush.3.gz
86  el_wset.3.gz
87  el_history.3.gz
88  history_end.3.gz
89  history_init.3.gz
90  history_w.3.gz
91  history_wend.3.gz
92  history_winit.3.gz
93  tok_end.3.gz
94  tok_init.3.gz
95  tok_line.3.gz
96  tok_reset.3.gz
97  tok_str.3.gz
98  tok_wend.3.gz
99  tok_winit.3.gz
100  tok_wline.3.gz
101  tok_wreset.3.gz
102  tok_wstr.3.gz
103 share/man/man5/editrc.5.gz
104 share/man/man7/editline.7.gz
105
106
107 [FILE:813:patches/patch-src_chartype.h]
108 --- src/chartype.h.orig 2017-03-29 18:08:21 UTC
109 +++ src/chartype.h
110 @@ -33,14 +33,6 @@
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
120 -#endif
121 -#endif
122  
123  /* Oh for a <uchar.h> with char32_t and __STDC_UTF_32__ in it...
124   * ref: ISO/IEC DTR 19769
125
126
127 [FILE:780:patches/patch-src_sys.h]
128 --- src/sys.h.orig      2017-03-29 18:08:21 UTC
129 +++ src/sys.h
130 @@ -44,6 +44,10 @@
131  #include <sys/cdefs.h>
132  #endif
133  
134 +#ifdef __sun__
135 +#include <sys/types.h>
136 +#endif
137 +
138  #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__)  || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
139  # define __attribute__(A)
140  #endif
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 */
144  
145 -#if defined(__sun)
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**);
152 -#endif
153 -
154  #endif /* _h_sys */
155
156
157 [FILE:529:patches/patch-src_terminal.h]
158 --- src/terminal.h.orig 2017-03-29 18:08:21 UTC
159 +++ src/terminal.h
160 @@ -80,14 +80,6 @@ typedef struct {
161  #define        A_K_DE          6
162  #define        A_K_NKEYS       7
163  
164 -#ifdef __sun
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**);
171 -#endif
172  
173  libedit_private void   terminal_move_to_line(EditLine *, int);
174  libedit_private void   terminal_move_to_char(EditLine *, int);
175