/[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.11 - (hide annotations) (download)
Mon Oct 15 21:46:04 2012 UTC (2 years, 2 months ago) by ulm
Branch: MAIN
Changes since 1.10: +10 -8 lines
Fix character code issue with Texinfo files, bug 438456.

(Portage version: 2.1.11.27/cvs/Linux x86_64, signed Manifest commit with key 7DC6EA25)

1 naota 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ulm 1.11 # $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.76.ebuild,v 1.10 2012/10/14 18:50:40 armin76 Exp $
4 ulm 1.2
5     EAPI=4
6 naota 1.1
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 armin76 1.10 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
14 naota 1.1 SLOT="0"
15 ulm 1.2 LICENSE="YaTeX"
16 naota 1.1 IUSE="linguas_ja"
17    
18 ulm 1.8 S="${WORKDIR}/${P/-/}"
19 ulm 1.9 ELISP_PATCHES="${PN}-1.76-gentoo.patch
20     ${PN}-1.76-direntry.patch"
21 naota 1.1 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 ulm 1.9
27 ulm 1.11 cd docs
28     makeinfo yatexe.tex yahtmle.tex || die
29 ulm 1.9
30 ulm 1.11 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 naota 1.1 }
36    
37     src_install() {
38     elisp-install ${PN} *.el || die
39     elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
40    
41     insinto ${SITEETC}/${PN}
42 ulm 1.2 doins help/YATEXHLP.eng
43 ulm 1.11 doinfo docs/yatex.info* docs/yahtml.info*
44 ulm 1.2 dodoc docs/*.eng
45 naota 1.1
46     if use linguas_ja; then
47 ulm 1.2 doins help/YATEXHLP.jp
48 ulm 1.11 doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
49 ulm 1.2 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
50 naota 1.1 fi
51     }

  ViewVC Help
Powered by ViewVC 1.1.20