xref: /freebsd/share/termcap/Makefile (revision 8a8f2ebd2d3e09cfc057b5ba6ced2fd3151cfb0f)
1afe61c15SRodney W. Grimes# reorder gives an editor command for most common terminals
2afe61c15SRodney W. Grimes# (in reverse order from n'th to 1'st most commonly used)
3afe61c15SRodney W. Grimes# to move them to the front of termcap
4afe61c15SRodney W. Grimes
5*8a8f2ebdSLexi WinterMAN=		termcap.5
6*8a8f2ebdSLexi WinterMANPACKAGE=	ncurses
7*8a8f2ebdSLexi Winter
8*8a8f2ebdSLexi Winter# Note: This is in ncurses-lib rather than ncurses because without it, ncurses
9*8a8f2ebdSLexi Winter# doesn't work, and the base ncurses package is optional.
10*8a8f2ebdSLexi WinterPACKAGE=	ncurses-lib
11423987b6SPoul-Henning KampFILES=		termcap termcap.db
12a7aaf57eSRuslan ErmilovFILESDIR=	${BINDIR}/misc
133078531dSMaxim SobolevCLEANFILES+=	termcap.db
146ad780caSMaxim Sobolev
156fe37d13SRuslan Ermilov.include <bsd.endian.mk>
16a8b8edb2SMaxim Sobolev.include <src.tools.mk>
176fe37d13SRuslan Ermilov
18afe61c15SRodney W. Grimestermcap.db: termcap
19a8b8edb2SMaxim Sobolev	${CAP_MKDB_CMD} ${CAP_MKDB_ENDIAN} -f ${.TARGET:R} ${.ALLSRC}
20afe61c15SRodney W. Grimes
21361e0905SWolfram Schneideretc-termcap:
22*8a8f2ebdSLexi Winter	${INSTALL_SYMLINK} -T "package=ncurses-lib" \
23cea7cfd2SEd Maste	    ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
24afe61c15SRodney W. Grimes
25afe61c15SRodney W. Grimes.include <bsd.prog.mk>
26