/[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.7 Revision 1.8
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.7 2012/10/11 15:39:20 nimiux Exp $ 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 4
5EAPI=4 5EAPI=4
6 6
7inherit elisp eutils 7inherit elisp eutils
8 8
13KEYWORDS="~alpha ~amd64 ppc ~ppc64 ~sparc ~x86" 13KEYWORDS="~alpha ~amd64 ppc ~ppc64 ~sparc ~x86"
14SLOT="0" 14SLOT="0"
15LICENSE="YaTeX" 15LICENSE="YaTeX"
16IUSE="linguas_ja" 16IUSE="linguas_ja"
17 17
18S=${WORKDIR}/${P/-/} 18S="${WORKDIR}/${P/-/}"
19ELISP_PATCHES="${PN}-1.76-gentoo.patch"
19SITEFILE="50${PN}-gentoo.el" 20SITEFILE="50${PN}-gentoo.el"
20
21src_prepare() {
22 epatch "${FILESDIR}/${PN}-1.76-gentoo.patch"
23}
24 21
25src_compile() { 22src_compile() {
26 # byte-compilation fails (as of 1.74): yatexlib.el requires fonts 23 # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
27 # that are only available under X 24 # that are only available under X
28 25 :
29 cd docs
30 cp yatexe yatex.info || die
31 cp yahtmle yahtml.info || die
32 if use linguas_ja; then
33 iconv -f ISO-2022-JP -t EUC-JP yatexj > yatex-ja.info || die
34 iconv -f ISO-2022-JP -t EUC-JP yahtmlj > yahtml-ja.info || die
35 fi
36} 26}
37 27
38src_install() { 28src_install() {
39 elisp-install ${PN} *.el || die 29 elisp-install ${PN} *.el || die
40 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die 30 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
41 31
42 insinto ${SITEETC}/${PN} 32 insinto ${SITEETC}/${PN}
43 doins help/YATEXHLP.eng 33 doins help/YATEXHLP.eng
44 34 doinfo docs/yatexe docs/yahtmle
45 doinfo docs/*.info
46 dodoc docs/*.eng 35 dodoc docs/*.eng
47 36
48 if use linguas_ja; then 37 if use linguas_ja; then
49 doins help/YATEXHLP.jp 38 doins help/YATEXHLP.jp
39 doinfo docs/yatexj docs/yahtmlj
50 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc 40 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
51 fi 41 fi
52} 42}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20