mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
Revert "terminfo: add terminfo database"
This reverts commit 2a50a9de83
.
This commit is contained in:
parent
b75fb12b68
commit
7a758a4cee
|
@ -26,7 +26,6 @@ SUBDIR= ${_colldef} \
|
|||
${_syscons} \
|
||||
tabset \
|
||||
termcap \
|
||||
terminfo \
|
||||
${_timedef} \
|
||||
${_vt} \
|
||||
${_zoneinfo}
|
||||
|
|
|
@ -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>
|
||||
|
Loading…
Reference in a new issue