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

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

Revision 1.24, Sun May 10 03:56:38 2020 UTC (2 years, 8 months ago) by markd
Branch: MAIN
Changes since 1.23: +3 -3 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.24 2020/05/10 03:56:38 markd Exp $

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

PKGNAME=	dvipsk-2020.1
CATEGORIES=	print

HOMEPAGE=	http://www.radicaleye.com/dvips.html
COMMENT=	DVI-to-PostScript translator

BUILD_DEPENDS+=	tex-texlive-scripts-[0-9]*:../../print/tex-texlive-scripts
DEPENDS+=	tex-dvips>=2013:../../print/tex-dvips

EXTRACT_ELEMENTS+=	${DISTNAME}/texk/dvipsk

INFO_FILES=	yes

# texk/dvipsk/squeeze/configure doesn't know --with-system-kpathsea
GNU_CONFIGURE_STRICT=	no
CONFIGURE_DIRS=		texk/dvipsk
CONFIGURE_ARGS+=	--with-system-kpathsea

PKG_SYSCONFSUBDIR=	texmf

MAKE_DIRS+=	${PKG_SYSCONFDIR}/dvips/config
CONF_FILES=	${PREFIX}/share/examples/dvipsk/config.ps \
		${PKG_SYSCONFDIR}/dvips/config/config.ps

BUILD_DEFS+=		PAPERSIZE
LOWER_PAPERSIZE_cmd=	${ECHO} ${PAPERSIZE} | ${TR} '[A-Z]' '[a-z]'
LOWER_PAPERSIZE=	${LOWER_PAPERSIZE_cmd:sh}

INSTALLATION_DIRS+=	share/examples/dvipsk

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

post-build:
	${MKDIR} ${WRKSRC}/texk/dvipsk/texmf-dist/dvips/config
	${CP} ${LOCALBASE}/share/texmf-dist/dvips/config/config.ps \
		${WRKSRC}/texk/dvipsk/texmf-dist/dvips/config
	${SETENV} TEXMFCONFIG=${LOCALBASE}/share/texmf-dist \
		TFC_TEXMFCONFIG=${WRKSRC}/texk/dvipsk/texmf \
		configPsFile=${WRKSRC}/texk/dvipsk/texmf-dist/dvips/config/config.ps \
		${LOCALBASE}/bin/texconfig dvips paper ${LOWER_PAPERSIZE}

post-install:
	${INSTALL_DATA} ${WRKSRC}/texk/dvipsk/texmf-dist/dvips/config/config.ps \
		${DESTDIR}${PREFIX}/share/examples/dvipsk

BUILDLINK_API_DEPENDS.kpathsea+= kpathsea>=6.2.1
.include "../../print/kpathsea/buildlink3.mk"
.include "../../print/kpathsea/texmf.mk"
.include "../../mk/bsd.pkg.mk"