/[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.14 - (show annotations) (download)
Wed Oct 17 11:26:05 2012 UTC (23 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Changes since 1.13: +2 -2 lines
stable ppc, bug #433187

(Portage version: 2.1.11.9/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.13 2012/10/17 03:02:22 phajdan.jr 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="amd64 ppc ~ppc64 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 cd docs
28 makeinfo yatexe.tex yahtmle.tex || die
29
30 if use linguas_ja; then
31 iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die
32 iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die
33 makeinfo yatex-ja.texi yahtml-ja.texi || die
34 fi
35 }
36
37 src_install() {
38 elisp-install ${PN} *.el || die
39 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
40
41 insinto ${SITEETC}/${PN}
42 doins help/YATEXHLP.eng
43 doinfo docs/yatex.info* docs/yahtml.info*
44 dodoc docs/*.eng
45
46 if use linguas_ja; then
47 doins help/YATEXHLP.jp
48 doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
49 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
50 fi
51 }

  ViewVC Help
Powered by ViewVC 1.1.20