1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 VARIANTS= standard static
8 SDESC[standard]= Terminal-independent lib for full-screen output
9 SDESC[static]= Minimal static-only version of ncurses
10 HOMEPAGE= http://invisible-island.net/ncurses/ncurses.html
14 SITES[main]= http://invisible-mirror.net/archives/ncurses/
15 ftp://invisible-island.net/ncurses/
16 DISTFILE[1]= ncurses-6.1.tar.gz:main
18 SPKGS[standard]= complete
22 SPKGS[static]= primary
24 OPTIONS_AVAILABLE= STATIC
25 OPTIONS_STANDARD= none
26 VOPTS[static]= STATIC=ON
28 USES= bdb:static pkgconfig terminfo:primary shebangfix
31 LICENSE_FILE= MIT:{{WRKSRC}}/COPYING
34 SHEBANG_FILES= test/tracemunch
37 CONFIGURE_WRKSRC= {{WRKSRC}}/build.nowidec
38 CONFIGURE_SCRIPT= ../configure
39 CONFIGURE_ARGS= --datadir={{PREFIX}}/share/misc
45 --disable-home-terminfo
48 --includedir={{PREFIX}}/include/ncurses
52 --disable-root-environ
53 --with-manpage-format=gzip
56 --without-manpage-renames
58 --mandir={{MANPREFIX}}/man
60 --with-shlib-version=rel
61 --datadir={{PREFIX}}/share/misc
62 --with-default-terminfo-dir={{PREFIX}}/share/misc/terminfo
63 --with-terminfo-dirs={{PREFIX}}/share/misc/terminfo:/usr/share/terminfo
64 CONFIGURE_ENV= gnat_exists="no"
66 BUILD_WRKSRC= {{WRKSRC}}/build.nowidec
69 INSTALL_WRKSRC= {{WRKSRC}}/build.nowidec
70 INSTALL_REQ_TOOLCHAIN= yes
75 VAR_OPSYS[sunos]= CONFIGURE_ENV=LIBS="-lrt -lresolv -lsocket"
77 [STATIC].CONFIGURE_ARGS_OFF= --with-shared=yes
78 [STATIC].CONFIGURE_ARGS_ON= --enable-shared=no
80 post-install-STATIC-OFF:
81 if [ "${OPSYS}" != "SunOS" ]; then \
82 ${RM} ${STAGEDIR}${PREFIX}/lib/libncurses.so; \
83 ${RM} ${STAGEDIR}${PREFIX}/lib/libncursesw.so; \
84 ${ECHO} "INPUT(libncurses.so.6 AS_NEEDED(-ltinfo))" \
85 > ${STAGEDIR}${PREFIX}/lib/libncurses.so; \
86 ${ECHO} "INPUT(libncursesw.so.6 AS_NEEDED(-ltinfow))" \
87 > ${STAGEDIR}${PREFIX}/lib/libncursesw.so; \
89 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.6.1
90 ${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
91 ${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
92 @${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/ncurses/nowidec/c++
93 .for f in Makefile README blue.c bs.6 bs.c cardfile.c cardfile.dat ditto.c dots.c filter.c firework.c firstlast.c gdc.6 gdc.c hanoi.c hashtest.c knight.c lrtest.c ncurses.c newdemo.c railroad.c rain.c tclock.c test.priv.h testaddch.c testcurs.c testscanw.c view.c worm.c xmas.c
94 ${INSTALL_DATA} ${WRKSRC}/build.nowidec/test/${f} \
95 ${STAGEDIR}${PREFIX}/share/examples/ncurses/nowidec/
97 .for f in Makefile NEWS PROBLEMS README-first cursesapp.cc cursesapp.h cursesf.cc cursesf.h cursesm.cc cursesm.h cursesmain.cc cursesp.cc cursesp.h cursesw.cc cursesw.h cursslk.cc cursslk.h demo.cc etip.h internal.h
98 ${INSTALL_DATA} ${WRKSRC}/build.nowidec/c++/${f} \
99 ${STAGEDIR}${PREFIX}/share/examples/ncurses/nowidec/c++/
101 @${MKDIR} ${STAGEDIR}${STD_DOCDIR}
102 .for f in ANNOUNCE NEWS README doc/html/announce.html doc/hackguide.doc doc/html/hackguide.html doc/html/index.html doc/ncurses-intro.doc doc/html/ncurses-intro.html
103 ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${STD_DOCDIR}/
107 ${REINPLACE_CMD} -e 's,$$(INSTALL_PROG) ncurses-config,@INSTALL_SCRIPT@ ncurses-config,' ${WRKSRC}/misc/Makefile.in
108 ${REINPLACE_CMD} -e 's,/usr/include,${PREFIX}/include,g' ${WRKSRC}/misc/ncurses-config.in
111 ${SED} -i'' -e 's|-ldb-5||' -e 's|-Wl,.*/db5||' \
112 ${STAGEDIR}${PREFIX}/lib/pkgconfig/*.pc \
113 ${STAGEDIR}${PREFIX}/bin/ncurse*-config
115 post-install-STATIC-ON:
116 ${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
117 ${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
118 ${RM} -r ${STAGEDIR}${MANPREFIX}/man
121 (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
122 BUILD_WRKSRC=${WRKSRC}/build.widec do-build)
123 # Shift post-install to post-build. The installation uses the
124 # compiler even there.
125 (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
126 INSTALL_WRKSRC=${WRKSRC}/build.widec do-install)
127 # Remove -ldb-5 from pc files. It's been statically linked in
131 ${SET_LATE_CONFIGURE_ARGS} \
132 ${MAKE} ${.MAKEFLAGS} CONFIGURE_WRKSRC=${WRKSRC}/build.widec \
133 CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-widec" \
136 ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.widec/${d}/
137 ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.nowidec/${d}/
141 @${MKDIR} ${WRKSRC}/build.widec
142 @${MKDIR} ${WRKSRC}/build.nowidec
145 # static libdb requires post-linking with pthread library
146 ${REINPLACE_CMD} -e 's|(LIBS_TIC)|(LIBS_TIC) -lpthread|' \
147 -e 's|(LIBS_TINFO)|(LIBS_TINFO) -lpthread|' \
148 ${WRKSRC}/progs/Makefile.in
149 ${REINPLACE_CMD} -e 's|(MATH_LIB)|(MATH_LIB) -lpthread|' \
150 ${WRKSRC}/test/Makefile.in
151 ${REINPLACE_CMD} -e 's|(TEST_LDFLAGS)|(TEST_LDFLAGS) -lpthread|' \
152 ${WRKSRC}/c++/Makefile.in
154 [FILE:558:descriptions/desc.primary.standard]
155 The ncurses software includes a SVr4 and XSI-Curses compatible
156 curses library as well as terminfo tools including "tic", "infocmp",
157 and "captoinfo". The library is used by other programs for text-mode
158 support of color, multiple highlights, forms-drawing characters,
159 automatic recognition of keypad and function-key sequences, and
162 The ncurses library uses a terminfo database (included), but can
163 be configured to use BSD's /etc/termcap file instead. This has
164 been approved by the old 4.4BSD curses maintainer as the official
165 4.4BSD curses successor.
168 [FILE:407:descriptions/desc.primary.static]
169 The ncurses software includes a SVr4 and XSI-Curses compatible
170 curses library as well as terminfo tools including "tic", "infocmp",
171 and "captoinfo". The library is used by other programs for text-mode
172 support of color, multiple highlights, forms-drawing characters,
173 automatic recognition of keypad and function-key sequences, and
176 This package was statically built against its own static libraries.
181 aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17 3365395 ncurses-6.1.tar.gz
184 [FILE:17470:manifests/plist.primary.standard]
190 ncurses%%ABI_VER%%-config
191 ncursesw%%ABI_VER%%-config
222 libform.so.%%ABI_VER%%
223 libform.so.%%REL_VER%%
226 libformw.so.%%ABI_VER%%
227 libformw.so.%%REL_VER%%
230 libmenu.so.%%ABI_VER%%
231 libmenu.so.%%REL_VER%%
234 libmenuw.so.%%ABI_VER%%
235 libmenuw.so.%%REL_VER%%
240 libncurses.so.%%ABI_VER%%
241 libncurses.so.%%REL_VER%%
244 libncursesw.so.%%ABI_VER%%
245 libncursesw.so.%%REL_VER%%
248 libpanel.so.%%ABI_VER%%
249 libpanel.so.%%REL_VER%%
252 libpanelw.so.%%ABI_VER%%
253 libpanelw.so.%%REL_VER%%
256 libtinfo.so.%%ABI_VER%%
257 libtinfo.so.%%REL_VER%%
260 libtinfow.so.%%ABI_VER%%
261 libtinfow.so.%%REL_VER%%
280 ncurses%%ABI_VER%%-config.1.gz
281 ncursesw%%ABI_VER%%-config.1.gz
308 _nc_free_and_exit.3x.gz
335 assume_default_colors.3x.gz
336 assume_default_colors_sp.3x.gz
360 can_change_color.3x.gz
361 can_change_color_sp.3x.gz
371 color_content_sp.3x.gz
378 curs_add_wchstr.3x.gz
388 curs_border_set.3x.gz
445 def_prog_mode_sp.3x.gz
447 def_shell_mode_sp.3x.gz
455 delay_output_sp.3x.gz
465 dynamic_field_info.3x.gz
476 extended_color_content.3x.gz
477 extended_color_content_sp.3x.gz
478 extended_pair_content.3x.gz
479 extended_pair_content_sp.3x.gz
480 extended_slk_color.3x.gz
481 extended_slk_color_sp.3x.gz
513 form_field_attributes.3x.gz
514 form_field_buffer.3x.gz
515 form_field_info.3x.gz
516 form_field_just.3x.gz
518 form_field_opts.3x.gz
519 form_field_userptr.3x.gz
520 form_field_validation.3x.gz
532 form_request_by_name.3x.gz
533 form_request_name.3x.gz
534 form_requestname.3x.gz
548 get_escdelay_sp.3x.gz
603 init_extended_color.3x.gz
604 init_extended_color_sp.3x.gz
605 init_extended_pair.3x.gz
606 init_extended_pair_sp.3x.gz
637 is_term_resized.3x.gz
638 is_term_resized_sp.3x.gz
643 item_description.3x.gz
676 menu_attributes.3x.gz
694 menu_request_by_name.3x.gz
695 menu_request_name.3x.gz
696 menu_requestname.3x.gz
712 mouseinterval_sp.3x.gz
846 pair_content_sp.3x.gz
856 pos_form_cursor.3x.gz
857 pos_menu_cursor.3x.gz
872 reset_color_pairs.3x.gz
873 reset_prog_mode.3x.gz
874 reset_prog_mode_sp.3x.gz
875 reset_shell_mode.3x.gz
876 reset_shell_mode_sp.3x.gz
902 set_current_field.3x.gz
903 set_current_item.3x.gz
907 set_escdelay_sp.3x.gz
909 set_field_buffer.3x.gz
915 set_field_status.3x.gz
918 set_field_userptr.3x.gz
919 set_fieldtype_arg.3x.gz
920 set_fieldtype_choice.3x.gz
921 set_form_fields.3x.gz
927 set_form_userptr.3x.gz
932 set_item_userptr.3x.gz
937 set_menu_format.3x.gz
944 set_menu_pattern.3x.gz
945 set_menu_spacing.3x.gz
948 set_menu_userptr.3x.gz
951 set_panel_userptr.3x.gz
966 slk_attr_set_sp.3x.gz
982 slk_noutrefresh.3x.gz
983 slk_noutrefresh_sp.3x.gz
1006 term_variables.3x.gz
1041 unfocus_current_field.3x.gz
1052 update_panels_sp.3x.gz
1053 use_default_colors.3x.gz
1054 use_default_colors_sp.3x.gz
1057 use_extended_names.3x.gz
1058 use_legacy_coding.3x.gz
1059 use_legacy_coding_sp.3x.gz
1167 share/man/man7/term.7.gz
1168 share/misc/terminfo.db.default
1176 [FILE:745:manifests/plist.primary.static]
1182 ncurses%%ABI_VER%%-config
1183 ncursesw%%ABI_VER%%-config
1237 share/misc/terminfo.db.default
1245 [FILE:961:patches/patch-configure]
1246 --- configure.orig 2018-01-20 00:27:18 UTC
1248 @@ -5977,7 +5977,7 @@ case $cf_cv_system_name in
1249 LD_RPATH_OPT="-Wl,-rpath,"
1252 - LD_RPATH_OPT="-rpath "
1253 + LD_RPATH_OPT="-Wl,-rpath,"
1256 LD_RPATH_OPT="-Wl,-rpath,"
1257 @@ -5986,7 +5986,7 @@ case $cf_cv_system_name in
1258 LD_RPATH_OPT="-rpath "
1262 + LD_RPATH_OPT="-Wl,-R"
1266 @@ -6472,11 +6472,11 @@ CF_EOF
1267 # tested with SunOS 5.5.1 (solaris 2.5.1) and gcc 2.7.2
1268 # tested with SunOS 5.10 (solaris 10) and gcc 3.4.3
1269 if test "$DFT_LWR_MODEL" = "shared" ; then
1270 - LOCAL_LDFLAGS="-R \$(LOCAL_LIBDIR):\${libdir}"
1271 + LOCAL_LDFLAGS="-Wl,-R\$(LOCAL_LIBDIR):\${libdir}"
1272 LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
1274 if test "$cf_cv_enable_rpath" = yes ; then
1275 - EXTRA_LDFLAGS="-R \${libdir} $EXTRA_LDFLAGS"
1276 + EXTRA_LDFLAGS="-Wl,-R\${libdir} $EXTRA_LDFLAGS"
1279 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
1282 [FILE:359:patches/patch-ncurses_Makefile.in]
1283 --- ncurses/Makefile.in.orig 2018-01-15 19:28:45 UTC
1284 +++ ncurses/Makefile.in
1285 @@ -130,7 +130,7 @@ LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
1287 SHLIB_DIRS = -L../lib
1288 SHLIB_LIST = $(SHLIB_DIRS) @SHLIB_LIST@
1289 -TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@
1290 +TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@ -ldb-5
1291 TICS_LIST = $(SHLIB_DIRS) @TICS_LIST@
1293 RPATH_LIST = @RPATH_LIST@