# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emacs/elscreen/elscreen-1.3.2.ebuild,v 1.3 2005/09/29 05:23:49 josejx Exp $ inherit elisp DESCRIPTION="VM addon by Robert Widhopf-Fenk. Additional functions for virtual folder selectors." HOMEPAGE="http://www.robf.de/Hacking/elisp/index.html" SRC_URI="http://www.robf.de/Hacking/elisp/${PN}.el" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86 ~sparc" DEPEND="virtual/emacs app-emacs/vm" IUSE="" SITEFILE=50vm-avirtual-gentoo.el src_unpack() { einfo "Copying file into ${S}..." mkdir -p ${S} cp ${DISTDIR}/${PN}.el ${S}/ || die } src_compile() { elisp-compile ${PN}.el } src_install() { elisp-install ${PN} *.el *.elc elisp-site-file-install ${FILESDIR}/${SITEFILE} } pkg_postinst() { elisp-site-regen einfo "Please see ${SITELISP}/${PN}/${PN}.el for the complete documentation." } pkg_postrm() { elisp-site-regen }