f8b17efe1e
texlive 2022 version
51 lines
1.8 KiB
Makefile
51 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.26 2022/04/17 10:22:58 markd Exp $
|
|
|
|
DISTNAME= luatex
|
|
PKGNAME= tex-${DISTNAME}-1.15.0
|
|
TEXLIVE_REV= 62387
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= https://www.luatex.org/
|
|
COMMENT= LuaTeX basic definition package
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= luatex>=0.60.1:../../print/luatex
|
|
DEPENDS+= tex-etex-[0-9]*:../../print/tex-etex
|
|
DEPENDS+= tex-hyph-utf8-[0-9]*:../../print/tex-hyph-utf8
|
|
DEPENDS+= tex-tex-ini-files-[0-9]*:../../print/tex-tex-ini-files
|
|
DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
|
|
DEPENDS+= tex-plain>=3.14159265.12854:../../print/tex-plain
|
|
DEPENDS+= tex-unicode-data-[0-9]*:../../print/tex-unicode-data
|
|
|
|
#
|
|
# A double-slash (//) in the kpathsea paths has a special
|
|
# interpretation, it will cause kpathsea to consider all
|
|
# subdirectories recursively at that point in the path. Normally
|
|
# double-slashes and trailing slashes will not be present in these
|
|
# variables, but if they are there the resulting behaviour is so
|
|
# unexpected, expensive, and difficult to diagnose that it is worth
|
|
# going to extra effort to clean them out here.
|
|
#
|
|
SUBST_CLASSES+= texmfdir
|
|
SUBST_MESSAGE.texmfdir= Setting texmf directories.
|
|
SUBST_STAGE.texmfdir= pre-configure
|
|
SUBST_FILES.texmfdir= texmf-dist/web2c/texmfcnf.lua
|
|
SUBST_SED.texmfdir+= -e 's,@VARBASE@,${VARBASE:C;///*;/;g:C;/$;;},'
|
|
SUBST_SED.texmfdir+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR:C;///*;/;g:C;/$;;},'
|
|
|
|
PKG_SYSCONFSUBDIR= texmf
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
CONF_FILES+= ${PREFIX}/share/texmf-dist/web2c/texmfcnf.lua \
|
|
${PKG_SYSCONFDIR}/texmfcnf.lua
|
|
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
TEX_FORMATS+= "luatex luatex language.def,language.dat.lua luatex.ini\\ndviluatex luatex language.def,language.dat.lua dviluatex.ini\\n"
|
|
|
|
.include "../../print/texlive/package.mk"
|
|
|
|
post-install:
|
|
${LN} -sf luatex ${DESTDIR}${PREFIX}/bin/dviluatex
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|