# Template file for 'ex-vi' pkgname=ex-vi version=050325 revision=8 wrksrc="ex-${version}" build_style=gnu-makefile make_build_args="PREFIX=/usr TERMLIB=ncurses PRESERVEDIR=/var/tmp LARGEF=-DLARGEF" make_install_args="INSTALL=/usr/bin/install PRESERVEDIR=/var/tmp STRIP=" CFLAGS=-I. makedepends="ncurses-devel" short_desc="The original ex/vi text editor (Heirloom version)" maintainer="Christian Neukirchen " license="BSD" homepage="http://ex-vi.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/$pkgname/ex-${version}.tar.bz2" checksum=da4be7cf67e94572463b19e56850aa36dc4e39eb0d933d3688fe8574bb632409 disable_parallel_build=yes alternatives=" vi:ex:/usr/bin/ex-ex vi:ex.1:/usr/share/man/man1/ex-ex.1 vi:vi:/usr/bin/ex-vi vi:vi.1:/usr/share/man/man1/ex-vi.1 vi:view:/usr/bin/ex-view vi:view.1:/usr/share/man/man1/ex-view.1 " post_install() { vlicense LICENSE rm ${DESTDIR}/usr/share/man/man1/*edit.1 rm ${DESTDIR}/usr/bin/*edit ${DESTDIR}/usr/bin/vi ${DESTDIR}/usr/bin/view ln -sf ex-ex ${DESTDIR}/usr/bin/ex-vi ln -sf ex-ex ${DESTDIR}/usr/bin/ex-view mv ${DESTDIR}/usr/bin/ex ${DESTDIR}/usr/bin/ex-ex mv ${DESTDIR}/usr/share/man/man1/ex.1 ${DESTDIR}/usr/share/man/man1/ex-ex.1 mv ${DESTDIR}/usr/share/man/man1/vi.1 ${DESTDIR}/usr/share/man/man1/ex-vi.1 ln -sf ex-vi.1 ${DESTDIR}/usr/share/man/man1/ex-view.1 }