Portfile

# $Id: Portfile 21197 2007-01-12 05:37:24Z yves@macports.org $
PortSystem 1.0
name Eterm
version 0.9.4
description Eterm is a color terminal emulator.
long_description Eterm is a color vt102 terminal emulator intended as a \
replacement for xterm. It is designed with a Freedom of \
Choice philosophy, leaving as much power, flexibility, and \
freedom as possible in the hands of the user. It is designed \
to look good and work well, but takes a feature-rich approach \
rather than one of minimalism while still maintaining speed \
and efficiency.
maintainers nomaintainer@macports.org
categories x11
platforms darwin
homepage http://www.eterm.org/
master_sites ${homepage}download/ sourceforge
checksums md5 b8869ee9c9b9516231af9eefa595cee3
#patchfiles patch_command.c
depends_lib lib:libast:libast
configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include -DDARWIN" \
LDDFLAGS="-lXmu"
configure.args --mandir=${prefix}/share/man \
--enable-escreen --enable-escreen-fx \
--enable-profile --enable-trans --disable-utmp \
--enable-auto-encoding --enable-multi-charset \
--enable-name-reporting-escapes

variant background {
distfiles-append ${name}-bg-${version}${extract.suffix}
checksums-delete md5 b8869ee9c9b9516231af9eefa595cee3
checksums ${distname}${extract.suffix} \
md5 b8869ee9c9b9516231af9eefa595cee3 \
checksums ${name}-bg-${version}${extract.suffix} \
md5 e8c6567b13d7fb760bded56c1d1a181d

post-extract {
cd ${workpath}
system "mv -f bg/tile/* ${distname}/bg/tile"
system "mv -f bg/scale/* ${distname}/bg/scale"
}
}

files