[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / tex-texlive-scripts

File: [cvs.NetBSD.org] / pkgsrc / print / tex-texlive-scripts / Makefile (download)

Revision 1.19, Sun May 10 03:56:44 2020 UTC (2 years, 9 months ago) by markd
Branch: MAIN
Changes since 1.18: +46 -12 lines

texlive: update to 2020

General:
* The \input primitive in all TeX engines, including tex, now also accepts a
  group-delimited ■«í═ename argument, as a system-dependent extension. The usage
  with a standard space/token-delimited ■«í═ename is completely unchanged. The
  group-delimited argument was previously implemented in LuaTeX; now it is available
  in all engines. ASCII double quote characters (") are removed from the filename,
  but it is otherwise left unchanged after tokenization. This does not currently
  affect LaTeXŃÓĐď \input command, as that is a macro redefinition of the standard
  \input primitive.
* New option ŃÓ┼─nf-line for kpsewhich, tex, mf, and all other engines, to support
  arbitrary con■«í╚uration settings on the command line.
* The addition of various primitives to various engines in this and previous years
  is intended to result in a common set of functionality available across
  all engines.

epTeX, eupTeX: New primitives \Uchar, \Ucharcat, \current(x)spacingmode, \ifincsname;
 revise \fontchar?? and \iffontchar. For eupTeX only: \currentcjktoken.

LuaTeX: Integration with HarfBuzz library, available as new engines luahbtex
 (used for lualatex) and luajithbtex. New primitives: \eTeXgluestretchorder,
 \eTeXglueshrinkorder.

pdfTeX: New primitive \pdfmajorversion; this merely changes the version number
 in the PDF output; it has no effect on any PDF content. \pdfximage and similar
 now search for image files in the same way as \openin.

pTeX: New primitives \ifjfont, \iftfont. Also in epTeX, upTeX, eupTeX.

XeTeX: Fixes for \Umathchardef, \XeTeXinterchartoks, \pdfsavepos.

Dvips: Output encodings for bitmap fonts, for better copy/paste capabilities.

# $NetBSD: Makefile,v 1.19 2020/05/10 03:56:44 markd Exp $

DISTNAME=	texlive-scripts
PKGNAME=	tex-${DISTNAME}-2020
TEXLIVE_REV=	55050

MAINTAINER=	minskim@NetBSD.org
COMMENT=	TeX Live infrastructure programs
LICENSE=	gnu-gpl-v2 AND public-domain

DEPENDS+=	kpathsea-[0-9]*:../../print/kpathsea
DEPENDS+=	tex-kpathsea>=2012nb1:../../print/tex-kpathsea
DEPENDS+=	tex-texlive.infra-[0-9]*:../../print/tex-texlive.infra
# We want the manual pages
DEPENDS+=	tex-texlive-scripts-doc-[0-9]*:../../print/tex-texlive-scripts-doc

USE_TOOLS+=	gs:run perl:run sh:run

REPLACE_PERL=	bin/updmap bin/fmtutil texmf-dist/scripts/texlive/mktexlsr.pl
REPLACE_SH=	bin/fmtutil-sys bin/fmtutil-user bin/updmap-sys bin/updmap-user
REPLACE_TEXLUA=	bin/rungs

PKG_SYSCONFSUBDIR=	texmf

MAKE_DIRS+=	${PKG_SYSCONFDIR}/web2c
CONF_FILES+=	${PREFIX}/share/texmf-dist/web2c/updmap.cfg \
		${PKG_SYSCONFDIR}/web2c/updmap.cfg

TEX_TEXMF_DIRS+=	${PKG_SYSCONFDIR} ${PREFIX}/share/texmf-dist

FILES_SUBST+=		UPDMAP_SYS=${PREFIX}/bin/updmap-sys

SUBST_CLASSES+=		paths
SUBST_MESSAGE.paths=	Setting paths to commands.
SUBST_STAGE.paths=	pre-configure
SUBST_FILES.paths=	bin/rungs bin/mktexmf bin/mktexpk bin/mktextfm \
			bin/fmtutil bin/fmtutil-sys bin/updmap bin/updmap-sys
SUBST_SED.paths+=	-e 's,@GS@,${TOOLS_PATH.gs},g'
SUBST_SED.paths+=	-e 's,@KPSEWHICH@,${PREFIX}/bin/kpsewhich,g'
SUBST_SED.paths+=	-e 's,@MKTEXMF@,${PREFIX}/bin/mktexmf,g'
SUBST_SED.paths+=	-e 's,@UPDMAP@,${PREFIX}/bin/updmap,g'
SUBST_SED.paths+=	-e 's,@FMTUTIL@,${PREFIX}/bin/fmtutil,g'

#TEX_MAP_FILES+=		mathpple.map

.include "../../print/texlive/package.mk"

post-extract:
	${MKDIR} ${WRKSRC}/bin
	${MV} ${WRKSRC}/texmf-dist/scripts/texlive/rungs.tlu \
		${WRKSRC}/bin/rungs
.for script in mktexmf mktexpk mktextfm
	${MV} ${WRKSRC}/texmf-dist/scripts/texlive/${script} \
		${WRKSRC}/bin/${script}
.endfor
.for script in fmtutil-sys.sh fmtutil-user.sh updmap-sys.sh updmap-user.sh
	${MV} ${WRKSRC}/texmf-dist/scripts/texlive/${script} \
		${WRKSRC}/bin/${script:S/.sh//}
.endfor
.for script in fmtutil.pl updmap.pl
	${MV} ${WRKSRC}/texmf-dist/scripts/texlive/${script} \
		${WRKSRC}/bin/${script:S/.pl//}
.endfor

post-install:
	${LN} -sf fmtutil ${DESTDIR}${PREFIX}/bin/mktexfmt
	${LN} -sf mktexlsr ${DESTDIR}${PREFIX}/bin/texhash

.include "../../mk/bsd.pkg.mk"