Ravenports generated: 13 Aug 2018 12:25
[ravenports.git] / bucket_7F / ncurses60
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               ncurses60
4 VERSION=                6.0
5 REVISION=               1
6 KEYWORDS=               devel
7 VARIANTS=               standard
8 SDESC[standard]=        Minimal static-only version of ncurses v6.0
9 HOMEPAGE=               http://invisible-island.net/ncurses/ncurses.html
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            http://invisible-mirror.net/archives/ncurses/
14                         ftp://invisible-island.net/ncurses/
15 DISTFILE[1]=            ncurses-6.0.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[standard]=        single
18
19 OPTIONS_AVAILABLE=      none
20 OPTIONS_STANDARD=       none
21
22 USES=                   bdb:static pkgconfig terminfo:single shebangfix
23
24 DISTNAME=               ncurses-6.0
25
26 LICENSE=                MIT:single
27 LICENSE_FILE=           MIT:{{WRKSRC}}/COPYING
28 LICENSE_SCHEME=         solo
29
30 PREFIX=                 {{LOCALBASE}}/ncurses60
31 SHEBANG_FILES=          test/tracemunch
32
33 MUST_CONFIGURE=         gnu
34 CONFIGURE_WRKSRC=       {{WRKSRC}}/build.nowidec
35 CONFIGURE_SCRIPT=       ../configure
36 CONFIGURE_ARGS=         --datadir={{PREFIX}}/share/misc
37                         --disable-overwrite
38                         --disable-termcap
39                         --enable-bsdpad
40                         --enable-getcap
41                         --enable-colorfgbg
42                         --enable-shared=no
43                         --disable-home-terminfo
44                         --with-pkg-config=yes
45                         --enable-pc-files
46                         --includedir={{PREFIX}}/include/ncurses
47                         --with-termlib
48                         --program-prefix=
49                         --enable-rpath
50                         --disable-root-environ
51                         --with-manpage-format=gzip
52                         --srcdir=../
53                         --without-debug
54                         --without-manpage-renames
55                         --without-ada
56                         --mandir={{MANPREFIX}}/man
57                         --with-hashed-db=db5
58                         --with-shlib-version=rel
59                         --with-pc-suffix=60
60                         --datadir={{PREFIX}}/share/misc
61                         --with-default-terminfo-dir={{PREFIX}}/share/misc/terminfo
62                         --with-terminfo-dirs={{PREFIX}}/share/misc/terminfo:/usr/share/terminfo
63 CONFIGURE_ENV=          gnat_exists="no"
64
65 BUILD_WRKSRC=           {{WRKSRC}}/build.nowidec
66 SINGLE_JOB=             yes
67
68 INSTALL_WRKSRC=         {{WRKSRC}}/build.nowidec
69 INSTALL_REQ_TOOLCHAIN=  yes
70 PLIST_SUB=              ABI_VER=6
71                         REL_VER=6.0
72                         PREFIX={{LOCALBASE}}
73
74 CPPFLAGS=               -P
75 VAR_OPSYS[sunos]=       CONFIGURE_ENV=LIBS="-lrt -lresolv -lsocket"
76
77 post-patch:
78         ${REINPLACE_CMD} -e 's,$$(INSTALL_PROG) ncurses-config,@INSTALL_SCRIPT@ ncurses-config,' ${WRKSRC}/misc/Makefile.in
79         ${REINPLACE_CMD} -e 's,/usr/include,${PREFIX}/include,g' ${WRKSRC}/misc/ncurses-config.in
80
81 post-stage:
82         ${SED} -i'' -e 's|-ldb-5||' -e 's|-Wl,.*/db5||' \
83                 ${STAGEDIR}${LOCALBASE}/lib/pkgconfig/*.pc \
84                 ${STAGEDIR}${PREFIX}/bin/ncurse*-config
85
86 post-install:
87         ${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
88                 ${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
89         ${RM} -r ${STAGEDIR}${MANPREFIX}/man
90
91 post-build:
92         (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
93                 BUILD_WRKSRC=${WRKSRC}/build.widec do-build)
94         # Shift post-install to post-build.   The installation uses the
95         # compiler even there.
96         (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
97                 INSTALL_WRKSRC=${WRKSRC}/build.widec do-install)
98         # Remove -ldb-5 from pc files.  It's been statically linked in
99
100 post-configure:
101         cd ${.CURDIR} && \
102             ${SET_LATE_CONFIGURE_ARGS} \
103             ${MAKE} ${.MAKEFLAGS} CONFIGURE_WRKSRC=${WRKSRC}/build.widec \
104             CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-widec" \
105             do-configure
106 .for d in test c++
107         ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.widec/${d}/
108         ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.nowidec/${d}/
109 .endfor
110
111 post-extract:
112         @${MKDIR} ${WRKSRC}/build.widec
113         @${MKDIR} ${WRKSRC}/build.nowidec
114
115 post-patch-freebsd:
116         # static libdb requires post-linking with pthread library
117         ${REINPLACE_CMD} -e 's|(LIBS_TIC)|(LIBS_TIC) -lpthread|' \
118                 -e 's|(LIBS_TINFO)|(LIBS_TINFO) -lpthread|' \
119                 ${WRKSRC}/progs/Makefile.in
120         ${REINPLACE_CMD} -e 's|(MATH_LIB)|(MATH_LIB) -lpthread|' \
121                 ${WRKSRC}/test/Makefile.in
122         ${REINPLACE_CMD} -e 's|(TEST_LDFLAGS)|(TEST_LDFLAGS) -lpthread|' \
123                 ${WRKSRC}/c++/Makefile.in
124
125 [FILE:512:descriptions/desc.single]
126 The ncurses software includes a SVr4 and XSI-Curses compatible
127 curses library as well as terminfo tools including "tic", "infocmp",
128 and "captoinfo".  The library is used by other programs for text-mode
129 support of color, multiple highlights, forms-drawing characters,
130 automatic recognition of keypad and function-key sequences, and
131 more.
132
133 This package was statically built against its own static libraries,
134 and the version is intentionally fixed to 6.0.  It is meant to be
135 used exclusively as a build dependency.
136
137
138 [FILE:97:distinfo]
139 f551c24b30ce8bfb6e96d9f59b42fbea30fa3a6123384172f9e7284bcf647260      3131891 ncurses-6.0.tar.gz
140
141
142 [FILE:780:manifests/plist.single]
143 %%PREFIX%%/lib/pkgconfig/
144  form60.pc
145  formw60.pc
146  menu60.pc
147  menuw60.pc
148  ncurses++60.pc
149  ncurses++w60.pc
150  ncurses60.pc
151  ncursesw60.pc
152  panel60.pc
153  panelw60.pc
154  tinfo60.pc
155  tinfow60.pc
156 bin/
157  captoinfo
158  clear
159  infocmp
160  infotocap
161  ncurses%%ABI_VER%%-config
162  ncursesw%%ABI_VER%%-config
163  reset
164  tabs
165  tic
166  toe
167  tput
168  tset
169 include/ncurses/
170  curses.h
171  cursesapp.h
172  cursesf.h
173  cursesm.h
174  cursesp.h
175  cursesw.h
176  cursslk.h
177  eti.h
178  etip.h
179  form.h
180  menu.h
181  nc_tparm.h
182  ncurses.h
183  ncurses_dll.h
184  panel.h
185  term.h
186  term_entry.h
187  termcap.h
188  tic.h
189  unctrl.h
190 lib/
191  libform.a
192  libformw.a
193  libmenu.a
194  libmenuw.a
195  libncurses++.a
196  libncurses++w.a
197  libncurses.a
198  libncursesw.a
199  libpanel.a
200  libpanelw.a
201  libtinfo.a
202  libtinfow.a
203 share/misc/terminfo.db.default
204 share/misc/tabset/
205  std
206  stdcrt
207  vt100
208  vt300
209
210
211 [FILE:970:patches/patch-configure]
212 --- configure.orig      2015-08-05 09:20:32 UTC
213 +++ configure
214 @@ -5863,7 +5863,7 @@ case $cf_cv_system_name in
215         LD_RPATH_OPT="-Wl,-rpath,"
216         ;;
217  (dragonfly*|freebsd*)
218 -       LD_RPATH_OPT="-rpath "
219 +       LD_RPATH_OPT="-Wl,-rpath,"
220         ;;
221  (netbsd*)
222         LD_RPATH_OPT="-Wl,-rpath,"
223 @@ -5872,7 +5872,7 @@ case $cf_cv_system_name in
224         LD_RPATH_OPT="-rpath "
225         ;;
226  (solaris2*)
227 -       LD_RPATH_OPT="-R"
228 +       LD_RPATH_OPT="-Wl,-R"
229         ;;
230  (*)
231         ;;
232 @@ -6343,11 +6343,11 @@ CF_EOF
233                 # tested with SunOS 5.5.1 (solaris 2.5.1) and gcc 2.7.2
234                 # tested with SunOS 5.10 (solaris 10) and gcc 3.4.3
235                 if test "$DFT_LWR_MODEL" = "shared" ; then
236 -                       LOCAL_LDFLAGS="-R \$(LOCAL_LIBDIR):\${libdir}"
237 +                       LOCAL_LDFLAGS="-Wl,-R\$(LOCAL_LIBDIR):\${libdir}"
238                         LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
239                 fi
240                 if test "$cf_cv_enable_rpath" = yes ; then
241 -                       EXTRA_LDFLAGS="-R \${libdir} $EXTRA_LDFLAGS"
242 +                       EXTRA_LDFLAGS="-Wl,-R\${libdir} $EXTRA_LDFLAGS"
243                 fi
244  
245         test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
246
247
248 [FILE:1041:patches/patch-misc_terminfo.src]
249 --- misc/terminfo.src.orig      2015-07-25 19:27:20 UTC
250 +++ misc/terminfo.src
251 @@ -4143,7 +4143,7 @@ xterm-basic|modern xterm terminal emulat
252         il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m,
253         is2=\E[!p\E[?3;4l\E[4l\E>, kmous=\E[M, meml=\El,
254         memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM,
255 -       ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l, rmcup=\E[?1049l,
256 +       ritm=\E[23m, rmacs=\E(B, rmam=\E[?7l,
257         rmir=\E[4l, rmkx=\E[?1l\E>, rmm=\E[?1034l, rmso=\E[27m,
258         rmul=\E[24m, rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7,
259         setab=\E[4%p1%dm, setaf=\E[3%p1%dm,
260 @@ -4151,7 +4151,7 @@ xterm-basic|modern xterm terminal emulat
261         setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
262         sgr=%?%p9%t\E(0%e\E(B%;\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m,
263         sgr0=\E(B\E[m, sitm=\E[3m, smacs=\E(0, smam=\E[?7h,
264 -       smcup=\E[?1049h, smir=\E[4h, smkx=\E[?1h\E=,
265 +       smir=\E[4h, smkx=\E[?1h\E=,
266         smm=\E[?1034h, smso=\E[7m, smul=\E[4m, tbc=\E[3g,
267         vpa=\E[%i%p1%dd, E3=\E[3J, use=ansi+pp, use=xterm+kbs,
268         use=vt100+enq,
269
270
271 [FILE:359:patches/patch-ncurses_Makefile.in]
272 --- ncurses/Makefile.in.orig    2018-01-15 19:28:45 UTC
273 +++ ncurses/Makefile.in
274 @@ -130,7 +130,7 @@ LDFLAGS             = @LDFLAGS@ @LD_MODEL@ @LIBS@
275  
276  SHLIB_DIRS     = -L../lib
277  SHLIB_LIST     = $(SHLIB_DIRS) @SHLIB_LIST@
278 -TINFO_LIST     = $(SHLIB_DIRS) @TINFO_LIST@
279 +TINFO_LIST     = $(SHLIB_DIRS) @TINFO_LIST@ -ldb-5
280  TICS_LIST      = $(SHLIB_DIRS) @TICS_LIST@
281  
282  RPATH_LIST     = @RPATH_LIST@
283