pkgsrc/print/tex-luatex/Makefile
markd c3a253bcba Update to TeXlive 2017
Updated print/tex-koma-script to 3.23
  Updated print/tex-kotex-oblivoir{,-doc} to 2.1.8
  Updated devel/tex-l3experimental to 2017
  Updated devel/tex-l3kernel{,-doc} to 2017
  Updated devel/tex-l3packages{,-doc} to 2017
  Updated print/tex-latex{,-doc} to 20170101.1
  Updated textproc/tex-latexdiff{,-doc} to 1.2.0
  Updated print/tex-leaflet{,-doc} to 1.1b
  Updated fonts/tex-libertine{,-doc} to 5.3.0.43603
  Updated devel/tex-lualibs{,-doc} to 2.5
  Updated fonts/tex-luaotfload{,-doc} to 2.8.2
  Updated print/tex-luatex{,-doc} to 1.0.4
2017-06-21 08:28:41 +00:00

50 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2017/06/21 08:28:43 markd Exp $
DISTNAME= luatex
PKGNAME= tex-${DISTNAME}-1.0.4
TEXLIVE_REV= 44166
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://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-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"