[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / print / kpathsea

File: [cvs.NetBSD.org] / pkgsrc / print / kpathsea / Makefile (download)

Revision 1.33, Sun May 10 03:56:38 2020 UTC (2 years, 8 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.32: +4 -10 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.33 2020/05/10 03:56:38 markd Exp $

.include "../../print/texlive/Makefile.common"

PKGNAME=	kpathsea-6.3.2
CATEGORIES=	print

HOMEPAGE=	https://ctan.org/pkg/kpathsea
COMMENT=	Path searching library for TeX-related files
LICENSE=	gnu-lgpl-v2.1

EXTRACT_ELEMENTS+=	${DISTNAME}/texk/kpathsea

WRKSRC=		${WRKDIR}/${DISTNAME}/texk/kpathsea

USE_TOOLS+=		gmake
PKGCONFIG_OVERRIDE=	kpathsea.pc.in
INFO_FILES=		yes

MAKE_FLAGS+=	LIBTOOL=${LIBTOOL:Q}

DEPENDS+=	mktexlsr-[0-9]*:../../print/mktexlsr

# 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.cnf
SUBST_SED.texmfdir=	-e 's,@PREFIX@,${PREFIX:C;///*;/;g:C;/$;;},'
SUBST_SED.texmfdir+=	-e 's,@TEXMFLOCAL@,${TEXMFLOCAL:C;///*;/;g:C;/$;;},'
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
TEXMFLOCAL=		${PREFIX}/share/texmf-local
FILES_SUBST+=		TEXMFLOCAL=${TEXMFLOCAL}

CONF_FILES=	${PREFIX}/share/texmf-dist/web2c/texmf.cnf \
		${PKG_SYSCONFDIR}/texmf.cnf

OWN_DIRS+=		${TEXMFLOCAL} ${VARBASE}/lib/texmf
.for d in pk source tfm
OWN_DIRS_PERMS+=	${VARBASE}/lib/texmf/fonts/${d} \
			${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
.endfor
INSTALLATION_DIRS+=	share/texmf-dist

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