diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-10-21 18:11:13 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-10-21 18:11:13 +0000 |
commit | 8504a755682c6c502c28f983a3f1f3c2b3bfc149 (patch) | |
tree | 02f62809d1946e15f482c5ee3c416d16f55215fb /app-emacs/rst/rst-0.6.ebuild | |
parent | Marked stable on AMD64 as requested by Michael "Mr. Bones." Sterrett in bug #... (diff) | |
download | gentoo-2-8504a755682c6c502c28f983a3f1f3c2b3bfc149.tar.gz gentoo-2-8504a755682c6c502c28f983a3f1f3c2b3bfc149.tar.bz2 gentoo-2-8504a755682c6c502c28f983a3f1f3c2b3bfc149.zip |
Version bump.
(Portage version: 2.2_rc46/cvs/Linux i686)
Diffstat (limited to 'app-emacs/rst/rst-0.6.ebuild')
-rw-r--r-- | app-emacs/rst/rst-0.6.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/app-emacs/rst/rst-0.6.ebuild b/app-emacs/rst/rst-0.6.ebuild new file mode 100644 index 000000000000..72b84386b170 --- /dev/null +++ b/app-emacs/rst/rst-0.6.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emacs/rst/rst-0.6.ebuild,v 1.1 2009/10/21 18:11:13 ulm Exp $ + +inherit elisp + +DESCRIPTION="ReStructuredText support for Emacs" +HOMEPAGE="http://www.emacswiki.org/cgi-bin/wiki/reStructuredText" +SRC_URI="mirror://sourceforge/docutils/docutils-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" +IUSE="" + +S="${WORKDIR}/docutils-${PV}/tools/editors/emacs" +DOCS="README.txt" +SITEFILE="50${PN}-gentoo.el" + +pkg_setup() { + local have_emacs=$(elisp-emacs-version) + if [ "${have_emacs%%.*}" -ge 23 ]; then + echo + elog "Please note that \"${PN}\" is already included with Emacs 23 or" + elog "later, so ${CATEGORY}/${PN} is only needed for lower versions." + elog "You may select the active Emacs version with \"eselect emacs\"." + fi +} + +src_install() { + elisp_src_install + # prevent inclusion of package dir by subdirs.el + touch "${D}${SITELISP}/${PN}/.nosearch" +} |