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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
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/app-emacs/yatex/yatex-1.76.ebuild,v 1.10 2012/10/14 18:50:40 armin76 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.76.ebuild,v 1.11 2012/10/15 21:46:04 ulm Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit elisp eutils 7inherit elisp eutils
8 8
22 22
23src_compile() { 23src_compile() {
24 # byte-compilation fails (as of 1.74): yatexlib.el requires fonts 24 # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
25 # that are only available under X 25 # that are only available under X
26 26
27 local texi="yatexe.tex yahtmle.tex" 27 cd docs
28 use linguas_ja && texi+=" yatexj.tex yahtmlj.tex" 28 makeinfo yatexe.tex yahtmle.tex || die
29 29
30 cd docs 30 if use linguas_ja; then
31 # makeinfo fails, so use Emacs to generate Info from Texinfo 31 iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die
32 ${EMACS} ${EMACSFLAGS} -l texinfmt -f batch-texinfo-format ${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
33} 35}
34 36
35src_install() { 37src_install() {
36 elisp-install ${PN} *.el || die 38 elisp-install ${PN} *.el || die
37 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die 39 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
38 40
39 insinto ${SITEETC}/${PN} 41 insinto ${SITEETC}/${PN}
40 doins help/YATEXHLP.eng 42 doins help/YATEXHLP.eng
41 doinfo docs/yatex.info docs/yahtml.info 43 doinfo docs/yatex.info* docs/yahtml.info*
42 dodoc docs/*.eng 44 dodoc docs/*.eng
43 45
44 if use linguas_ja; then 46 if use linguas_ja; then
45 doins help/YATEXHLP.jp 47 doins help/YATEXHLP.jp
46 doinfo docs/yatex-ja.info docs/yahtml-ja.info 48 doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
47 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc 49 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
48 fi 50 fi
49} 51}

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20