blob: e1bac1cd78f341738a1a63bb45bd23dcbd49ccef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
TEXLIVE_MODULE_CONTENTS="
collection-context.r69108
context.r69665
context-calendar-examples.r66947
context-collating-marks.r68696
context-cyrillicnumbers.r47085
context-filter.r62070
context-gnuplot.r47085
context-handlecsv.r69186
context-legacy.r69173
context-letter.r60787
context-mathsets.r47085
context-pocketdiary.r66953
context-simpleslides.r67070
context-squares.r68545
context-sudoku.r67289
context-texlive.r66924
context-transliterator.r61127
context-typescripts.r60422
context-vim.r62071
context-visualcounter.r47085
jmn.r45751
"
TEXLIVE_MODULE_DOC_CONTENTS="
context.doc.r69665
context-calendar-examples.doc.r66947
context-collating-marks.doc.r68696
context-cyrillicnumbers.doc.r47085
context-filter.doc.r62070
context-gnuplot.doc.r47085
context-handlecsv.doc.r69186
context-legacy.doc.r69173
context-letter.doc.r60787
context-mathsets.doc.r47085
context-notes-zh-cn.doc.r66725
context-pocketdiary.doc.r66953
context-simpleslides.doc.r67070
context-squares.doc.r68545
context-sudoku.doc.r67289
context-transliterator.doc.r61127
context-typescripts.doc.r60422
context-vim.doc.r62071
context-visualcounter.doc.r47085
"
TEXLIVE_MODULE_SRC_CONTENTS="
context-visualcounter.source.r47085
"
inherit greadme texlive-module
DESCRIPTION="TeXLive ConTeXt and packages"
LICENSE="BSD BSD-2 GPL-1+ GPL-2 GPL-3 LGPL-2+ LPPL-1.3 LPPL-1.3c MIT TeX TeX-other-free public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
COMMON_DEPEND="
>=dev-texlive/texlive-basic-2023
"
RDEPEND="
${COMMON_DEPEND}
dev-lang/ruby
"
DEPEND="
${COMMON_DEPEND}
>=app-text/texlive-core-2023[xetex]
"
TEXLIVE_MODULE_BINSCRIPTS="
texmf-dist/scripts/context/stubs-mkiv/unix/contextjit
texmf-dist/scripts/context/stubs-mkiv/unix/luatools
texmf-dist/scripts/context/stubs-mkiv/unix/mtxrunjit
texmf-dist/scripts/context/stubs/unix/texexec
texmf-dist/scripts/context/stubs/unix/texmfstart
"
src_prepare() {
default
# No need to install these .exe
rm -rf texmf-dist/scripts/context/stubs/{mswin,win64} || die
}
src_install() {
texlive-module_src_install
local mtxrun=/usr/share/texmf-dist/scripts/context/lua/mtxrun.lua
fperms 755 "${mtxrun}"
newbin - mtxrun <<-EOF
#!/bin/sh
export TEXMF_DIST="${EPREFIX}/usr/share/texmf-dist"
exec ${mtxrun} "\$@"
EOF
newbin - context <<-EOF
#!/bin/sh
exec mtxrun --script context "\$@"
EOF
greadme_stdin <<-EOF
For using ConTeXt mkII simply use 'texexec' to generate your documents.
If you plan to use mkIV and its 'context' command to generate your documents,
you have to run 'mtxrun --generate' as normal user before first use.
More information and advanced options on:
http://wiki.contextgarden.net/TeX_Live_2011
EOF
}
pkg_postinst() {
texlive-module_pkg_postinst
greadme_pkg_postinst
}
|