Add USES=terminfo and @terminfo.
Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3853