| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.76.ebuild,v 1.7 2012/10/11 15:39:20 nimiux Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit elisp eutils
|
| 8 |
|
| 9 |
DESCRIPTION="Yet Another TeX mode for Emacs"
|
| 10 |
HOMEPAGE="http://www.yatex.org/"
|
| 11 |
SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
|
| 12 |
|
| 13 |
KEYWORDS="~alpha ~amd64 ppc ~ppc64 ~sparc ~x86"
|
| 14 |
SLOT="0"
|
| 15 |
LICENSE="YaTeX"
|
| 16 |
IUSE="linguas_ja"
|
| 17 |
|
| 18 |
S="${WORKDIR}/${P/-/}"
|
| 19 |
ELISP_PATCHES="${PN}-1.76-gentoo.patch"
|
| 20 |
SITEFILE="50${PN}-gentoo.el"
|
| 21 |
|
| 22 |
src_compile() {
|
| 23 |
# byte-compilation fails (as of 1.74): yatexlib.el requires fonts
|
| 24 |
# that are only available under X
|
| 25 |
:
|
| 26 |
}
|
| 27 |
|
| 28 |
src_install() {
|
| 29 |
elisp-install ${PN} *.el || die
|
| 30 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
|
| 31 |
|
| 32 |
insinto ${SITEETC}/${PN}
|
| 33 |
doins help/YATEXHLP.eng
|
| 34 |
doinfo docs/yatexe docs/yahtmle
|
| 35 |
dodoc docs/*.eng
|
| 36 |
|
| 37 |
if use linguas_ja; then
|
| 38 |
doins help/YATEXHLP.jp
|
| 39 |
doinfo docs/yatexj docs/yahtmlj
|
| 40 |
dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
|
| 41 |
fi
|
| 42 |
}
|