pkgsrc/print/tex-texlive-scripts/Makefile
2018-05-13 11:04:43 +00:00

34 lines
906 B
Makefile

# $NetBSD: Makefile,v 1.16 2018/05/13 11:04:43 markd Exp $
DISTNAME= texlive-scripts
PKGNAME= tex-${DISTNAME}-2018
TEXLIVE_REV= 47481
MAINTAINER= minskim@NetBSD.org
COMMENT= TeX Live infrastructure programs
LICENSE= gnu-gpl-v2 AND public-domain
CONFLICTS+= tex-bin-texlive-[0-9]*
USE_TOOLS+= gs:run
REPLACE_TEXLUA= bin/rungs \
texmf-dist/scripts/texlive/lua/texlive/getopt.tlu \
texmf-dist/scripts/texlive/lua/texlive/tlpdb.tlu \
texmf-dist/scripts/texlive/test-tlpdb.tlu \
texmf-dist/scripts/texlive/texconf.tlu
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Setting paths to commands.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= bin/rungs
SUBST_SED.paths+= -e 's,@GS@,${TOOLS_PATH.gs},g'
.include "../../print/texlive/package.mk"
post-extract:
${MKDIR} ${WRKSRC}/bin
${MV} ${WRKSRC}/texmf-dist/scripts/texlive/rungs.tlu \
${WRKSRC}/bin/rungs
.include "../../mk/bsd.pkg.mk"