diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-02-20 17:02:22 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-02-20 17:02:22 +0000 |
commit | a500150a58d966d2ea4c344d16a95a8a97593462 (patch) | |
tree | 06b02a527b3471b258e94107cc948fd367537cc4 /app-emacs | |
parent | Version bump (diff) | |
download | gentoo-2-a500150a58d966d2ea4c344d16a95a8a97593462.tar.gz gentoo-2-a500150a58d966d2ea4c344d16a95a8a97593462.tar.bz2 gentoo-2-a500150a58d966d2ea4c344d16a95a8a97593462.zip |
Version bump, bug 259732.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/yasnippet/ChangeLog | 7 | ||||
-rw-r--r-- | app-emacs/yasnippet/yasnippet-0.5.10.ebuild | 48 |
2 files changed, 54 insertions, 1 deletions
diff --git a/app-emacs/yasnippet/ChangeLog b/app-emacs/yasnippet/ChangeLog index 0d63d775037f..c7cd3358d192 100644 --- a/app-emacs/yasnippet/ChangeLog +++ b/app-emacs/yasnippet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emacs/yasnippet # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/yasnippet/ChangeLog,v 1.5 2009/02/09 13:35:45 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/yasnippet/ChangeLog,v 1.6 2009/02/20 17:02:22 ulm Exp $ + +*yasnippet-0.5.10 (20 Feb 2009) + + 20 Feb 2009; Ulrich Mueller <ulm@gentoo.org> +yasnippet-0.5.10.ebuild: + Version bump, bug 259732. *yasnippet-0.5.9 (09 Feb 2009) diff --git a/app-emacs/yasnippet/yasnippet-0.5.10.ebuild b/app-emacs/yasnippet/yasnippet-0.5.10.ebuild new file mode 100644 index 000000000000..6eae703aae2b --- /dev/null +++ b/app-emacs/yasnippet/yasnippet-0.5.10.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/yasnippet/yasnippet-0.5.10.ebuild,v 1.1 2009/02/20 17:02:22 ulm Exp $ + +inherit elisp + +DESCRIPTION="Yet another snippet extension for Emacs" +HOMEPAGE="http://code.google.com/p/yasnippet/" +SRC_URI="http://yasnippet.googlecode.com/files/${P}.tar.bz2 + doc? ( http://yasnippet.googlecode.com/files/${PN}-doc-${PV}.tar.bz2 )" + +# Homepage says MIT licence, source contains GPL-2 copyright notice +LICENSE="MIT GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=">=app-emacs/dropdown-list-20080316" +RDEPEND="${DEPEND}" + +SITEFILE="50${PN}-gentoo.el" + +src_unpack() { + elisp_src_unpack + + cd "${S}" + # remove inlined copy of dropdown-list + sed -i -e '/^;;/N;/Contents of dropdown-list\.el/,$d' yasnippet.el || die +} + +src_install() { + elisp_src_install + + insinto "${SITEETC}/${PN}" + doins -r snippets || die "doins failed" + + if use doc; then + dohtml -r "${WORKDIR}"/doc/* || die "dohtml failed" + fi +} + +pkg_postinst() { + elisp-site-regen + + elog "Please add the following code into your .emacs to use yasnippet:" + elog "(yas/initialize)" + elog "(yas/load-directory \"${SITEETC}/${PN}/snippets\")" +} |