2015-04-25 05:39:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2015/04/25 03:39:06 markd Exp $
|
2010-06-17 01:59:12 +02:00
|
|
|
|
|
|
|
DISTNAME= context
|
2015-04-25 05:39:06 +02:00
|
|
|
PKGNAME= tex-${DISTNAME}-2014
|
|
|
|
TEXLIVE_REV= 35839
|
2010-06-17 01:59:12 +02:00
|
|
|
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
|
|
COMMENT= The ConTeXt macro package
|
|
|
|
|
|
|
|
CONFLICTS+= teTeX-bin<=3.0nb44
|
|
|
|
DEPENDS+= tex-lm>=2.004nb1:../../fonts/tex-lm
|
2015-04-25 05:39:06 +02:00
|
|
|
DEPENDS+= tex-manfnt>=2009:../../fonts/tex-manfnt
|
|
|
|
DEPENDS+= tex-mflogo>=2009:../../fonts/tex-mflogo
|
2013-12-17 02:43:29 +01:00
|
|
|
DEPENDS+= tex-luatex>=0.70.1pl30581nb1:../../print/tex-luatex
|
2010-06-17 02:32:54 +02:00
|
|
|
DEPENDS+= tex-metapost>=1.211:../../graphics/tex-metapost
|
2011-01-21 05:09:21 +01:00
|
|
|
DEPENDS+= tex-mptopdf>=2010:../../graphics/tex-mptopdf
|
|
|
|
DEPENDS+= tex-pdftex>=1.40.11:../../print/tex-pdftex
|
|
|
|
DEPENDS+= web2c>=2010nb4:../../print/web2c
|
|
|
|
DEPENDS+= xetex>=0.9995.3nb1:../../print/xetex
|
2010-06-17 01:59:12 +02:00
|
|
|
|
2013-12-17 02:43:29 +01:00
|
|
|
USE_TOOLS+= sh:run
|
|
|
|
|
2013-10-17 06:18:30 +02:00
|
|
|
CHECK_INTERPRETER_SKIP= share/texmf-dist/scripts/context/ruby/*.rb
|
2013-12-17 02:43:29 +01:00
|
|
|
REPLACE_SH= bin/context bin/ctxtools bin/luatools
|
|
|
|
REPLACE_TEXLUA= bin/mtxrun \
|
2013-10-17 06:18:30 +02:00
|
|
|
texmf-dist/scripts/context/stubs/mswin/mtxrun.lua \
|
|
|
|
texmf-dist/scripts/context/stubs/mswin/luatools.lua \
|
|
|
|
texmf-dist/scripts/context/stubs/unix/mtxrun \
|
|
|
|
texmf-dist/scripts/context/stubs/unix/luatools
|
|
|
|
|
2013-12-17 02:43:29 +01:00
|
|
|
TEX_FORMATS+= "cont-en pdftex cont-usr.tex -8bit *cont-en.ini\\ncont-en xetex cont-usr.tex -8bit *cont-en.ini\\n"
|
2011-01-21 05:09:21 +01:00
|
|
|
TEX_MAP_FILES+= original-context-symbol.map
|
2013-12-17 02:43:29 +01:00
|
|
|
|
|
|
|
INSTALLATION_DIRS+= bin
|
2010-06-17 01:59:12 +02:00
|
|
|
|
|
|
|
.include "../../print/texlive/package.mk"
|
|
|
|
|
2013-12-17 02:43:29 +01:00
|
|
|
post-extract:
|
|
|
|
${MKDIR} ${WRKSRC}/bin
|
|
|
|
${MV} ${WRKSRC}/texmf-dist/scripts/context/lua/mtxrun.lua \
|
|
|
|
${WRKSRC}/bin/mtxrun
|
2015-04-25 05:39:06 +02:00
|
|
|
.for f in context luatools texexec texmfstart
|
2013-12-17 02:43:29 +01:00
|
|
|
${CP} ${WRKSRC}/texmf-dist/scripts/context/stubs/unix/${f} \
|
|
|
|
${WRKSRC}/bin/
|
|
|
|
.endfor
|
2010-06-17 01:59:12 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|