/[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.5 - (hide annotations) (download)
Thu Oct 11 07:21:21 2012 UTC (2 years, 2 months ago) by blueness
Branch: MAIN
Changes since 1.4: +2 -2 lines
stable ppc, bug #433187

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 naota 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 blueness 1.5 # $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.76.ebuild,v 1.4 2012/10/10 15:39:16 ranger 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 blueness 1.5 KEYWORDS="~alpha ~amd64 ppc ~ppc64 ~sparc ~x86"
14 naota 1.1 SLOT="0"
15 ulm 1.2 LICENSE="YaTeX"
16 naota 1.1 IUSE="linguas_ja"
17    
18     S=${WORKDIR}/${P/-/}
19     SITEFILE="50${PN}-gentoo.el"
20    
21 ulm 1.2 src_prepare() {
22 naota 1.1 epatch "${FILESDIR}/${PN}-1.76-gentoo.patch"
23     }
24    
25     src_compile() {
26     # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
27     # that are only available under X
28    
29     cd docs
30 ulm 1.2 cp yatexe yatex.info || die
31     cp yahtmle yahtml.info || die
32 naota 1.1 if use linguas_ja; then
33 ulm 1.2 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 naota 1.1 fi
36     }
37    
38     src_install() {
39     elisp-install ${PN} *.el || die
40     elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
41    
42     insinto ${SITEETC}/${PN}
43 ulm 1.2 doins help/YATEXHLP.eng
44 naota 1.1
45 ulm 1.2 doinfo docs/*.info
46     dodoc docs/*.eng
47 naota 1.1
48     if use linguas_ja; then
49 ulm 1.2 doins help/YATEXHLP.jp
50     dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
51 naota 1.1 fi
52     }

  ViewVC Help
Powered by ViewVC 1.1.20