Revert "terminfo: add terminfo database"

This reverts commit 2a50a9de83.
This commit is contained in:
Baptiste Daroussin 2021-03-18 10:57:23 +01:00
parent b75fb12b68
commit 7a758a4cee
2 changed files with 0 additions and 35 deletions

View File

@ -26,7 +26,6 @@ SUBDIR= ${_colldef} \
${_syscons} \
tabset \
termcap \
terminfo \
${_timedef} \
${_vt} \
${_zoneinfo}

View File

@ -1,34 +0,0 @@
PACKAGE= runtime
.PATH: ${SRCTOP}/contrib/ncurses/misc
TINFOBUILDDIR= ${.OBJDIR}/builddir
CLEANDIRS+= builddir
.include <src.tools.mk>
.if !defined(_SKIP_BUILD)
all: terminfo
.endif
META_TARGETS+= terminfo install-terminfo
terminfo: terminfo.src
mkdir -p ${TINFOBUILDDIR}
${TIC_CMD} -x -o ${TINFOBUILDDIR} ${.ALLSRC}
.if make(*install*)
TINFOS!= cd ${TINFOBUILDDIR} && find * -type f | LC_ALL=C sort
TINFOSDIRS= ${TINFOS:C/(.).*/\1/g:O:u}
.endif
beforeinstall: install-terminfo
install-terminfo:
mkdir -p ${DESTDIR}/usr/share/terminfo
cd ${DESTDIR}/usr/share/terminfo; mkdir -p ${TINFOSDIRS}
.for f in ${TINFOS}
${INSTALL} ${TAG_ARGS} \
-o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
${TINFOBUILDDIR}/${f} ${DESTDIR}/usr/share/terminfo/${f}
.endfor
.include <bsd.prog.mk>