summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-10-11 20:15:02 +0000
committerUlrich Müller <ulm@gentoo.org>2011-10-11 20:15:02 +0000
commit667adbaf87aee03ca461d846832d961e9694de68 (patch)
treed1424899fdfacf54290735d77ac4a2bd354270ac /app-emacs/anything
parentpackage.mask >=baselayout-2.1, bug 386821 (diff)
downloadgentoo-2-667adbaf87aee03ca461d846832d961e9694de68.tar.gz
gentoo-2-667adbaf87aee03ca461d846832d961e9694de68.tar.bz2
gentoo-2-667adbaf87aee03ca461d846832d961e9694de68.zip
Initial import, from Emacs overlay. Ebuild contributed by Tom Prince <tom.prince@ualberta.net> in bug 385407, with modifications by me.
(Portage version: 2.1.10.25/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs/anything')
-rw-r--r--app-emacs/anything/ChangeLog11
-rw-r--r--app-emacs/anything/anything-1.3.2.ebuild40
-rw-r--r--app-emacs/anything/files/50anything-gentoo.el2
-rw-r--r--app-emacs/anything/metadata.xml8
4 files changed, 61 insertions, 0 deletions
diff --git a/app-emacs/anything/ChangeLog b/app-emacs/anything/ChangeLog
new file mode 100644
index 000000000000..87da18ba77d6
--- /dev/null
+++ b/app-emacs/anything/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-emacs/anything
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/anything/ChangeLog,v 1.1 2011/10/11 20:15:02 ulm Exp $
+
+*anything-1.3.2 (11 Oct 2011)
+
+ 11 Oct 2011; Ulrich Mueller <ulm@gentoo.org> +files/50anything-gentoo.el,
+ +anything-1.3.2.ebuild, +metadata.xml:
+ Initial import, from Emacs overlay. Ebuild contributed by Tom Prince
+ <tom.prince@ualberta.net> in bug 385407, with modifications by me.
+
diff --git a/app-emacs/anything/anything-1.3.2.ebuild b/app-emacs/anything/anything-1.3.2.ebuild
new file mode 100644
index 000000000000..58ecad118533
--- /dev/null
+++ b/app-emacs/anything/anything-1.3.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/anything/anything-1.3.2.ebuild,v 1.1 2011/10/11 20:15:02 ulm Exp $
+
+EAPI=4
+
+inherit elisp
+
+DESCRIPTION="Open anything - QuickSilver-like candidate-selection framework"
+HOMEPAGE="http://www.emacswiki.org/emacs/Anything"
+# snapshot from http://repo.or.cz/w/anything-config.git
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="extensions"
+
+S="${WORKDIR}/anything-config"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-compile *.el || die
+ elisp-make-autoload-file || die
+
+ if use extensions; then
+ BYTECOMPFLAGS="-L . -L extensions" elisp-compile extensions/*.el || die
+ fi
+}
+
+src_install() {
+ elisp-install ${PN} *.{el,elc} || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ if use extensions; then
+ elisp-install ${PN} extensions/*.{el,elc} || die
+ fi
+
+ dodoc README doc/anything.pdf
+}
diff --git a/app-emacs/anything/files/50anything-gentoo.el b/app-emacs/anything/files/50anything-gentoo.el
new file mode 100644
index 000000000000..5ae22f3a672b
--- /dev/null
+++ b/app-emacs/anything/files/50anything-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/anything-autoloads" nil t)
diff --git a/app-emacs/anything/metadata.xml b/app-emacs/anything/metadata.xml
new file mode 100644
index 000000000000..1574e79ead43
--- /dev/null
+++ b/app-emacs/anything/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<use>
+ <flag name='extensions'>Install optional extensions</flag>
+</use>
+</pkgmetadata>