summaryrefslogtreecommitdiff
path: root/app-emacs/yatex
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-05-07 00:00:56 +0100
commit7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 (patch)
tree02bad8e4f1f060d4858a1a2ec3fc9404f0b7a197 /app-emacs/yatex
parent43c2a85d4e20318dd3d35872e348707900870067 (diff)
gentoo auto-resync : 07:05:2024 - 00:00:56
Diffstat (limited to 'app-emacs/yatex')
-rw-r--r--app-emacs/yatex/Manifest2
-rw-r--r--app-emacs/yatex/yatex-1.83.ebuild61
2 files changed, 63 insertions, 0 deletions
diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
index 30e4f5b53e9a..49eb645950da 100644
--- a/app-emacs/yatex/Manifest
+++ b/app-emacs/yatex/Manifest
@@ -3,5 +3,7 @@ AUX yatex-1.76-direntry.patch 1646 BLAKE2B 7b13a22accecada28782abac230b7e20aec5a
AUX yatex-1.80-texinfo-5.patch 8187 BLAKE2B 9039ff22af04b4f7bb7d7538eb73977aed30c14ad5329698691c30222b07c0cf2e531e85037bec790178c4003934ee082978ae37e7959bd5a76842659b1299b9 SHA512 856b16be069c6a77535b1800303b48467366d4765afa1d66ed5ccfc78c031b899ea027de8a95bb4687f19c06f9edb98d3e520e68adf2e93ca68acba96b62fbf8
AUX yatex-1.82-texinfo.patch 615 BLAKE2B 5ed48ec8800af1d09c3ef6777ca0688a325f28f71f89f52f659a02592619e48606800a186121e0e9f951dc7816088fda3ba7dcfcbebc0e9af5eac4d22b3f936d SHA512 d50d91bcd00b3c0e2824475b6035f7bc5e0afb7171b370e8b264de4afc289d8ee91c9596f43c90a9617214f8d4962355a4151f8327419d9f67e38ca9cd2cfa40
DIST yatex1.82.tar.gz 387358 BLAKE2B 77c88563e3beb7b29ac8a4d7204d14b966c9a88b1c2f04c6160089f0b61a70c9d6aa135d2e1cee6e13a90cc108428ce80e7ef0d0b8852b9a8651e67f34af7e1e SHA512 8c2890fc12e93aace5ac51e24da315a9d241aec023a3c67187c1fd28d2a7a02d1688b7e1177e1ba13411ecb394b5d581298c735cd80195e663bbdcf240f10fe5
+DIST yatex1.83.tar.gz 389259 BLAKE2B 40a5475c1b46e93531eeac3b7ed3e90f7a68c0faad91cc9c74b38af0e36a83578032615a2dfdcd7a6ede2b9eda36e128581c162a84b913362612cd07df9f1d81 SHA512 7e12532a5af8139b99457ff1137b19e5d1272f6bc13e3baea62d57e6ec036154ae733696ae8b6c1c1b8a6949aaa0425a34a8485ce61cbe0df72ceee1489eaedf
EBUILD yatex-1.82.ebuild 1285 BLAKE2B 49e733529bea8b5d8bdfe1674df111de0a79735205656f05c62919c212e7d53d116a0169ed50a3b80fe4a236238f6660574dbd2be894879ccf045e592f55b238 SHA512 fca7603ae6efd74c2e0f24455b7ff97cf75f5703592cba219c457e1cd82f7fb92f67742b55546704909d2dad74796fcd606038a9cdcfb98185fa52ba9bcbbf66
+EBUILD yatex-1.83.ebuild 1312 BLAKE2B 7f000160186b4b74e578df84525728b9486b5b8a11c14cec567d097868a2eabb87ff13a965cef92473f87e9d3c80c0e05f1ade9c1f73f88b1996ff1712cdcb94 SHA512 fb06d88b18cdc503689961fd08b57206bc48a321b1ce02a955fdc6fd83f1933e2fd00f58400af1ea4c639259408d4becef209a2ff4ab7c473b30045061794d44
MISC metadata.xml 783 BLAKE2B d13521013411b6e4c82b13fc3770bf6860f3f9661fe170d2a3ad44010a73ec5dea991f62e2e44b9ffcead09abc8767b5b583c05e7d9cacc7cea0f6f2315e8a62 SHA512 c24917eb292e5da3b32e61970874b02eb90354bae372455f4abb6dc9e0b724a25ce36285531185aadaf4d16420b004504745d890ec8d6ddb13247477bb77d594
diff --git a/app-emacs/yatex/yatex-1.83.ebuild b/app-emacs/yatex/yatex-1.83.ebuild
new file mode 100644
index 000000000000..989294002687
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.83.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Yet Another TeX mode for Emacs"
+HOMEPAGE="http://www.yatex.org/"
+SRC_URI="http://www.${PN}.org/${P/-}.tar.gz"
+S="${WORKDIR}/${P/-}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="l10n_ja"
+
+BDEPEND="
+ l10n_ja? ( virtual/libiconv )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.76-direntry.patch"
+ "${FILESDIR}/${PN}-1.80-texinfo-5.patch"
+ "${FILESDIR}/${PN}-1.82-texinfo.patch"
+)
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ sed -i "/(help-dir/,/)))/c\ (help-dir \"${SITEETC}/${PN}\"))" "${PN}hlp.el"
+
+ elisp_src_prepare
+}
+
+src_compile() {
+ cd docs
+ makeinfo {${PN},yahtml}e.tex || die
+
+ if use l10n_ja; then
+ iconv -f WINDOWS-31J -t UTF-8 "${PN}j.tex" > "${PN}-ja.texi" || die
+ iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex > yahtml-ja.texi || die
+ makeinfo {${PN},yahtml}-ja.texi || die
+ fi
+}
+
+src_install() {
+ elisp-install "${PN}" ./*.el
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+ insinto "${SITEETC}/${PN}"
+ doins help/YATEXHLP.eng
+ doinfo docs/{${PN},yahtml}.info*
+ dodoc install docs/*.eng
+
+ if use l10n_ja; then
+ doins help/YATEXHLP.jp
+ doinfo docs/{${PN},yahtml}-ja.info*
+ dodoc 00readme "${PN}.new" docs/{htmlqa,qanda,*.doc}
+ fi
+}