Ravenports generated: 28 Aug 2022 19:34
[ravenports.git] / bucket_6A / nvi
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               nvi
4 VERSION=                1.81.6
5 KEYWORDS=               editors
6 VARIANTS=               standard
7 SDESC[standard]=        Berkeley nvi with additional features
8 HOMEPAGE=               none
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            http://ravenports.elderlinux.org/distcache/
13 DISTFILE[1]=            nvi-1.81.6.tar.bz2:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   bdb:static iconv:build libtool ncurses:static
21                         pkgconfig
22
23 FPC_EQUIVALENT=         editors/nvi2
24
25 MUST_CONFIGURE=         gnu
26 CONFIGURE_OUTSOURCE=    yes
27 CONFIGURE_WRKSRC=       {{WRKSRC}}/build_unix
28 CONFIGURE_SCRIPT=       dist/configure
29 CONFIGURE_ARGS=         --with-db-prefix={{LOCALBASE}}
30                         --program-prefix=n
31                         --enable-widechar
32                         --enable-shared=no
33                         --with-curses={{NCURSESBASE}}
34
35 CPPFLAGS=               -I{{NCURSESINC}}
36 LDFLAGS=                -L{{NCURSESLIB}}
37 VAR_OPSYS[sunos]=       CONFIGURE_ENV=LIBS="-lrt -lsocket"
38
39 post-patch:
40         ${REINPLACE_CMD} -e '/libvi_la_LIBADD =/s,$$, ${ICONV_LIB},' \
41                 ${WRKSRC}/dist/Makefile.in
42         ${REINPLACE_CMD} -e 's,-ldb,-l${BDB_LIB_NAME} -lpthread,g' \
43                 ${WRKSRC}/dist/configure
44
45 post-install:
46         ${RM} -r ${STAGEDIR}${MANPREFIX}/man/cat1
47
48 [FILE:258:descriptions/desc.single]
49 Nvi is an implementation of the ex/vi text editor originally distributed
50 as part of the Fourth Berkeley Software Distribution (4BSD), by the
51 University of California, Berkeley. The source code to nvi is freely
52 available, and nvi may be freely redistributed.
53
54
55 [FILE:97:distinfo]
56 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59      1758309 nvi-1.81.6.tar.bz2
57
58
59 [FILE:290:manifests/plist.single]
60 bin/
61  nex
62  nvi
63  nview
64 lib/libvi.a
65 share/man/man1/
66  nex.1.gz
67  nvi.1.gz
68  nview.1.gz
69 share/vi/recover
70 share/vi/catalog/
71  dutch
72  english
73  french
74  german
75  ru_SU.KOI8-R
76  spanish
77  swedish
78 share/vi/perl/
79  forall.pl
80  make.pl
81  tk.pl
82  wc.pl
83 share/vi/tcl/
84  errors.tcl
85  gnats.tcl
86  mailprocs.tcl
87  wc.tcl
88
89
90 [FILE:253:patches/patch-cl_cl__funcs.c]
91 --- cl/cl_funcs.c.orig  2007-11-18 16:41:42 UTC
92 +++ cl/cl_funcs.c
93 @@ -18,6 +18,7 @@ static const char sccsid[] = "$Id: cl_fu
94  #include <sys/time.h>
95  
96  #include <bitstring.h>
97 +#include <term.h>
98  #include <ctype.h>
99  #include <signal.h>
100  #include <stdio.h>
101
102
103 [FILE:256:patches/patch-cl_cl__screen.c]
104 --- cl/cl_screen.c.orig 2007-11-18 16:41:42 UTC
105 +++ cl/cl_screen.c
106 @@ -17,6 +17,7 @@ static const char sccsid[] = "$Id: cl_sc
107  #include <sys/queue.h>
108  
109  #include <bitstring.h>
110 +#include <term.h>
111  #include <errno.h>
112  #include <signal.h>
113  #include <stdio.h>
114
115
116 [FILE:349:patches/patch-dist_config.h]
117 --- dist/config.h.in-   Fri May  9 12:50:29 2003
118 +++ dist/config.h.in    Fri May  9 12:50:56 2003
119 @@ -103,9 +103,6 @@
120  /* Define if you have <sys/select.h> */
121  #undef HAVE_SYS_SELECT_H
122  
123 -/* Define if you have the System V style pty calls. */
124 -#undef HAVE_SYS5_PTY
125 -
126  /* Define if you want to compile in the Tcl interpreter. */
127  #undef HAVE_TCL_INTERP
128  
129
130
131 [FILE:1731:patches/patch-dist_configure]
132 --- dist/configure.orig 2007-11-18 16:43:54 UTC
133 +++ dist/configure
134 @@ -21142,7 +21142,7 @@
135  echo "${ECHO_T}$vi_cv_runpath" >&6; }
136  
137  if test "X$vi_cv_runpath" = "Xyes"; then
138 -       LRscript='s/^\(.*\)/-R\1 -L\1 /'
139 +       LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /'
140  else
141         LRscript='s/^\(.*\)/-L\1 /'
142  fi
143 @@ -23510,7 +23510,7 @@
144         CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS"
145  
146         if test "$vi_cv_widechar" = "yes"; then
147 -           for vi_cv_curses in ncurses ncursesw curses; do
148 +           for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow -ldb" curses; do
149                 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh`
150  { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5
151  echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; }
152 @@ -23581,7 +23581,7 @@
153                 vi_cv_curses=unknown
154             done
155         else
156 -           for vi_cv_curses in ncurses ncursesw curses; do
157 +           for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow -ldb" curses; do
158                 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh`
159  { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5
160  echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; }
161 @@ -27631,6 +27631,8 @@
162  cat confdefs.h >>conftest.$ac_ext
163  cat >>conftest.$ac_ext <<_ACEOF
164  /* end confdefs.h.  */
165 +#include <stdlib.h>
166 +#include <stdio.h>
167  main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
168  _ACEOF
169  rm -f conftest$ac_exeext
170 @@ -28624,7 +28626,7 @@
171  cat >>conftest.$ac_ext <<_ACEOF
172  /* end confdefs.h.  */
173  #include <stdio.h>
174 -int fprintf ();
175 +/*int fprintf ();*/
176  
177  int
178  main ()
179 @@ -28767,6 +28769,7 @@
180  cat confdefs.h >>conftest.$ac_ext
181  cat >>conftest.$ac_ext <<_ACEOF
182  /* end confdefs.h.  */
183 +#include <stddef.h>
184  #include <db.h>
185  int
186  main ()
187