# $Id: Portfile 23099 2007-03-25 01:41:27Z pipping@macports.org $ PortSystem 1.0 name xterm version 225 categories x11 platforms darwin maintainers pesco@gmx.de 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://dickey.his.com/xterm/ master_sites ftp://invisible-island.net/xterm/ extract.suffix .tgz checksums md5 dbd31341a9ccb982647416e8d27b0f00 \ sha1 55598c979da15fe219ddd07bfdd15eb08460026b \ rmd160 ceba9372d85ef1a74f3a2ebeb37199bc80949006 depends_lib lib:libX11.6:XFree86 port:ncurses configure.args --mandir=${prefix}/share/man \ CPPFLAGS="-I${prefix}/include" \ LDFLAGS="-L${prefix}/lib" # FLAGS in configure.env are ignored. 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 } platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 }