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