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