20190410: Kpathsea: More consistent brace expansion and path splitting; new variable TEXMFDOTDIR instead of hard-coded . in paths allows for easily searching additional or sub-directories (see comments in texmf.cnf). epTEX, eupTEX: New primitives \readpapersizespecial and \expanded. LuaTEX: Lua 5.3 now used, with concomitant arithmetic and interface changes. The homegrown library pplib is used to read pdf files, thus eliminating the dependency on poppler (and the need for C++); Lua interface changed accordingly. MetaPost: r-mpost command name recognized as an alias for invocation with the –restricted option, and added to the list of restricted commands available by default. Minimum precision now 2 for decimal and binary mode. Binary mode no longer available in MPlib but still available in standalone MetaPost. pdfTEX: New primitive \expanded; if new primitive parameter \pdfomitcharset is set to 1, the /CharSet string omitted from the PDF output, since it cannot feasibly be guaranteed correct, as required by PDF/A-2 and PDF/A-3. XeTEX: New primitives \expanded, \creationdate, \elapsedtime, \filedump, \filemoddate, \filesize, \resettimer, \normaldeviate, \uniformdeviate, \randomseed; extend \Ucharcat to produce active characters. tlmgr: Support curl as a download program; use lz4 and gzip before xz for local backups, if available; prefer system-provided binaries over binaries provided with TEX Live for compressor and download programs, unless the environment variable TEXLIVE_PREFER_OWN is set. install-tl: New option -gui (with no argument) is the default on Windows and Macs, and invokes a new Tcl/TK GUI (see sections 1.3 and 3.1.6). Utilities: cwebbin (https://ctan.org/pkg/cwebbin) is now the CWEB implementation in TEX Live, with support for more language dialects, and including the ctwill program to make mini-indexes. chkdvifont: report font information from DVI files, also from tfm/ofm, vf, gf, pk. dvispc: make a DVI file page-independent with respect to specials. MacTEX: x86_64-darwin now supports 10.12 and higher (Sierra, High Sierra, Mojave); x86_64-darwinlegacy still supports 10.6 and newer. The spell checker Excalibur is no longer included, since it requires 32-bit support. Platforms: removed sparc-solaris.
54 lines
1.7 KiB
Makefile
54 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.23 2019/05/09 09:47:35 adam Exp $
|
|
|
|
.include "../../print/texlive/Makefile.common"
|
|
|
|
PKGNAME= dvipsk-5.999
|
|
CATEGORIES= print
|
|
|
|
HOMEPAGE= http://www.radicaleye.com/dvips.html
|
|
COMMENT= DVI-to-PostScript translator
|
|
|
|
BUILD_DEPENDS+= tex-tetex-[0-9]*:../../print/tex-tetex
|
|
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"
|