/[gentoo-x86]/app-emacs/php-mode/php-mode-102.ebuild
Gentoo

Contents of /app-emacs/php-mode/php-mode-102.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sat May 22 16:17:50 2004 UTC (15 years, 9 months ago) by usata
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Version bumped. Changed versioning. Thanks to Doug Goldstein <cardoe@cardoe.com>, closing bug #45456

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/app-emacs/php-mode/php-mode-102.ebuild,v 1.4 2003/09/06 22:01:25 msterret Exp $
4
5 inherit elisp
6
7 IUSE=""
8
9 DESCRIPTION="Major mode for editing PHP code"
10 HOMEPAGE="http://php-mode.sourceforge.net"
11 SRC_URI="mirror://gentoo/${P}.tar.bz2"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="x86 ~ppc"
15
16 DEPEND="virtual/emacs"
17
18 S="${WORKDIR}/${P}"
19
20 SITEFILE=50php-mode-gentoo.el
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S} && mv ${P}.el ${PN}.el
25 }
26
27 src_compile() {
28 emacs --batch -f batch-byte-compile --no-site-file --no-init-file *.el
29 }
30
31 src_install() {
32 elisp-install ${PN} *.el *.elc
33 elisp-site-file-install ${FILESDIR}/${SITEFILE}
34 }
35
36 pkg_postinst() {
37 elisp-site-regen
38 einfo "Please see ${SITELISP}/${PN}/php-mode.el for the complete documentation."
39 }
40
41 pkg_postrm() {
42 elisp-site-regen
43 }

  ViewVC Help
Powered by ViewVC 1.1.20