summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-07-08 21:13:01 +0000
committerNaohiro Aota <naota@gentoo.org>2012-07-08 21:13:01 +0000
commit6a1b1a8332215abf3a577b65b598720470ccc0ba (patch)
tree8d123a2482c393d76b31ece43de1c11e3f331f04 /app-emacs
parentppc stable (bug 410671) (diff)
downloadgentoo-2-6a1b1a8332215abf3a577b65b598720470ccc0ba.tar.gz
gentoo-2-6a1b1a8332215abf3a577b65b598720470ccc0ba.tar.bz2
gentoo-2-6a1b1a8332215abf3a577b65b598720470ccc0ba.zip
Version bump to 1.76.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/yatex/ChangeLog11
-rw-r--r--app-emacs/yatex/files/yatex-1.76-gentoo.patch16
-rw-r--r--app-emacs/yatex/yatex-1.76.ebuild53
3 files changed, 77 insertions, 3 deletions
diff --git a/app-emacs/yatex/ChangeLog b/app-emacs/yatex/ChangeLog
index a3b882fa7e39..a46076933f84 100644
--- a/app-emacs/yatex/ChangeLog
+++ b/app-emacs/yatex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emacs/yatex
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/ChangeLog,v 1.27 2009/12/13 17:35:38 ulm Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/yatex/ChangeLog,v 1.28 2012/07/08 21:13:01 naota Exp $
+
+*yatex-1.76 (08 Jul 2012)
+
+ 08 Jul 2012; Naohiro Aota <naota@gentoo.org> +files/yatex-1.76-gentoo.patch,
+ +yatex-1.76.ebuild:
+ Version bump to 1.76.
13 Dec 2009; Ulrich Mueller <ulm@gentoo.org> -yatex-1.72.ebuild,
-files/yatex-1.72-gentoo.diff, -files/yatex-1.72-yatexhlp-gentoo.diff,
@@ -101,4 +107,3 @@
12 Sep 2003; Mamoru KOMACHI <usata@gentoo.org> yatex-1.71.ebuild:
Initial import. Ebuild submitted by Naoaki Shindo
<shindo-n@zephyr.dti.ne.jp> at GentooJP BugTrack.
-
diff --git a/app-emacs/yatex/files/yatex-1.76-gentoo.patch b/app-emacs/yatex/files/yatex-1.76-gentoo.patch
new file mode 100644
index 000000000000..b961b31798e1
--- /dev/null
+++ b/app-emacs/yatex/files/yatex-1.76-gentoo.patch
@@ -0,0 +1,16 @@
+--- 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.")
diff --git a/app-emacs/yatex/yatex-1.76.ebuild b/app-emacs/yatex/yatex-1.76.ebuild
new file mode 100644
index 000000000000..db2a6075c0fd
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.76.ebuild
@@ -0,0 +1,53 @@
+# 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.76.ebuild,v 1.1 2012/07/08 21:13:01 naota 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="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+SLOT="0"
+LICENSE="as-is"
+IUSE="linguas_ja"
+
+S=${WORKDIR}/${P/-/}
+SITEFILE="50${PN}-gentoo.el"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PN}-1.76-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
+}