|
Lines 2-8
Link Here
|
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.5.ebuild,v 1.2 2004/11/12 15:31:39 g2boojum Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/docutils/docutils-0.3.5.ebuild,v 1.2 2004/11/12 15:31:39 g2boojum Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit distutils eutils |
5 |
inherit distutils eutils elisp-common |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="Set of python tools for processing plaintext docs into HTML, XML, etc." |
7 |
DESCRIPTION="Set of python tools for processing plaintext docs into HTML, XML, etc." |
| 8 |
HOMEPAGE="http://docutils.sourceforge.net/" |
8 |
HOMEPAGE="http://docutils.sourceforge.net/" |
|
Lines 12-18
Link Here
|
| 12 |
LICENSE="public-domain PYTHON BSD" |
12 |
LICENSE="public-domain PYTHON BSD" |
| 13 |
SLOT="0" |
13 |
SLOT="0" |
| 14 |
KEYWORDS="~x86 ~ppc ~alpha" |
14 |
KEYWORDS="~x86 ~ppc ~alpha" |
| 15 |
IUSE="glep" |
15 |
IUSE="glep emacs" |
| 16 |
|
16 |
|
| 17 |
DEPEND=">=dev-lang/python-2.1" |
17 |
DEPEND=">=dev-lang/python-2.1" |
| 18 |
|
18 |
|
|
Lines 57-62
Link Here
|
| 57 |
install_txt_doc $doc |
57 |
install_txt_doc $doc |
| 58 |
done |
58 |
done |
| 59 |
|
59 |
|
|
|
60 |
# emacs major mode and documentation |
| 61 |
if use emacs |
| 62 |
then |
| 63 |
cd ${S}/tools/editors/emacs |
| 64 |
elisp-install rst-mode rst-mode.el rst-html.el restructuredtext.el |
| 65 |
elisp-site-file-install ${FILESDIR}/50docutils-gentoo.el |
| 66 |
docinto emacs |
| 67 |
dodoc README.txt |
| 68 |
fi |
| 69 |
|
| 60 |
# installing Gentoo GLEP tools. Uses versioned GLEP distribution |
70 |
# installing Gentoo GLEP tools. Uses versioned GLEP distribution |
| 61 |
if use glep |
71 |
if use glep |
| 62 |
then |
72 |
then |
|
Lines 70-72
Link Here
|
| 70 |
newins ${GLEP_SRC}/glep_htmlwrite.py glep_html.py || die "newins writer failed" |
80 |
newins ${GLEP_SRC}/glep_htmlwrite.py glep_html.py || die "newins writer failed" |
| 71 |
fi |
81 |
fi |
| 72 |
} |
82 |
} |
|
|
83 |
|
| 84 |
pkg_postinst() { |
| 85 |
use emacs && elisp-site-regen |
| 86 |
} |
| 87 |
|
| 88 |
pkg_postrm() { |
| 89 |
use emacs && elisp-site-regen |
| 90 |
} |