summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-02-18 07:04:43 +0000
committerUlrich Müller <ulm@gentoo.org>2009-02-18 07:04:43 +0000
commit8b93772666561f14978964aae30d0081102846f8 (patch)
tree66f8ede19c543de3734393971089f6be4a23c1e1 /app-emacs/wikipedia-mode
parentold (diff)
downloadgentoo-2-8b93772666561f14978964aae30d0081102846f8.tar.gz
gentoo-2-8b93772666561f14978964aae30d0081102846f8.tar.bz2
gentoo-2-8b93772666561f14978964aae30d0081102846f8.zip
Local USE flag for outline-magic.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'app-emacs/wikipedia-mode')
-rw-r--r--app-emacs/wikipedia-mode/ChangeLog6
-rw-r--r--app-emacs/wikipedia-mode/metadata.xml10
-rw-r--r--app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild9
3 files changed, 20 insertions, 5 deletions
diff --git a/app-emacs/wikipedia-mode/ChangeLog b/app-emacs/wikipedia-mode/ChangeLog
index 987667e2e464..cf6de547f8a1 100644
--- a/app-emacs/wikipedia-mode/ChangeLog
+++ b/app-emacs/wikipedia-mode/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emacs/wikipedia-mode
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/wikipedia-mode/ChangeLog,v 1.5 2009/02/15 19:00:50 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/wikipedia-mode/ChangeLog,v 1.6 2009/02/18 07:04:43 ulm Exp $
+
+ 18 Feb 2009; Ulrich Mueller <ulm@gentoo.org> metadata.xml,
+ wikipedia-mode-0.5-r1.ebuild:
+ Local USE flag for outline-magic.
*wikipedia-mode-0.5-r1 (15 Feb 2009)
diff --git a/app-emacs/wikipedia-mode/metadata.xml b/app-emacs/wikipedia-mode/metadata.xml
index bc306fe58224..526fe57e8937 100644
--- a/app-emacs/wikipedia-mode/metadata.xml
+++ b/app-emacs/wikipedia-mode/metadata.xml
@@ -2,4 +2,14 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>emacs</herd>
+<longdescription>
+ An Emacs major mode for editing articles in Wikipedia and other wikis
+ running MediaWiki software offline. This mode tweaks Emacs's behavior in
+ several ways to make it easier to edit MediaWiki articles. In particular,
+ wikipedia-mode provides syntax highlighting for MediaWiki markup.
+</longdescription>
+<use>
+ <flag name='outline-magic'>Enable support for outline-mode extensions
+ (<pkg>app-emacs/outline-magic</pkg>)</flag>
+</use>
</pkgmetadata>
diff --git a/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild b/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild
index 0b8ede97c061..a9f395dc16e8 100644
--- a/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild
+++ b/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild,v 1.1 2009/02/15 19:00:50 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/wikipedia-mode/wikipedia-mode-0.5-r1.ebuild,v 1.2 2009/02/18 07:04:43 ulm Exp $
inherit elisp eutils
@@ -11,13 +11,14 @@ SRC_URI="mirror://gentoo/${P}.el.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="outline-magic"
-RDEPEND="app-emacs/outline-magic"
+DEPEND="outline-magic? ( app-emacs/outline-magic )"
+RDEPEND="${DEPEND}"
SITEFILE="50${PN}-gentoo.el"
src_unpack() {
elisp_src_unpack
- epatch "${FILESDIR}/${P}-require-outline-magic.patch"
+ use outline-magic && epatch "${FILESDIR}/${P}-require-outline-magic.patch"
}