summaryrefslogtreecommitdiff
blob: 4a5123402544211e18a5c8f52ffcc80dc38b9372 (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emacs/php-mode/php-mode-1.5.0.ebuild,v 1.6 2009/11/24 21:09:12 fauli Exp $

inherit elisp

DESCRIPTION="GNU Emacs major mode for editing PHP code"
HOMEPAGE="http://php-mode.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"

LICENSE="GPL-3 FDL-1.2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""

SITEFILE=51${PN}-gentoo.el
DOCS="ChangeLog"

src_compile() {
	elisp_src_compile
	makeinfo ${PN}.texi || die "makeinfo failed"
}

src_install() {
	elisp_src_install
	doinfo ${PN}.info* || die "doinfo failed"
}