Ravenports generated: 17 Feb 2023 06:45
[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:static 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
52 [FILE:258:descriptions/desc.single]
53 Nvi is an implementation of the ex/vi text editor originally distributed
54 as part of the Fourth Berkeley Software Distribution (4BSD), by the
55 University of California, Berkeley. The source code to nvi is freely
56 available, and nvi may be freely redistributed.
57
58
59 [FILE:97:distinfo]
60 3441b8e3247b2b6dd19b5fd38355fe6593b2a92e960ecb3dd00d676f63d06b59      1758309 nvi-1.81.6.tar.bz2
61
62
63 [FILE:290:manifests/plist.single]
64 bin/
65  nex
66  nvi
67  nview
68 lib/libvi.a
69 share/man/man1/
70  nex.1.gz
71  nvi.1.gz
72  nview.1.gz
73 share/vi/recover
74 share/vi/catalog/
75  dutch
76  english
77  french
78  german
79  ru_SU.KOI8-R
80  spanish
81  swedish
82 share/vi/perl/
83  forall.pl
84  make.pl
85  tk.pl
86  wc.pl
87 share/vi/tcl/
88  errors.tcl
89  gnats.tcl
90  mailprocs.tcl
91  wc.tcl
92
93
94 [FILE:253:patches/patch-cl_cl__funcs.c]
95 --- cl/cl_funcs.c.orig  2007-11-18 16:41:42 UTC
96 +++ cl/cl_funcs.c
97 @@ -18,6 +18,7 @@ static const char sccsid[] = "$Id: cl_fu
98  #include <sys/time.h>
99  
100  #include <bitstring.h>
101 +#include <term.h>
102  #include <ctype.h>
103  #include <signal.h>
104  #include <stdio.h>
105
106
107 [FILE:256:patches/patch-cl_cl__screen.c]
108 --- cl/cl_screen.c.orig 2007-11-18 16:41:42 UTC
109 +++ cl/cl_screen.c
110 @@ -17,6 +17,7 @@ static const char sccsid[] = "$Id: cl_sc
111  #include <sys/queue.h>
112  
113  #include <bitstring.h>
114 +#include <term.h>
115  #include <errno.h>
116  #include <signal.h>
117  #include <stdio.h>
118
119
120 [FILE:349:patches/patch-dist_config.h]
121 --- dist/config.h.in-   Fri May  9 12:50:29 2003
122 +++ dist/config.h.in    Fri May  9 12:50:56 2003
123 @@ -103,9 +103,6 @@
124  /* Define if you have <sys/select.h> */
125  #undef HAVE_SYS_SELECT_H
126  
127 -/* Define if you have the System V style pty calls. */
128 -#undef HAVE_SYS5_PTY
129 -
130  /* Define if you want to compile in the Tcl interpreter. */
131  #undef HAVE_TCL_INTERP
132  
133
134
135 [FILE:1721:patches/patch-dist_configure]
136 --- dist/configure.orig 2007-11-18 16:43:54 UTC
137 +++ dist/configure
138 @@ -21142,7 +21142,7 @@
139  echo "${ECHO_T}$vi_cv_runpath" >&6; }
140  
141  if test "X$vi_cv_runpath" = "Xyes"; then
142 -       LRscript='s/^\(.*\)/-R\1 -L\1 /'
143 +       LRscript='s/^\(.*\)/-Wl,-rpath,\1 -L\1 /'
144  else
145         LRscript='s/^\(.*\)/-L\1 /'
146  fi
147 @@ -23510,7 +23510,7 @@
148         CPPFLAGS="$CURSCPPFLAGS $CPPFLAGS"
149  
150         if test "$vi_cv_widechar" = "yes"; then
151 -           for vi_cv_curses in ncurses ncursesw curses; do
152 +           for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow" curses; do
153                 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_waddnwstr" | $as_tr_sh`
154  { echo "$as_me:$LINENO: checking for waddnwstr in -l$vi_cv_curses" >&5
155  echo $ECHO_N "checking for waddnwstr in -l$vi_cv_curses... $ECHO_C" >&6; }
156 @@ -23581,7 +23581,7 @@
157                 vi_cv_curses=unknown
158             done
159         else
160 -           for vi_cv_curses in ncurses ncursesw curses; do
161 +           for vi_cv_curses in "ncurses -ltinfo" "ncursesw -ltinfow" curses; do
162                 as_ac_Lib=`echo "ac_cv_lib_$vi_cv_curses''_initscr" | $as_tr_sh`
163  { echo "$as_me:$LINENO: checking for initscr in -l$vi_cv_curses" >&5
164  echo $ECHO_N "checking for initscr in -l$vi_cv_curses... $ECHO_C" >&6; }
165 @@ -27631,6 +27631,8 @@
166  cat confdefs.h >>conftest.$ac_ext
167  cat >>conftest.$ac_ext <<_ACEOF
168  /* end confdefs.h.  */
169 +#include <stdlib.h>
170 +#include <stdio.h>
171  main(){char buf[20]; exit(sprintf(buf, "XXX") != 3);}
172  _ACEOF
173  rm -f conftest$ac_exeext
174 @@ -28624,7 +28626,7 @@
175  cat >>conftest.$ac_ext <<_ACEOF
176  /* end confdefs.h.  */
177  #include <stdio.h>
178 -int fprintf ();
179 +/*int fprintf ();*/
180  
181  int
182  main ()
183 @@ -28767,6 +28769,7 @@
184  cat confdefs.h >>conftest.$ac_ext
185  cat >>conftest.$ac_ext <<_ACEOF
186  /* end confdefs.h.  */
187 +#include <stddef.h>
188  #include <db.h>
189  int
190  main ()
191