# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-vim/cream/cream-0.30-r1.ebuild,v 1.2 2004/08/20 16:36:04 ciaranm Exp $ inherit vim-plugin DESCRIPTION="Cream is an easy-to-use configuration of the GVim text editor" HOMEPAGE="http://cream.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz linguas_en? ( ${HOMEPAGE}/cream-spell-dict-eng-l.zip ) linguas_fr? ( ${HOMEPAGE}/cream-spell-dict-fre-l.zip ) linguas_es? ( ${HOMEPAGE}/cream-spell-dict-spa-l.zip ) linguas_de? ( ${HOMEPAGE}/cream-spell-dict-ger-l.zip )" IUSE="" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 sparc ~ppc mips ~amd64" DEPEND="" RDEPEND=">=app-editors/gvim-6.2 dev-util/ctags" src_unpack() { mkdir -p ${S}/spelldicts # install spell dictionaries into ${S}/spelldicts local my_a for my_a in ${A} ; do if [ -z ${my_a/*spell-dict*/} ] ; then cd ${S}/spelldicts unpack ${my_a} else cd ${WORKDIR} unpack ${my_a} fi done # change installation path + fix the wrapper command (disable plugins) cd ${S} cat >cream <