aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2024-02-26 17:31:42 +0100
committerRobert Alessi <alessi@robertalessi.net>2024-02-26 17:31:42 +0100
commit130a2c76d25fc5391afe39acad210f343b519b25 (patch)
treec2b96362e05cddebe9472d3f46b8b30ca12b0202
parent9834714aac40919aaa47ed9db9b41c223403407b (diff)
downloadtexlive-openbsd-130a2c76d25fc5391afe39acad210f343b519b25.tar.gz
a missing cd in the makefile
-rw-r--r--README.md51
-rwxr-xr-xtl-build.sh10
2 files changed, 40 insertions, 21 deletions
diff --git a/README.md b/README.md
index 80c6398..69f9764 100644
--- a/README.md
+++ b/README.md
@@ -1,27 +1,46 @@
1How to Build texlive binaries for OpenBSD 1TeX Live for OpenBSD
2----------------------------------------- 2===================
3 3
4### References 4There are two ways to use TeX Live in OpenBSD.
5
61. From ports. TeX Live is available in variety of “schemes” to wit
7 different sets of package collections. A list can be found on the
8 [openports.pl](https://openports.pl/search?file=&pkgname=texlive)
9 website.[^1]
10
11References
12----------
5- General information: <https://tug.org/texlive/build.html> 13- General information: <https://tug.org/texlive/build.html>
6- Building GNU CLISP for xindy: 14- Building GNU CLISP for xindy:
7 <https://tug.org/svn/texlive/trunk/Build/source/utils/README?view=markup> 15 <https://tug.org/svn/texlive/trunk/Build/source/utils/README?view=markup>
8 16
9### Requirements 17Requirements
10- git 18------------
11- gmake 19- For texlive
12- rsync 20 - git
13- subversion 21 - gmake
14- wget 22 - rsync
15- curl 23 - subversion
16- for context: 24 - wget
25 - curl
26- For context:
17 - cmake 27 - cmake
18 - ninja 28 - ninja
19- for asymptote: 29- For asymptote:
20 - freeglut 30 - freeglut
21 - readline 31 - readline
22 32
23### Getting the sources 33Getting the sources
24Run `checkout-tl.sh` 34-------------------
35```sh
36checkout-tl.sh
37```
38
39Building the binaries
40---------------------
41```sh
42tl-build.sh
43```
25 44
26### Building the binaries 45[^1]: More information on how TL is built for OpenBSD here:
27Run `tl-build.sh` 46 <https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/print/texlive>
diff --git a/tl-build.sh b/tl-build.sh
index 73c5184..ac30032 100755
--- a/tl-build.sh
+++ b/tl-build.sh
@@ -81,7 +81,7 @@ fi
81 81
82# Build Asymptote 82# Build Asymptote
83if [[ ${with_asymptote} == "y" ]];then 83if [[ ${with_asymptote} == "y" ]];then
84 cd source/utils/asymptote 84 cd ${tl_sourcedir}/utils/asymptote
85 ./configure --prefix=/tmp/asyinst --enable-texlive-build \ 85 ./configure --prefix=/tmp/asyinst --enable-texlive-build \
86 --enable-static CXXFLAGS=-std=c++11 \ 86 --enable-static CXXFLAGS=-std=c++11 \
87 --disable-curl --disable-lsp --disable-gsl --disable-fftw 87 --disable-curl --disable-lsp --disable-gsl --disable-fftw
@@ -97,9 +97,9 @@ if [[ ${build_tl} == "y" ]]; then
97 ./Build ${enable_xindy} 97 ./Build ${enable_xindy}
98 if [[ ${with_context} == "y" ]]; then 98 if [[ ${with_context} == "y" ]]; then
99 cd ${tl_sourcedir} 99 cd ${tl_sourcedir}
100 tl_bindir=$tl_sourcedir/inst/bin/`ls ${tl_sourcedir}/inst/bin` 100 tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin`
101 cp luametatex-$context_ver/build/native/luametatex $tl_bindir 101 cp luametatex-$context_ver/build/native/luametatex $tl_bindir
102 cd $tl_bindir 102 cd ${tl_bindir}
103 ln -s luametatex context 103 ln -s luametatex context
104 ln -s luametatex mtxrun 104 ln -s luametatex mtxrun
105 ln -s ../../texmf-dist/scripts/context/lua/context.lua context.lua 105 ln -s ../../texmf-dist/scripts/context/lua/context.lua context.lua
@@ -107,8 +107,8 @@ if [[ ${build_tl} == "y" ]]; then
107 fi 107 fi
108 if [[ ${with_asymptote} == "y" ]];then 108 if [[ ${with_asymptote} == "y" ]];then
109 cd ${tl_sourcedir} 109 cd ${tl_sourcedir}
110 tl_bindir=$tl_sourcedir/inst/bin/`ls ${tl_sourcedir}/inst/bin` 110 tl_bindir=${tl_sourcedir}/inst/bin/`ls ${tl_sourcedir}/inst/bin`
111 cp utils/asymptote/asy ${tl_sourcedir}/inst/bin 111 cp utils/asymptote/asy ${tl_bindir}
112 cd ${tl_bindir} 112 cd ${tl_bindir}
113 ln -s ../../texmf-dist/asymptote/GUI/xasy.py xasy 113 ln -s ../../texmf-dist/asymptote/GUI/xasy.py xasy
114 fi 114 fi