Ravenports generated: 30 May 2020 18:50
[ravenports.git] / bucket_BC / libedit
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               libedit
4 VERSION=                20191231-3.1
5 REVISION=               1
6 KEYWORDS=               devel
7 VARIANTS=               standard
8 SDESC[standard]=        Command line editor library
9 HOMEPAGE=               http://thrysoee.dk/editline/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            http://thrysoee.dk/editline/
14 DISTFILE[1]=            libedit-20191231-3.1.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 B_DEPS[sunos]=          libbsd4sol:single:standard
22
23 USES=                   libtool ncurses
24
25 LICENSE=                BSD3CLAUSE:single
26 LICENSE_FILE=           BSD3CLAUSE:{{WRKSRC}}/COPYING
27 LICENSE_SCHEME=         solo
28
29 MUST_CONFIGURE=         gnu
30 CONFIGURE_ARGS=         --enable-widec
31
32 INSTALL_TARGET=         install-strip
33 SOVERSION=              0.0.63
34
35 CPPFLAGS=               -I{{NCURSESINC}}
36 LDFLAGS=                -L{{NCURSESLIB}}
37 VAR_OPSYS[sunos]=       LDFLAGS=-lbsd
38                         CFLAGS=-I{{PREFIX}}/include/bsd
39                         CONFIGURE_ARGS=ac_cv_func_getline=yes
40
41 post-patch:
42         ${REINPLACE_CMD} -e '/EXAMPLES_DIR =/d' ${WRKSRC}/Makefile.in
43         ${REINPLACE_CMD} -e 's|LIBS="-lncurses |LIBS="-lncurses -ltinfo |'\
44                 ${WRKSRC}/configure
45
46 post-install:
47         ${MV} ${STAGEDIR}${MANPREFIX}/man/man3/history.3 \
48                 ${STAGEDIR}${MANPREFIX}/man/man3/el_history.3
49
50 [FILE:249:descriptions/desc.single]
51 This is an autotool- and libtoolized port of the NetBSD Editline library
52 (libedit). This Berkeley-style licensed command line editor library
53 provides generic line editing, history, and tokenization functions,
54 similar to those found in GNU Readline.
55
56
57 [FILE:106:distinfo]
58 dbb82cb7e116a5f8025d35ef5b4f7d4a3cdd0a3909a146a39112095a2d229071       516801 libedit-20191231-3.1.tar.gz
59
60
61 [FILE:869:manifests/plist.single]
62 include/histedit.h
63 include/editline/readline.h
64 lib/
65  libedit.a
66  libedit.so
67  libedit.so.%%SOMAJOR%%
68  libedit.so.%%SOVERSION%%
69 lib/pkgconfig/libedit.pc
70 share/man/man3/
71  editline.3.gz
72  el_deletestr.3.gz
73  el_end.3.gz
74  el_get.3.gz
75  el_getc.3.gz
76  el_gets.3.gz
77  el_history.3.gz
78  el_init.3.gz
79  el_init_fd.3.gz
80  el_insertstr.3.gz
81  el_line.3.gz
82  el_parse.3.gz
83  el_push.3.gz
84  el_reset.3.gz
85  el_resize.3.gz
86  el_set.3.gz
87  el_source.3.gz
88  el_wdeletestr.3.gz
89  el_wget.3.gz
90  el_wgetc.3.gz
91  el_wgets.3.gz
92  el_winsertstr.3.gz
93  el_wline.3.gz
94  el_wparse.3.gz
95  el_wpush.3.gz
96  el_wset.3.gz
97  history_end.3.gz
98  history_init.3.gz
99  history_w.3.gz
100  history_wend.3.gz
101  history_winit.3.gz
102  tok_end.3.gz
103  tok_init.3.gz
104  tok_line.3.gz
105  tok_reset.3.gz
106  tok_str.3.gz
107  tok_wend.3.gz
108  tok_winit.3.gz
109  tok_wline.3.gz
110  tok_wreset.3.gz
111  tok_wstr.3.gz
112 share/man/man5/editrc.5.gz
113 share/man/man7/editline.7.gz
114
115
116 [FILE:372:patches/patch-src_chartype.h]
117 --- src/chartype.h.orig 2019-10-25 20:12:05 UTC
118 +++ src/chartype.h
119 @@ -43,7 +43,6 @@
120  /* In many places it is assumed that the first 127 code points are ASCII
121   * compatible, so ensure wchar_t indeed does ISO 10646 and not some other
122   * funky encoding that could break us in weird and wonderful ways. */
123 -       #error wchar_t must store ISO 10646 characters
124  #endif
125  #endif
126  
127
128
129 [FILE:780:patches/patch-src_sys.h]
130 --- src/sys.h.orig      2018-05-25 17:50:45 UTC
131 +++ src/sys.h
132 @@ -44,6 +44,10 @@
133  #include <sys/cdefs.h>
134  #endif
135  
136 +#ifdef __sun__
137 +#include <sys/types.h>
138 +#endif
139 +
140  #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__)  || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
141  # define __attribute__(A)
142  #endif
143 @@ -115,13 +119,4 @@ typedef unsigned int       u_int32_t;
144  #define        REGEX           /* Use POSIX.2 regular expression functions */
145  #undef REGEXP          /* Use UNIX V8 regular expression functions */
146  
147 -#if defined(__sun)
148 -extern int tgetent(char *, const char *);
149 -extern int tgetflag(char *);
150 -extern int tgetnum(char *);
151 -extern int tputs(const char *, int, int (*)(int));
152 -extern char* tgoto(const char*, int, int);
153 -extern char* tgetstr(char*, char**);
154 -#endif
155 -
156  #endif /* _h_sys */
157
158
159 [FILE:529:patches/patch-src_terminal.h]
160 --- src/terminal.h.orig 2018-05-25 17:50:45 UTC
161 +++ src/terminal.h
162 @@ -80,14 +80,6 @@ typedef struct {
163  #define        A_K_DE          6
164  #define        A_K_NKEYS       7
165  
166 -#ifdef __sun
167 -extern int tgetent(char *, const char *);
168 -extern int tgetflag(char *);
169 -extern int tgetnum(char *);
170 -extern int tputs(const char *, int, int (*)(int));
171 -extern char* tgoto(const char*, int, int);
172 -extern char* tgetstr(char*, char**);
173 -#endif
174  
175  libedit_private void   terminal_move_to_line(EditLine *, int);
176  libedit_private void   terminal_move_to_char(EditLine *, int);
177