# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-emacs/vhdl-mode/vhdl-mode-3.33.2.ebuild,v 1.5 2005/06/05 11:42:39 hansmi Exp $ inherit elisp IUSE="" DESCRIPTION="VHDL-mode for Emacs" HOMEPAGE="http://opensource.ethz.ch/emacs/vhdl-mode.html" SRC_URI="http://opensource.ethz.ch/emacs/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="ppc ~ppc-macos x86" DEPEND="virtual/emacs" SITEFILE=50vhdl-mode-gentoo.el # do these manually because we only want vhdl-mode right now. The other .el # files are only needed for dependencies that need to be figured out src_compile() { /usr/bin/emacs --batch -f batch-byte-compile --no-site-file --no-init-file vhdl-mode.el || die } src_install() { elisp-install ${PN} vhdl-mode.el vhdl-mode.elc elisp-site-file-install ${FILESDIR}/${SITEFILE} }