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= https://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 # It's probably time to remove this GNU ld linker-specific hack
82 .if "${.MAKE.OS.NAME}" != "SunOS" && "${.MAKE.OS.NAME}" != "Darwin"
83 ${RM} ${STAGEDIR}${PREFIX}/lib/libncurses.${LIBEXT}
84 ${RM} ${STAGEDIR}${PREFIX}/lib/libncursesw.${LIBEXT}
85 ${ECHO} "INPUT(libncurses.so.6 AS_NEEDED(-ltinfo))" \
86 > ${STAGEDIR}${PREFIX}/lib/libncurses.${LIBEXT}
87 ${ECHO} "INPUT(libncursesw.so.6 AS_NEEDED(-ltinfow))" \
88 > ${STAGEDIR}${PREFIX}/lib/libncursesw.${LIBEXT}
90 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.${LIBEXT}
92 ${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
93 ${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
94 @${MKDIR} ${STAGEDIR}${PREFIX}/share/examples/ncurses/nowidec/c++
95 .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
96 ${INSTALL_DATA} ${WRKSRC}/build.nowidec/test/${f} \
97 ${STAGEDIR}${PREFIX}/share/examples/ncurses/nowidec/
99 .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
100 ${INSTALL_DATA} ${WRKSRC}/build.nowidec/c++/${f} \
101 ${STAGEDIR}${PREFIX}/share/examples/ncurses/nowidec/c++/
103 @${MKDIR} ${STAGEDIR}${STD_DOCDIR}
104 .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
105 ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${STD_DOCDIR}/
109 ${REINPLACE_CMD} -e 's,$$(INSTALL_PROG) ncurses-config,@INSTALL_SCRIPT@ ncurses-config,' ${WRKSRC}/misc/Makefile.in
110 ${REINPLACE_CMD} -e 's,/usr/include,${PREFIX}/include,g' ${WRKSRC}/misc/ncurses-config.in
113 ${SED} -i'' -e 's|-ldb-5||' -e 's|-Wl,.*/db5||' \
114 ${STAGEDIR}${PREFIX}/lib/pkgconfig/*.pc \
115 ${STAGEDIR}${PREFIX}/bin/ncurse*-config
117 post-install-STATIC-ON:
118 ${MV} ${STAGEDIR}${PREFIX}/share/misc/terminfo.db \
119 ${STAGEDIR}${PREFIX}/share/misc/terminfo.db.default
120 ${RM} -r ${STAGEDIR}${MANPREFIX}/man
123 (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
124 BUILD_WRKSRC=${WRKSRC}/build.widec do-build)
125 # Shift post-install to post-build. The installation uses the
126 # compiler even there.
127 (cd ${.CURDIR} && ${MAKE} ${.MAKEFLAGS} \
128 INSTALL_WRKSRC=${WRKSRC}/build.widec do-install)
129 # Remove -ldb-5 from pc files. It's been statically linked in
133 ${SET_LATE_CONFIGURE_ARGS} \
134 ${MAKE} ${.MAKEFLAGS} CONFIGURE_WRKSRC=${WRKSRC}/build.widec \
135 CONFIGURE_ARGS="${CONFIGURE_ARGS} --enable-widec" \
138 ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.widec/${d}/
139 ${CP} -R ${WRKSRC}/${d}/* ${WRKSRC}/build.nowidec/${d}/
143 @${MKDIR} ${WRKSRC}/build.widec
144 @${MKDIR} ${WRKSRC}/build.nowidec
147 # static libdb requires post-linking with pthread library
148 ${REINPLACE_CMD} -e 's|(LIBS_TIC)|(LIBS_TIC) -lpthread|' \
149 -e 's|(LIBS_TINFO)|(LIBS_TINFO) -lpthread|' \
150 ${WRKSRC}/progs/Makefile.in
151 ${REINPLACE_CMD} -e 's|(MATH_LIB)|(MATH_LIB) -lpthread|' \
152 ${WRKSRC}/test/Makefile.in
153 ${REINPLACE_CMD} -e 's|(TEST_LDFLAGS)|(TEST_LDFLAGS) -lpthread|' \
154 ${WRKSRC}/c++/Makefile.in
156 [FILE:558:descriptions/desc.primary.standard]
157 The ncurses software includes a SVr4 and XSI-Curses compatible
158 curses library as well as terminfo tools including "tic", "infocmp",
159 and "captoinfo". The library is used by other programs for text-mode
160 support of color, multiple highlights, forms-drawing characters,
161 automatic recognition of keypad and function-key sequences, and
164 The ncurses library uses a terminfo database (included), but can
165 be configured to use BSD's /etc/termcap file instead. This has
166 been approved by the old 4.4BSD curses maintainer as the official
167 4.4BSD curses successor.
170 [FILE:407:descriptions/desc.primary.static]
171 The ncurses software includes a SVr4 and XSI-Curses compatible
172 curses library as well as terminfo tools including "tic", "infocmp",
173 and "captoinfo". The library is used by other programs for text-mode
174 support of color, multiple highlights, forms-drawing characters,
175 automatic recognition of keypad and function-key sequences, and
178 This package was statically built against its own static libraries.
183 aa057eeeb4a14d470101eff4597d5833dcef5965331be3528c08d99cebaa0d17 3365395 ncurses-6.1.tar.gz
186 [FILE:17470:manifests/plist.primary.standard]
192 ncurses%%ABI_VER%%-config
193 ncursesw%%ABI_VER%%-config
224 libform.so.%%ABI_VER%%
225 libform.so.%%REL_VER%%
228 libformw.so.%%ABI_VER%%
229 libformw.so.%%REL_VER%%
232 libmenu.so.%%ABI_VER%%
233 libmenu.so.%%REL_VER%%
236 libmenuw.so.%%ABI_VER%%
237 libmenuw.so.%%REL_VER%%
242 libncurses.so.%%ABI_VER%%
243 libncurses.so.%%REL_VER%%
246 libncursesw.so.%%ABI_VER%%
247 libncursesw.so.%%REL_VER%%
250 libpanel.so.%%ABI_VER%%
251 libpanel.so.%%REL_VER%%
254 libpanelw.so.%%ABI_VER%%
255 libpanelw.so.%%REL_VER%%
258 libtinfo.so.%%ABI_VER%%
259 libtinfo.so.%%REL_VER%%
262 libtinfow.so.%%ABI_VER%%
263 libtinfow.so.%%REL_VER%%
282 ncurses%%ABI_VER%%-config.1.gz
283 ncursesw%%ABI_VER%%-config.1.gz
310 _nc_free_and_exit.3x.gz
337 assume_default_colors.3x.gz
338 assume_default_colors_sp.3x.gz
362 can_change_color.3x.gz
363 can_change_color_sp.3x.gz
373 color_content_sp.3x.gz
380 curs_add_wchstr.3x.gz
390 curs_border_set.3x.gz
447 def_prog_mode_sp.3x.gz
449 def_shell_mode_sp.3x.gz
457 delay_output_sp.3x.gz
467 dynamic_field_info.3x.gz
478 extended_color_content.3x.gz
479 extended_color_content_sp.3x.gz
480 extended_pair_content.3x.gz
481 extended_pair_content_sp.3x.gz
482 extended_slk_color.3x.gz
483 extended_slk_color_sp.3x.gz
515 form_field_attributes.3x.gz
516 form_field_buffer.3x.gz
517 form_field_info.3x.gz
518 form_field_just.3x.gz
520 form_field_opts.3x.gz
521 form_field_userptr.3x.gz
522 form_field_validation.3x.gz
534 form_request_by_name.3x.gz
535 form_request_name.3x.gz
536 form_requestname.3x.gz
550 get_escdelay_sp.3x.gz
605 init_extended_color.3x.gz
606 init_extended_color_sp.3x.gz
607 init_extended_pair.3x.gz
608 init_extended_pair_sp.3x.gz
639 is_term_resized.3x.gz
640 is_term_resized_sp.3x.gz
645 item_description.3x.gz
678 menu_attributes.3x.gz
696 menu_request_by_name.3x.gz
697 menu_request_name.3x.gz
698 menu_requestname.3x.gz
714 mouseinterval_sp.3x.gz
848 pair_content_sp.3x.gz
858 pos_form_cursor.3x.gz
859 pos_menu_cursor.3x.gz
874 reset_color_pairs.3x.gz
875 reset_prog_mode.3x.gz
876 reset_prog_mode_sp.3x.gz
877 reset_shell_mode.3x.gz
878 reset_shell_mode_sp.3x.gz
904 set_current_field.3x.gz
905 set_current_item.3x.gz
909 set_escdelay_sp.3x.gz
911 set_field_buffer.3x.gz
917 set_field_status.3x.gz
920 set_field_userptr.3x.gz
921 set_fieldtype_arg.3x.gz
922 set_fieldtype_choice.3x.gz
923 set_form_fields.3x.gz
929 set_form_userptr.3x.gz
934 set_item_userptr.3x.gz
939 set_menu_format.3x.gz
946 set_menu_pattern.3x.gz
947 set_menu_spacing.3x.gz
950 set_menu_userptr.3x.gz
953 set_panel_userptr.3x.gz
968 slk_attr_set_sp.3x.gz
984 slk_noutrefresh.3x.gz
985 slk_noutrefresh_sp.3x.gz
1008 term_variables.3x.gz
1043 unfocus_current_field.3x.gz
1054 update_panels_sp.3x.gz
1055 use_default_colors.3x.gz
1056 use_default_colors_sp.3x.gz
1059 use_extended_names.3x.gz
1060 use_legacy_coding.3x.gz
1061 use_legacy_coding_sp.3x.gz
1169 share/man/man7/term.7.gz
1170 share/misc/terminfo.db.default
1178 [FILE:745:manifests/plist.primary.static]
1184 ncurses%%ABI_VER%%-config
1185 ncursesw%%ABI_VER%%-config
1239 share/misc/terminfo.db.default
1247 [FILE:961:patches/patch-configure]
1248 --- configure.orig 2018-01-20 00:27:18 UTC
1250 @@ -5977,7 +5977,7 @@ case $cf_cv_system_name in
1251 LD_RPATH_OPT="-Wl,-rpath,"
1254 - LD_RPATH_OPT="-rpath "
1255 + LD_RPATH_OPT="-Wl,-rpath,"
1258 LD_RPATH_OPT="-Wl,-rpath,"
1259 @@ -5986,7 +5986,7 @@ case $cf_cv_system_name in
1260 LD_RPATH_OPT="-rpath "
1264 + LD_RPATH_OPT="-Wl,-R"
1268 @@ -6472,11 +6472,11 @@ CF_EOF
1269 # tested with SunOS 5.5.1 (solaris 2.5.1) and gcc 2.7.2
1270 # tested with SunOS 5.10 (solaris 10) and gcc 3.4.3
1271 if test "$DFT_LWR_MODEL" = "shared" ; then
1272 - LOCAL_LDFLAGS="-R \$(LOCAL_LIBDIR):\${libdir}"
1273 + LOCAL_LDFLAGS="-Wl,-R\$(LOCAL_LIBDIR):\${libdir}"
1274 LOCAL_LDFLAGS2="$LOCAL_LDFLAGS"
1276 if test "$cf_cv_enable_rpath" = yes ; then
1277 - EXTRA_LDFLAGS="-R \${libdir} $EXTRA_LDFLAGS"
1278 + EXTRA_LDFLAGS="-Wl,-R\${libdir} $EXTRA_LDFLAGS"
1281 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
1284 [FILE:359:patches/patch-ncurses_Makefile.in]
1285 --- ncurses/Makefile.in.orig 2018-01-15 19:28:45 UTC
1286 +++ ncurses/Makefile.in
1287 @@ -130,7 +130,7 @@ LDFLAGS = @LDFLAGS@ @LD_MODEL@ @LIBS@
1289 SHLIB_DIRS = -L../lib
1290 SHLIB_LIST = $(SHLIB_DIRS) @SHLIB_LIST@
1291 -TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@
1292 +TINFO_LIST = $(SHLIB_DIRS) @TINFO_LIST@ -ldb-5
1293 TICS_LIST = $(SHLIB_DIRS) @TICS_LIST@
1295 RPATH_LIST = @RPATH_LIST@