freebsd-skq/share/mk/src.tools.mk
Baptiste Daroussin 61f66a1f44 ncurses: Add support for terminfo database
Along with the termcap database, ncurses will now lookup for the
terminfo database, note that the terminfo database is being looked
up first and then it fallsback on the termcap one.

While here drop our custom reader for the termcap database, over the
time it is needed maintenance to be able to catchup with changes on ncurses
side.

Install the ncurses tools which are needed to deal with the terminfo
database: tic, infocmp, toe

Replace our termcap only aware tools with the ncurses counterpart:
tput, tabs, tset, clear and reset

In particular they can your the extra capabilities described in the
terminfo database, which does not exist in termcap

Note that to add a new terminfo information to the database from ports
the ports will just need to add their extra information into:
/usr/local/share/site-terminfo/<firstletteroftheterm>/<term>

Tested by:	jbeich, manu
2021-02-25 14:25:11 +01:00

27 lines
894 B
Makefile

# Various tools used by the FreeBSD make installworld / distrib-dirs /
# distribution / installkernel targets. Also called "bootstrap tools"
# historically, however that name seemed to be ambiguous, as those tools
# merely help distributing the OS build artefacts into staging / production
# area.
#
# Very tiny subset of "itools", if you are old enough to know what it is.
#
# Please keep the list short, this file may and will be included from
# many places within the source tree. Rule of thumb: if the above mentioned
# targets survive with MYTOOL_CMD=false, then MYTOOL_CMD probably
# does not belong here. Stick it somewhere else, thank you very much!
#
# $FreeBSD$
.if !target(__<src.tools.mk>__)
INSTALL_CMD?= install
MTREE_CMD?= mtree
PWD_MKDB_CMD?= pwd_mkdb
SERVICES_MKDB_CMD?= services_mkdb
CAP_MKDB_CMD?= cap_mkdb
TIC_CMD?= tic
__<src.tools.mk>__:
.endif # !target(__<tools>__)