| @@ -1,51 +1,51 @@ | | | @@ -1,51 +1,51 @@ |
1 | # $NetBSD: Makefile,v 1.27 2023/04/11 00:04:32 markd Exp $ | | 1 | # $NetBSD: Makefile,v 1.28 2024/03/21 09:30:37 markd Exp $ |
2 | | | 2 | |
3 | DISTNAME= luatex | | 3 | DISTNAME= luatex |
4 | PKGNAME= tex-${DISTNAME}-1.16.0 | | 4 | PKGNAME= tex-${DISTNAME}-1.18.0 |
5 | TEXLIVE_REV= 66784 | | 5 | TEXLIVE_REV= 70263 |
6 | | | 6 | |
7 | MAINTAINER= minskim@NetBSD.org | | 7 | MAINTAINER= minskim@NetBSD.org |
8 | HOMEPAGE= https://www.luatex.org/ | | 8 | HOMEPAGE= https://www.luatex.org/ |
9 | COMMENT= LuaTeX basic definition package | | 9 | COMMENT= LuaTeX basic definition package |
10 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
11 | | | 11 | |
12 | DEPENDS+= luatex>=0.60.1:../../print/luatex | | 12 | DEPENDS+= luatex>=0.60.1:../../print/luatex |
13 | DEPENDS+= tex-etex-[0-9]*:../../print/tex-etex | | 13 | DEPENDS+= tex-etex-[0-9]*:../../print/tex-etex |
14 | DEPENDS+= tex-hyph-utf8-[0-9]*:../../print/tex-hyph-utf8 | | 14 | DEPENDS+= tex-hyph-utf8-[0-9]*:../../print/tex-hyph-utf8 |
15 | DEPENDS+= tex-tex-ini-files-[0-9]*:../../print/tex-tex-ini-files | | 15 | DEPENDS+= tex-tex-ini-files-[0-9]*:../../print/tex-tex-ini-files |
16 | DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex | | 16 | DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex |
17 | DEPENDS+= tex-plain>=3.14159265.12854:../../print/tex-plain | | 17 | DEPENDS+= tex-plain>=3.14159265.12854:../../print/tex-plain |
18 | DEPENDS+= tex-unicode-data-[0-9]*:../../print/tex-unicode-data | | 18 | DEPENDS+= tex-unicode-data-[0-9]*:../../print/tex-unicode-data |
19 | | | 19 | |
20 | # | | 20 | # |
21 | # A double-slash (//) in the kpathsea paths has a special | | 21 | # A double-slash (//) in the kpathsea paths has a special |
22 | # interpretation, it will cause kpathsea to consider all | | 22 | # interpretation, it will cause kpathsea to consider all |
23 | # subdirectories recursively at that point in the path. Normally | | 23 | # subdirectories recursively at that point in the path. Normally |
24 | # double-slashes and trailing slashes will not be present in these | | 24 | # double-slashes and trailing slashes will not be present in these |
25 | # variables, but if they are there the resulting behaviour is so | | 25 | # variables, but if they are there the resulting behaviour is so |
26 | # unexpected, expensive, and difficult to diagnose that it is worth | | 26 | # unexpected, expensive, and difficult to diagnose that it is worth |
27 | # going to extra effort to clean them out here. | | 27 | # going to extra effort to clean them out here. |
28 | # | | 28 | # |
29 | SUBST_CLASSES+= texmfdir | | 29 | SUBST_CLASSES+= texmfdir |
30 | SUBST_MESSAGE.texmfdir= Setting texmf directories. | | 30 | SUBST_MESSAGE.texmfdir= Setting texmf directories. |
31 | SUBST_STAGE.texmfdir= pre-configure | | 31 | SUBST_STAGE.texmfdir= pre-configure |
32 | SUBST_FILES.texmfdir= texmf-dist/web2c/texmfcnf.lua | | 32 | SUBST_FILES.texmfdir= texmf-dist/web2c/texmfcnf.lua |
33 | SUBST_SED.texmfdir+= -e 's,@VARBASE@,${VARBASE:C;///*;/;g:C;/$;;},' | | 33 | SUBST_SED.texmfdir+= -e 's,@VARBASE@,${VARBASE:C;///*;/;g:C;/$;;},' |
34 | SUBST_SED.texmfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR:C;///*;/;g:C;/$;;},' | | 34 | SUBST_SED.texmfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR:C;///*;/;g:C;/$;;},' |
35 | | | 35 | |
36 | PKG_SYSCONFSUBDIR= texmf | | 36 | PKG_SYSCONFSUBDIR= texmf |
37 | | | 37 | |
38 | BUILD_DEFS+= VARBASE | | 38 | BUILD_DEFS+= VARBASE |
39 | CONF_FILES+= ${PREFIX}/share/texmf-dist/web2c/texmfcnf.lua \ | | 39 | CONF_FILES+= ${PREFIX}/share/texmf-dist/web2c/texmfcnf.lua \ |
40 | ${PKG_SYSCONFDIR}/texmfcnf.lua | | 40 | ${PKG_SYSCONFDIR}/texmfcnf.lua |
41 | | | 41 | |
42 | INSTALLATION_DIRS+= bin | | 42 | INSTALLATION_DIRS+= bin |
43 | | | 43 | |
44 | TEX_FORMATS+= "luatex luatex language.def,language.dat.lua luatex.ini\\ndviluatex luatex language.def,language.dat.lua dviluatex.ini\\n" | | 44 | TEX_FORMATS+= "luatex luatex language.def,language.dat.lua luatex.ini\\ndviluatex luatex language.def,language.dat.lua dviluatex.ini\\n" |
45 | | | 45 | |
46 | .include "../../print/texlive/package.mk" | | 46 | .include "../../print/texlive/package.mk" |
47 | | | 47 | |
48 | post-install: | | 48 | post-install: |
49 | ${LN} -sf luatex ${DESTDIR}${PREFIX}/bin/dviluatex | | 49 | ${LN} -sf luatex ${DESTDIR}${PREFIX}/bin/dviluatex |
50 | | | 50 | |
51 | .include "../../mk/bsd.pkg.mk" | | 51 | .include "../../mk/bsd.pkg.mk" |