homepage http://elvis.the-little-red-haired-girl.org/
description A vi/ex clone
maintainers gmail.com:crosma
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.cc "${configure.cc} ${configure.optflags} [get_canonical_archflags cc]"
configure.args --without-x
patchfiles patch-src-ref.c.diff
# The x11 variant is seriously borked and needs patching to compile
#variant x11 { depends_lib port:xorg-libX11 port:xorg-libOTHERS???
# configure.args-delete --without-x
# configure.args-append --with-x
# configure.args-append --x-includes=${prefix}/include --x-libraries=${prefix}/lib
# build.args-append CC="gcc -I${prefix}/include `${prefix}/bin/freetype-config --cflags`"
reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile
reinplace "s|sh instman.sh|MANPATH=${destroot}${prefix}/share/man sh instman.sh|" ${worksrcpath}/Makefile
reinplace "s|MAN/manl MAN/man1|MAN/man1|" ${worksrcpath}/instman.sh
post-configure { reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/Makefile
Elvis 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).