summaryrefslogtreecommitdiff
blob: b7c34f54f766e91cd1932a0cc65d198e30a75f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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.4 2005/05/03 10:32:26 usata 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="x86 ~ppc-macos ~ppc"

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}
}