summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2013-04-03 21:50:31 +0000
committerUlrich Müller <ulm@gentoo.org>2013-04-03 21:50:31 +0000
commita173a085a0120dfe295d73bcf405d41414bfd79b (patch)
tree1dd558a91c66cc7c5ea53284a25efa9c58b0cd0f /app-emacs
parentmuch nicer way of installing required files, thanks to floppym for the idea (diff)
downloadhistorical-a173a085a0120dfe295d73bcf405d41414bfd79b.tar.gz
historical-a173a085a0120dfe295d73bcf405d41414bfd79b.tar.bz2
historical-a173a085a0120dfe295d73bcf405d41414bfd79b.zip
Version bump. Fix build failure with texinfo-5.1, bug 464316. Remove old.
Package-Manager: portage-2.1.11.60/cvs/Linux x86_64 Manifest-Sign-Key: 0x9433907D693FB5B8!
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/yatex/ChangeLog10
-rw-r--r--app-emacs/yatex/Manifest21
-rw-r--r--app-emacs/yatex/files/yatex-1.73-gentoo.patch72
-rw-r--r--app-emacs/yatex/files/yatex-1.77-texinfo-5.patch86
-rw-r--r--app-emacs/yatex/yatex-1.74.ebuild53
-rw-r--r--app-emacs/yatex/yatex-1.77.ebuild52
6 files changed, 160 insertions, 134 deletions
diff --git a/app-emacs/yatex/ChangeLog b/app-emacs/yatex/ChangeLog
index 2b55f3cdaa46..9ef19a0c4240 100644
--- a/app-emacs/yatex/ChangeLog
+++ b/app-emacs/yatex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/yatex
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/ChangeLog,v 1.41 2012/10/17 11:26:05 blueness Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/ChangeLog,v 1.42 2013/04/03 21:50:25 ulm Exp $
+
+*yatex-1.77 (03 Apr 2013)
+
+ 03 Apr 2013; Ulrich Müller <ulm@gentoo.org> -files/yatex-1.73-gentoo.patch,
+ -yatex-1.74.ebuild, +yatex-1.77.ebuild, +files/yatex-1.77-texinfo-5.patch:
+ Version bump. Fix build failure with texinfo-5.1, bug 464316. Remove old.
17 Oct 2012; Anthony G. Basile <blueness@gentoo.org> yatex-1.76.ebuild:
stable ppc, bug #433187
diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
index 3a5df9230e8c..308f23165bc2 100644
--- a/app-emacs/yatex/Manifest
+++ b/app-emacs/yatex/Manifest
@@ -2,19 +2,26 @@
Hash: SHA256
AUX 50yatex-gentoo.el 488 SHA256 daf76513095da0d003c5a63f20c0648b66de5251607429bc4da8e951a066aaf9 SHA512 93a1d45bb228d1ac304fd3652246561a5b7a9d91aa230f0f0d62a9e557f9f61a1dafee900139b7588f3310fdb98fbd71d6347ee45b6527ae27e2095da2a652b5 WHIRLPOOL d141574fcd6dd533bdc21962ebec363597e985b4beba773ceaa1152dcfbc4765ec8daf1851278e8e5672ad0d239c712104a5da4d1f5d145801c0bad9a1c59253
-AUX yatex-1.73-gentoo.patch 2309 SHA256 b252cf493968e683b87328a63b7606c41c150736d244e92622730fd397cea491 SHA512 a9fd0c92f01dffcd9c28ab52ca690d5b060f05ba8e6d9464722c48b3f6c47871a9f3c52c369a61893d8f785db86339b275dcc36b9bad3069812e22fad107dac9 WHIRLPOOL 0f1343abb4f8a99d230d3b92464c2a6bac31b0f58c5f8895da0a2b8d0b793ca2e23055947de2a75c4e22bac859eae9c4002f579f9ccadb73e153e0528cfd2e60
AUX yatex-1.76-direntry.patch 1730 SHA256 184375f82722ab43a03957ed356282ff67e2ded46979b42b383f5a6eb5ea319e SHA512 e7ddb8270e5ece483a5a796b7c5b712059b3093ec1994565400afa6731efe76494cb86163632edde3b3bd167cf78886c216482ab4377c9fd8a969b37a41aee6e WHIRLPOOL 54daaa4c4c3f4c3c08870a4f040b96799a0a92475c089a0c562aa521892dafd4b03188e7185dc886a1d076046d94cd0338f6870ac82769bd8223ac0b684df17d
AUX yatex-1.76-gentoo.patch 668 SHA256 86fe6153f9a14896b3da54211d5da54753bee5b8f9e14080c05cd6003ba2678f SHA512 dc1bd4d95cec7eb9268560ba78c93a1551f28e0da83d9beb99313e034dfd86044f2971a2dc0ae830e975e78d0a79b951d02378c677eb4d39d5e7f6885e6377cd WHIRLPOOL 61303a21650b53b71a92f030f84ba839e7408319b1150ced3145ea152f4908f3ad519c52ee6d3d845eecb49c0b22ff5e552122cdd03a13fab22152719a60a95c
-DIST yatex1.74.tar.gz 346740 SHA256 8a3a5eab52244e4519f44142dcd7819a628bfbd37582a808a590b0aac55968e5 SHA512 04741eaa1727d44c1d52f10cd346390d1cb03a425fc1538d89486606c41e330a8f23f190e2f5d2133070085aec7df5c55d142c76b55491e85baccce29af03131 WHIRLPOOL b05f02e5451301bb1089c35a6d99d3d987dab280d772649455044a683dab14b4b0bb87e058ac314eac55fc1a76561ac62ae1dadc69d300e87712dfead0202cae
+AUX yatex-1.77-texinfo-5.patch 2968 SHA256 e388e1035b79bfc92dfbc688a1fa8d3d876600ec41c7926fc08981b242dae4df SHA512 91b2caf1adcd805fa10d9c0b2576a83fb57f549d64e9ee37b6873cd705ebaecf96853efb265b3f7e42f821f37c79b469ca8507fd1d3470190e04594788b7d8ad WHIRLPOOL cc574a1eab9fbe8d9ce9857b0aca7de355d47486307e6b55e007e36a5fbb8adcd48f78ff61373c9a4eb4a3fdbf189ae1818d8c4068a35a354df8a741cdd4d9d0
DIST yatex1.76.tar.gz 357552 SHA256 66c6f162a0ce4ee1edb231bacb4a3926ea4b5a45a4ba004330bb0bc0a7887acf SHA512 ff2afea1cb1b7e4bef223c13d4cc6b942b1d555959321e7cb97595dfe7ca3adbc9efa6db7d7d13cdd0bb5aa62eabc1d3383d07635b1dbbe5b15175bf99c4c416 WHIRLPOOL 878b199d1479a501fb36763daf6565ddfe340df2b607e346c8b4e5523c20df2cefe4a7254dd2a3f415fc4b2bc0371b79f9c504d801d3e4cc8553091bd2b4cd36
-EBUILD yatex-1.74.ebuild 1326 SHA256 7ebbef697f34fe62376b527477342443150efa001966803653856657db20e98c SHA512 a7f556a0908ad9b921943051d8433a20333d39cc6dd8d6ee1d58c442a1be235b4bba68edd3d038cedce7b11cf9bbb45f7ba6ce812d25591fb9d31296164e226e WHIRLPOOL d8536a228edccd899a06743b1482cc014fea08f281370d8dfec85150d98d1e6b68aca8cd8ddb2bf0c24c67bc6d76ad494d3ce0f1c26b06dabb0b534fb08ec9e4
+DIST yatex1.77.tar.gz 356721 SHA256 acc3e14c34ea5eba0c1a96cef6b5c7ab850e621f75cf25764e0ae37be483f177 SHA512 d6b909b540b0966cfcd35a36ad7c9e8d8a821ca668ea9b0a4d1f3267a45397800769dd47ce64f5f8cbda65c274a7f415c8e86b6598a365ea41104684cf9df07f WHIRLPOOL 1755e2592b04596f154afb4cf6598371b61ce8e85f0960dbbcbe5172f2543edcb610f7e93185480ae7bed492da2f7a66f450756e7615014e3a0034a928c7e3c9
EBUILD yatex-1.76.ebuild 1333 SHA256 5f61bc18118396afafd3525b92e64b66e7d6b195c3ec38f94b5953a214eb5b74 SHA512 46e989772014d0e12fee638e70d8d2131eb02d0bcd43cd2e08d1cb9cc999c10d6265d8a7e0e99828f8dff5e9f5c660d303aaf0ec9873439466f10676dd86fb77 WHIRLPOOL 3956ddc6daf2e50dd4a2208ec0de32427926dda7e11348d1c810c2edeb1afa02810d7a0476bee018929c5cb0c7ff2abdeae57fd95ab78af791bde9b382433c0f
-MISC ChangeLog 5182 SHA256 9b29424cc824b72a2f798207e7ee5c889f29f0c37ccc49081be92b62cda3195a SHA512 928cdd3e752c23fccf947db160f720a26cab2e41154379ac6f58fc5245026cf5f8bbeaaf8fcf9699c602c71bfa7874b5b2705e53735a2fad7b2b6592e4116844 WHIRLPOOL af670ce497834c81f10a7b535050a7dfddcc2a8bd5b1f0a56de0db5b375b19c26f0b6ec8c6740cefc5e2b77f064355ce10e2d4132b34c825f1350137a555a2cc
+EBUILD yatex-1.77.ebuild 1358 SHA256 a2c2a936a1f9b16996ba222edaf0b790525a4aa62de8d97f31ff48ff507cae7a SHA512 e320975ebf207b46d999e7c804797bdf43fdceac0cdccfe8d720fe2925c61cc65d1e851e11c20a48be3cfea1f892c4eebefcdcfb2f3402500424d4cf2b34ccb3 WHIRLPOOL d485c27bcc96ad43d2a66f98e287f0ce11185b936ced606e2de68d1a07333f69fa520ac904c884dd753a02bc5021a4e2be0bceab4d994d0f1c8acd800b330fc8
+MISC ChangeLog 5437 SHA256 f12798082a5adb272c108966c02bf314725b0d202391d107f1cce90da0a2c9ff SHA512 aedaa64070d83b5b9eede32a7dacb942860df3d96f23be7c2100c3d0cc659fece4d22293de3599cdb1fd7723825f919bb444867b7886b665fb07d0ca08cf0dd1 WHIRLPOOL f0a2da0aacb598389c3725c93f254be0665ef70fe69fa29f5890b7aa60224392d5d1a1da859b89a0e111ddb54f0c881f550168dd2c6d93fb901d5b8482aebb85
MISC metadata.xml 575 SHA256 e63f63c75b64c0cc80e80838c036ad50858c768fd1c7dd7fbb1a44be27e64eed SHA512 1146ea2f3b777108df947a7ecc848ee3b027ed49ad68e3b17d8f272065df6a0a8a9c543be007c2c254822f9d253c61e72ce04825c0488fb7a78652ff8e872563 WHIRLPOOL 0b6e7f74eb6eaa8cb27849f47095b233103dec9efb1d7430566279b9b897d4d151fd9001db989276897d56222a7f88ea6e0c6e3e0a9939feb256aa7ef6412e2d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlB+lZIACgkQl5yvQNBFVTVlnwCgiOA+ji9sRswbiEqIPovWMLCg
-v9AAoIJ9kbwR/+JeLcdd+aNR1HLGQ7Yr
-=Ra4m
+iQGcBAEBCAAGBQJRXKRJAAoJEJQzkH1pP7W4/I8L/1fgj4dBd92SQfh2rcdI3SSI
+YiwjcFnwcIGuRLySm7AZ1LWZvlWNznMh7haf3atg4mUBhTMSxAbQIzqShB6gksdV
+ISAcJ3jlS9uyOd2P0QjrF7kW5PAfH/ZHV9szJUnk0Sf2HJiWrPN9/8MHod6pXS7H
+rV/edb3d/2TR8nH+IFuTnzqu6zjAfPfsJJ3/fgw/p3QM2Ewz6vuijK8OlQTdFhG5
+lG1NLN3NGqPpBcm3uSAiTmmV3sonf7ifDGcUvThqQA+kJ1BZKnfOqpxoNqAdvTe3
+rG3AS/tNwglGXV0wx67OuHiQn7M77bxFzX58mvxNF+RH+DopIP508Tw+B7cKEY0O
+LbLI9kyxXNdBzniCzA/OhtiDMr68BxiooAHBOUjQyv1e496iSRrQXis9ql6KlmYD
+LAtsXoVFbov/4yclcS8lX9UJGZ4xrCpe2iYDQRZHbXAlUT+Q9Eto4bk/P2IpcgVq
+qNehcW9QblUrHbAOSBZcbqIJG8V8XzByHoyJsCqYgQ==
+=1gw0
-----END PGP SIGNATURE-----
diff --git a/app-emacs/yatex/files/yatex-1.73-gentoo.patch b/app-emacs/yatex/files/yatex-1.73-gentoo.patch
deleted file mode 100644
index 79a707516d1a..000000000000
--- a/app-emacs/yatex/files/yatex-1.73-gentoo.patch
+++ /dev/null
@@ -1,72 +0,0 @@
---- yatex1.73-orig/yatexhlp.el 2006-12-24 07:25:29.000000000 +0100
-+++ yatex1.73/yatexhlp.el 2008-05-12 12:19:02.000000000 +0200
-@@ -9,12 +9,7 @@
- (cond (YaTeX-japan "jp")
- (t "eng"))))
- (help-dir
-- (cond
-- ((and (boundp 'site-directory) site-directory) site-directory)
-- ((string-match "\\.app/" doc-directory) ;For Emacs.app(Darwin)
-- (expand-file-name "../site-lisp" doc-directory))
-- (YaTeX-emacs-19 (expand-file-name "../../site-lisp" doc-directory))
-- (t exec-directory))))
-+ "/usr/share/emacs/etc/yatex"))
- (defvar YaTeX-help-file
- (expand-file-name help-file help-dir)
- "*Help file of LaTeX/TeX commands or macros.")
---- yatex1.73-orig/docs/yahtmle 2006-12-24 07:28:10.000000000 +0100
-+++ yatex1.73/docs/yahtmle 2008-05-12 12:19:40.000000000 +0200
-@@ -3,8 +3,9 @@
- from file `yahtmle.tex'
- using `texinfmt.el' version 2.32 of 19 November 1993.
-
--
--
-+START-INFO-DIR-ENTRY
-+* yahtml: (yahtml). Yet Another HTML-mode for Emacs. (English).
-+END-INFO-DIR-ENTRY
-
- 
- File: yahtmle, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
---- yatex1.73-orig/docs/yahtmlj 2006-12-24 07:28:10.000000000 +0100
-+++ yatex1.73/docs/yahtmlj 2008-05-12 12:21:03.000000000 +0200
-@@ -3,8 +3,9 @@
- from file `yahtmlj.tex'
- using `texinfmt.el' version 2.32 of 19 November 1993.
-
--
--
-+START-INFO-DIR-ENTRY
-+* yahtml-ja: (yahtml-ja). Yet Another HTML-mode for Emacs. (Japanese).
-+END-INFO-DIR-ENTRY
-
- 
- File: yahtmlj, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
---- yatex1.73-orig/docs/yatexe 2006-12-24 07:28:10.000000000 +0100
-+++ yatex1.73/docs/yatexe 2008-05-12 12:20:30.000000000 +0200
-@@ -3,8 +3,9 @@
- from file `yatexe.tex'
- using `texinfmt.el' version 2.32 of 19 November 1993.
-
--
--
-+START-INFO-DIR-ENTRY
-+* YaTeX: (yatex). Yet Another tex-mode for Emacs. (English).
-+END-INFO-DIR-ENTRY
-
- 
- File: yatexe, Node: Top, Next: What is YaTeX?, Prev: (dir), Up: (dir)
---- yatex1.73-orig/docs/yatexj 2006-12-24 07:28:10.000000000 +0100
-+++ yatex1.73/docs/yatexj 2008-05-12 12:20:56.000000000 +0200
-@@ -3,8 +3,9 @@
- from file `yatexj.tex'
- using `texinfmt.el' version 2.32 of 19 November 1993.
-
--
--
-+START-INFO-DIR-ENTRY
-+* YaTeX-ja: (yatex-ja). Yet Another tex-mode for Emacs. (Japanese).
-+END-INFO-DIR-ENTRY
-
- 
- File: yatexj, Node: Top, Next: Intro, Prev: (dir), Up: (dir)
diff --git a/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch
new file mode 100644
index 000000000000..73ff873cce34
--- /dev/null
+++ b/app-emacs/yatex/files/yatex-1.77-texinfo-5.patch
@@ -0,0 +1,86 @@
+--- yatex1.77-orig/docs/yahtmle.tex
++++ yatex1.77/docs/yahtmle.tex
+@@ -1,4 +1,4 @@
+-\def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1
++@c \def\lang{eng} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+ @setfilename yahtml.info
+ @settitle Yet Another html-mode for Emacs
+--- yatex1.77-orig/docs/yahtmlj.tex
++++ yatex1.77/docs/yahtmlj.tex
+@@ -1,4 +1,4 @@
+-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+ @setfilename yahtml-ja.info
+ @settitle Yet Another html-mode for Emacs
+--- yatex1.77-orig/docs/yatexe.tex
++++ yatex1.77/docs/yatexe.tex
+@@ -1,4 +1,4 @@
+-\def\lang{jp} % -*- texinfo -*-
++@c \def\lang{jp} % -*- texinfo -*-
+ \input texinfo.tex
+ @setfilename yatex.info
+ @settitle Yet Another tex-mode for Emacs
+@@ -705,7 +705,7 @@
+ @item M-x YaTeX-section-overview
+ @dots{} Generate *Sectioning Lines* buffer
+ @end table
+-@cindex{Generate the listing of sectioning units}
++@cindex Generate the listing of sectioning units
+ from the LaTeX source buffer. In this listing buffer, typing @kbd{u} on
+ the sectioning command shifts up the corresponding sectioning command in
+ source text and @kbd{d} shifts down. After marking lines in the listing
+@@ -1087,7 +1087,7 @@
+ @node Invoking image processor, Jump to main file, Jump to corresponding object, Cursor jump
+ @comment node-name, next, previous, up
+ @section Invoking image processor
+-@cindex{Drawing tool invocation}
++@cindex Drawing tool invocation
+
+ `image-including line' described above means such lines as
+ @code{\epsfile@{file=foo.ps@}}. If you type @kbd{[prefix] g} on that
+@@ -2179,9 +2179,9 @@
+ @table @kbd
+ @item [F]
+ YaTeX:read-position
+-@itemx [A]
++@item [A]
+ Character list which can show up in the brackets
+-@itemx [D]
++@item [D]
+ Return the location specifier such as `[htb]'. When
+ nothing is entered, omit [] itself. If the possible characters
+ are "htbp", call this function as
+@@ -2189,9 +2189,9 @@
+
+ @item [F]
+ YaTeX:read-coordinates
+-@itemx [A]
++@item [A]
+ Base prompt, X-axis prompt, Y-axis prompt (each optional)
+-@itemx [D]
++@item [D]
+ Read the coordinates with the prompt ``BasePrompt X-axisPrompt:'' for
+ X-axis, ``BasePrompt Y-axisPrompt:'' for Y-axis, and return it in the form
+ of ``(X,Y)''. The default prompts are @code{Dimension}, @code{X},
+@@ -2199,9 +2199,9 @@
+
+ @item [F]
+ YaTeX:check-completion-type
+-@itemx [A]
++@item [A]
+ One of the symbols: 'begin, 'section, or 'maketitle
+-@itemx [D]
++@item [D]
+ Check the current completion type is specified one and cause error if
+ not. The variable @code{YaTeX-current-completion-type} holds the symbol
+ according to the current completion type.
+--- yatex1.77-orig/docs/yatexj.tex
++++ yatex1.77/docs/yatexj.tex
+@@ -1,4 +1,4 @@
+-\def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
++@c \def\lang{jp} % -*- texinfo -*- for Texinfo V.3.1
+ \input texinfo
+ @setfilename yatex-ja.info
+ @settitle Yet Another tex-mode for Emacs
diff --git a/app-emacs/yatex/yatex-1.74.ebuild b/app-emacs/yatex/yatex-1.74.ebuild
deleted file mode 100644
index 95369557a319..000000000000
--- a/app-emacs/yatex/yatex-1.74.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.74.ebuild,v 1.6 2012/10/14 18:50:40 armin76 Exp $
-
-inherit elisp eutils
-
-DESCRIPTION="Yet Another TeX mode for Emacs"
-HOMEPAGE="http://www.yatex.org/"
-SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
-
-KEYWORDS="amd64 ppc ~ppc64 x86"
-SLOT="0"
-LICENSE="YaTeX"
-IUSE="linguas_ja"
-
-S=${WORKDIR}/${P/-/}
-SITEFILE="50${PN}-gentoo.el"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${PN}-1.73-gentoo.patch"
-}
-
-src_compile() {
- # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
- # that are only available under X
-
- cd docs
- mv yatexe yatex.info
- mv yahtmle yahtml.info
- if use linguas_ja; then
- iconv -f ISO-2022-JP -t EUC-JP yatexj > yatex-ja.info
- iconv -f ISO-2022-JP -t EUC-JP yahtmlj > yahtml-ja.info
- fi
-}
-
-src_install() {
- elisp-install ${PN} *.el || die
- elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
-
- insinto ${SITEETC}/${PN}
- doins help/YATEXHLP.eng || die "doins failed"
-
- doinfo docs/*.info || die "doinfo failed"
- dodoc docs/*.eng || die "dodoc failed"
-
- if use linguas_ja; then
- doins help/YATEXHLP.jp || die "doins failed"
- dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc \
- || die "dodoc failed"
- fi
-}
diff --git a/app-emacs/yatex/yatex-1.77.ebuild b/app-emacs/yatex/yatex-1.77.ebuild
new file mode 100644
index 000000000000..73ff59072b6f
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.77.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.77.ebuild,v 1.1 2013/04/03 21:50:25 ulm Exp $
+
+EAPI=5
+
+inherit elisp eutils
+
+DESCRIPTION="Yet Another TeX mode for Emacs"
+HOMEPAGE="http://www.yatex.org/"
+SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+SLOT="0"
+LICENSE="YaTeX"
+IUSE="linguas_ja"
+
+S="${WORKDIR}/${P/-/}"
+ELISP_PATCHES="${PN}-1.76-gentoo.patch
+ ${PN}-1.76-direntry.patch
+ ${PN}-1.77-texinfo-5.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
+ # that are only available under X
+
+ cd docs
+ makeinfo yatexe.tex yahtmle.tex || die
+
+ if use linguas_ja; then
+ iconv -f WINDOWS-31J -t UTF-8 yatexj.tex >yatex-ja.texi || die
+ iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex >yahtml-ja.texi || die
+ makeinfo yatex-ja.texi yahtml-ja.texi || die
+ fi
+}
+
+src_install() {
+ elisp-install ${PN} *.el || die
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
+
+ insinto ${SITEETC}/${PN}
+ doins help/YATEXHLP.eng
+ doinfo docs/yatex.info* docs/yahtml.info*
+ dodoc docs/*.eng
+
+ if use linguas_ja; then
+ doins help/YATEXHLP.jp
+ doinfo docs/yatex-ja.info* docs/yahtml-ja.info*
+ dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
+ fi
+}