/[gentoo-x86]/app-emacs/yatex/yatex-1.76.ebuild
Gentoo

Contents of /app-emacs/yatex/yatex-1.76.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Thu Oct 11 18:59:14 2012 UTC (21 months, 1 week ago) by ulm
Branch: MAIN
Changes since 1.8: +13 -6 lines
Fix GNU Info files, bug 437612.

(Portage version: 2.1.11.26/cvs/Linux x86_64)

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.8 2012/10/11 16:31:17 ulm 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 ${PN}-1.76-direntry.patch"
21 SITEFILE="50${PN}-gentoo.el"
22
23 src_compile() {
24 # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
25 # that are only available under X
26
27 local texi="yatexe.tex yahtmle.tex"
28 use linguas_ja && texi+=" yatexj.tex yahtmlj.tex"
29
30 cd docs
31 # makeinfo fails, so use Emacs to generate Info from Texinfo
32 ${EMACS} ${EMACSFLAGS} -l texinfmt -f batch-texinfo-format ${texi} || die
33 }
34
35 src_install() {
36 elisp-install ${PN} *.el || die
37 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
38
39 insinto ${SITEETC}/${PN}
40 doins help/YATEXHLP.eng
41 doinfo docs/yatex.info docs/yahtml.info
42 dodoc docs/*.eng
43
44 if use linguas_ja; then
45 doins help/YATEXHLP.jp
46 doinfo docs/yatex-ja.info docs/yahtml-ja.info
47 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20