summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2008-01-01 17:38:29 +0000
committerUlrich Müller <ulm@gentoo.org>2008-01-01 17:38:29 +0000
commitda32eacc86b7c95e40ac9b49c0e3d587888a1931 (patch)
treeeaa4c1fbc7091f4662d9f51de5c80da4667e93b9 /app-emacs/php-mode
parentAdd 1.51. (diff)
downloadgentoo-2-da32eacc86b7c95e40ac9b49c0e3d587888a1931.tar.gz
gentoo-2-da32eacc86b7c95e40ac9b49c0e3d587888a1931.tar.bz2
gentoo-2-da32eacc86b7c95e40ac9b49c0e3d587888a1931.zip
Version bump, thanks Flameeyes.
(Portage version: 2.1.4_rc12)
Diffstat (limited to 'app-emacs/php-mode')
-rw-r--r--app-emacs/php-mode/ChangeLog11
-rw-r--r--app-emacs/php-mode/files/digest-php-mode-1.4.0_beta3
-rw-r--r--app-emacs/php-mode/files/php-mode-1.4.0_beta-conditional-key.patch11
-rw-r--r--app-emacs/php-mode/files/php-mode-info-direntry.patch13
-rw-r--r--app-emacs/php-mode/php-mode-1.4.0_beta.ebuild36
5 files changed, 72 insertions, 2 deletions
diff --git a/app-emacs/php-mode/ChangeLog b/app-emacs/php-mode/ChangeLog
index 33cf9051e53b..5e6afadf201f 100644
--- a/app-emacs/php-mode/ChangeLog
+++ b/app-emacs/php-mode/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emacs/php-mode
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/php-mode/ChangeLog,v 1.23 2007/11/15 06:40:37 ulm Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/php-mode/ChangeLog,v 1.24 2008/01/01 17:38:28 ulm Exp $
+
+*php-mode-1.4.0_beta (01 Jan 2008)
+
+ 01 Jan 2008; Ulrich Mueller <ulm@gentoo.org>
+ +files/php-mode-1.4.0_beta-conditional-key.patch,
+ +files/php-mode-info-direntry.patch, +php-mode-1.4.0_beta.ebuild:
+ Version bump, thanks Flameeyes. Install GNU info file, FDL added to LICENSE.
15 Nov 2007; Ulrich Mueller <ulm@gentoo.org> -files/50php-mode-gentoo.el,
-php-mode-1.1.0.ebuild:
diff --git a/app-emacs/php-mode/files/digest-php-mode-1.4.0_beta b/app-emacs/php-mode/files/digest-php-mode-1.4.0_beta
new file mode 100644
index 000000000000..e450ca2bc009
--- /dev/null
+++ b/app-emacs/php-mode/files/digest-php-mode-1.4.0_beta
@@ -0,0 +1,3 @@
+MD5 19a6872f118a5c6c70a501c41870d37b php-mode-1.4.0-beta.tar.bz2 24840
+RMD160 97c0dec428bbfd759cd0dbb89d54fb08dfb92783 php-mode-1.4.0-beta.tar.bz2 24840
+SHA256 158a756e85768e32a9676f16bd9b7a4dd96e3b9130c32309cec114b9c67bdcb4 php-mode-1.4.0-beta.tar.bz2 24840
diff --git a/app-emacs/php-mode/files/php-mode-1.4.0_beta-conditional-key.patch b/app-emacs/php-mode/files/php-mode-1.4.0_beta-conditional-key.patch
new file mode 100644
index 000000000000..7e8ff1473886
--- /dev/null
+++ b/app-emacs/php-mode/files/php-mode-1.4.0_beta-conditional-key.patch
@@ -0,0 +1,11 @@
+--- php-mode-1.4.0-beta-orig/php-mode.el 2007-11-06 22:34:50.000000000 +0100
++++ php-mode-1.4.0-beta/php-mode.el 2008-01-01 16:26:26.000000000 +0100
+@@ -291,7 +291,7 @@
+ ;; (c-lang-defconst c-class-decl-kwds
+ ;; php php-class-decl-kwds)
+ (set (make-local-variable 'c-class-key) php-class-key)
+- (set (make-local-variable 'c-conditional-key) php-conditional-key)
++;; (set (make-local-variable 'c-conditional-key) php-conditional-key)
+
+ (defvar php-mode-syntax-table php-mode-syntax-table)
+ ;; this line makes $ into punctuation instead of a word constituent
diff --git a/app-emacs/php-mode/files/php-mode-info-direntry.patch b/app-emacs/php-mode/files/php-mode-info-direntry.patch
new file mode 100644
index 000000000000..0fca7d37a18a
--- /dev/null
+++ b/app-emacs/php-mode/files/php-mode-info-direntry.patch
@@ -0,0 +1,13 @@
+--- php-mode-1.4.0-beta-orig/php-mode.texi 2007-11-06 22:34:50.000000000 +0100
++++ php-mode-1.4.0-beta/php-mode.texi 2008-01-01 16:59:26.000000000 +0100
+@@ -4,6 +4,10 @@
+ @settitle PHP Mode Manual
+ @set version 1.4.0
+ @c %**end of header
++@dircategory Emacs
++@direntry
++* PHP mode: (php-mode). Major mode for editing PHP source code.
++@end direntry
+ @copying
+ This manual documents PHP mode version @value{version} for
+ use with GNU Emacs.
diff --git a/app-emacs/php-mode/php-mode-1.4.0_beta.ebuild b/app-emacs/php-mode/php-mode-1.4.0_beta.ebuild
new file mode 100644
index 000000000000..7a0e17378286
--- /dev/null
+++ b/app-emacs/php-mode/php-mode-1.4.0_beta.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 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.4.0_beta.ebuild,v 1.1 2008/01/01 17:38:28 ulm Exp $
+
+inherit elisp eutils
+
+DESCRIPTION="GNU Emacs major mode for editing PHP code"
+HOMEPAGE="http://php-mode.sourceforge.net"
+SRC_URI="mirror://gentoo/${P/_/-}.tar.bz2"
+
+LICENSE="GPL-3 FDL-1.2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE=""
+
+S="${WORKDIR}/${P/_/-}"
+
+SITEFILE=51${PN}-gentoo.el
+DOCS="ChangeLog"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-conditional-key.patch"
+ epatch "${FILESDIR}/${PN}-info-direntry.patch"
+}
+
+src_compile() {
+ elisp_src_compile
+ makeinfo ${PN}.texi || die "makeinfo failed"
+}
+
+src_install() {
+ elisp_src_install
+ doinfo ${PN}.info*
+}