void-packages/srcpkgs/ex-vi/template

25 lines
804 B
Bash

# Template file for 'ex-vi'
pkgname=ex-vi
version=050325
revision=4
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="
makedepends="ncurses-devel"
replaces="nvi>=0"
provides="nvi-${version}_${revision}"
short_desc="The original ex/vi text editor (Heirloom version)"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://ex-vi.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/ex-${version}.tar.bz2"
checksum=da4be7cf67e94572463b19e56850aa36dc4e39eb0d933d3688fe8574bb632409
disable_parallel_build=yes
post_install() {
vlicense LICENSE
rm ${DESTDIR}/usr/bin/edit
rm ${DESTDIR}/usr/share/man/man1/edit.1
}