Portfile

# $Id: Portfile 20293 2006-11-01 17:47:33Z blair@macports.org $

PortSystem 1.0
name elvis
version 2.2_0
revision 1
homepage http://elvis.the-little-red-haired-girl.org/
description A vi/ex clone
categories editors
maintainers mike@gene-hacker.net
master_sites ftp://ftp.cs.pdx.edu/pub/elvis/ \
ftp://ftp.false.com/pub/elvis/ \
ftp://the.wiretapped.net/pub/elvis/ \
http://www.fh-wedel.de/pub/elvis/

checksums md5 6831b8df3e4a530395e66c2889783752
configure.args --with-x=no --bindir=${prefix}/bin --datadir=${prefix}/share/elvis

variant x11 { depends_lib lib:libX11.6:XFree86
configure.args-append --with-x }

pre-destroot { cd ${worksrcpath}
reinplace s|/usr/man/man.1|${destroot}${prefix}/share/man/man1| \
instman.sh
xinstall -d ${destroot}${prefix}/share/elvis
}

destroot.destdir BINDIR=${destroot}${prefix}/bin \
LIBDIR=${destroot}${prefix}/share/elvis \


long_description \
By Steve Kirkendall is a very powerful vi/ex clone providing \
a remarkable number of bells and whistles like, Syntax Highlighting, \
Multiple files in multiple windows, Networking support (http and ftp).