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