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

Contents of /app-emacs/yatex/yatex-1.74.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (hide annotations) (download)
Wed Sep 26 05:18:08 2012 UTC (6 years, 5 months ago) by ulm
Branch: MAIN
Changes since 1.4: +3 -3 lines
Specify LICENSE more precisely. Bump ebuild to EAPI 4.

(Portage version: 2.1.11.20/cvs/Linux x86_64)

1 ulm 1.5 # Copyright 1999-2012 Gentoo Foundation
2 ulm 1.1 # Distributed under the terms of the GNU General Public License v2
3 ulm 1.5 # $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.74.ebuild,v 1.4 2009/12/13 17:04:49 armin76 Exp $
4 ulm 1.1
5     inherit elisp eutils
6    
7     DESCRIPTION="Yet Another TeX mode for Emacs"
8     HOMEPAGE="http://www.yatex.org/"
9     SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
10    
11 armin76 1.4 KEYWORDS="alpha amd64 ppc ~ppc64 sparc x86"
12 ulm 1.1 SLOT="0"
13 ulm 1.5 LICENSE="YaTeX"
14 ulm 1.1 IUSE="linguas_ja"
15    
16     S=${WORKDIR}/${P/-/}
17     SITEFILE="50${PN}-gentoo.el"
18    
19     src_unpack() {
20     unpack ${A}
21     cd "${S}"
22     epatch "${FILESDIR}/${PN}-1.73-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     mv yatexe yatex.info
31     mv yahtmle yahtml.info
32     if use linguas_ja; then
33     iconv -f ISO-2022-JP -t EUC-JP yatexj > yatex-ja.info
34     iconv -f ISO-2022-JP -t EUC-JP yahtmlj > yahtml-ja.info
35     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     doins help/YATEXHLP.eng || die "doins failed"
44    
45     doinfo docs/*.info || die "doinfo failed"
46     dodoc docs/*.eng || die "dodoc failed"
47    
48     if use linguas_ja; then
49     doins help/YATEXHLP.jp || die "doins failed"
50     dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc \
51     || die "dodoc failed"
52     fi
53     }

  ViewVC Help
Powered by ViewVC 1.1.20