/[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.8 Revision 1.9
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.8 2012/10/11 16:31:17 ulm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/yatex-1.76.ebuild,v 1.9 2012/10/11 18:59:14 ulm Exp $
4 4
5EAPI=4 5EAPI=4
6 6
7inherit elisp eutils 7inherit elisp eutils
8 8
9DESCRIPTION="Yet Another TeX mode for Emacs" 9DESCRIPTION="Yet Another TeX mode for Emacs"
10HOMEPAGE="http://www.yatex.org/" 10HOMEPAGE="http://www.yatex.org/"
11SRC_URI="http://www.yatex.org/${P/-/}.tar.gz" 11SRC_URI="http://www.yatex.org/${P/-/}.tar.gz"
12 12
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" 19ELISP_PATCHES="${PN}-1.76-gentoo.patch
20 ${PN}-1.76-direntry.patch"
20SITEFILE="50${PN}-gentoo.el" 21SITEFILE="50${PN}-gentoo.el"
21 22
22src_compile() { 23src_compile() {
23 # byte-compilation fails (as of 1.74): yatexlib.el requires fonts 24 # byte-compilation fails (as of 1.74): yatexlib.el requires fonts
24 # that are only available under X 25 # that are only available under X
25 : 26
27 local texi="yatexe.tex yahtmle.tex"
28 use linguas_ja && texi+=" yatexj.tex yahtmlj.tex"
29
30 cd docs
31 # makeinfo fails, so use Emacs to generate Info from Texinfo
32 ${EMACS} ${EMACSFLAGS} -l texinfmt -f batch-texinfo-format ${texi} || die
26} 33}
27 34
28src_install() { 35src_install() {
29 elisp-install ${PN} *.el || die 36 elisp-install ${PN} *.el || die
30 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die 37 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
31 38
32 insinto ${SITEETC}/${PN} 39 insinto ${SITEETC}/${PN}
33 doins help/YATEXHLP.eng 40 doins help/YATEXHLP.eng
34 doinfo docs/yatexe docs/yahtmle 41 doinfo docs/yatex.info docs/yahtml.info
35 dodoc docs/*.eng 42 dodoc docs/*.eng
36 43
37 if use linguas_ja; then 44 if use linguas_ja; then
38 doins help/YATEXHLP.jp 45 doins help/YATEXHLP.jp
39 doinfo docs/yatexj docs/yahtmlj 46 doinfo docs/yatex-ja.info docs/yahtml-ja.info
40 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc 47 dodoc 00readme install docs/{htmlqa,qanda} docs/*.doc
41 fi 48 fi
42} 49}

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

  ViewVC Help
Powered by ViewVC 1.1.20