# $Id: Portfile 56671 2009-08-31 23:58:47Z jeremyhu@macports.org $ PortSystem 1.0 name xterm version 247 categories x11 platforms darwin maintainers 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 http://invisible-island.net/xterm/ master_sites ftp://invisible-island.net/xterm/ checksums md5 ef73f7f1eb8c863c51f2bfac1f55efd1 \ sha1 71c2110c60480aa3322938950eea1ae5b3eb1bf3 \ rmd160 cd9522a90cd15ad787d2ad133ad1e9a53153b198 extract.suffix .tgz depends_build \ port:xorg-xproto depends_run \ bin:luit:luit depends_lib \ port:ncurses \ port:expat \ port:zlib \ port:xorg-libXaw \ port:Xft2 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 # If -ltermcap stays in the LDFLAGS, xterm is linked against both # /usr/lib's and ${prefix}/lib's libncurses. post-configure { reinplace "s|-ltermcap|-lncurses|" ${worksrcpath}/Makefile } livecheck.check regex livecheck.url ${master_sites} livecheck.regex "${name}\\.tar\\.gz -> ${name}-(\\d+)\\.tgz" variant utmp description {Support updating utmp/utmpx database (installs setgid daemon)} { configure.args-append --with-utmp-setgid=daemon --with-utempter }