# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
maintainers {jeremyhu @jeremyhu} openmaintainer
description the ubiquitous X terminal emulator, stand-alone
long_description The xterm program is a terminal emulator for the X \
Window System. It supports a plethora of features, \
including colors, Unicode, etc.
homepage https://invisible-island.net/xterm/
master_sites ftp://ftp.invisible-island.net/pub/xterm/ \
https://invisible-mirror.net/archives/xterm/
checksums rmd160 c129107aeaba3ef0c55d8a7430610ff109b7818d \
sha256 aefb59eefd310268080d1a90a447368fb97a9a6737bfecfc3800bf6cc304104d \
patchfiles PR-7191532.patch
configure.args --mandir=${prefix}/share/man --enable-luit \
--enable-logging --enable-wide-chars \
--enable-256-color --enable-load-vt-fonts \
--x-include=${prefix}/include --x-lib=${prefix}/lib \
--with-app-defaults=${prefix}/share/X11/app-defaults
# If -ltermcap stays in the LDFLAGS, xterm is linked against both
# /usr/lib's and ${prefix}/lib's libncurses.
reinplace "s|-ltermcap|-lncurses|" ${worksrcpath}/Makefile
livecheck.url https://invisible-island.net/xterm/xterm.log.html
livecheck.regex "Patch #(\\d+)"
variant utmp description {Support updating utmp/utmpx database
(installs setgid daemon)} {
configure.args-append --with-utmp-setgid=daemon --with-utempter