blob: f64a35353cc3bca40eaed3f0693399411c63f1f0 [file] [log] [blame]
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect-vi/eselect-vi-1.1.7-r1.ebuild,v 1.10 2010/10/29 22:14:00 halcy0n Exp $
EAPI="3"
inherit eutils
DESCRIPTION="Manages the /usr/bin/vi symlink"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/vi.eselect-${PV}.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE=""
RDEPEND=">=app-admin/eselect-1.0.6"
src_prepare() {
epatch "${FILESDIR}/${P}-prefix.patch"
}
src_install() {
insinto /usr/share/eselect/modules
newins "${WORKDIR}/vi.eselect-${PV}" vi.eselect || die
}