2a3c4c9f3f
This package provides texconfig, a utility to configure TeX.
41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.1 2012/10/13 22:29:21 minskim Exp $
|
|
|
|
DISTNAME= texconfig
|
|
PKGNAME= tex-${DISTNAME}-2012
|
|
TEXLIVE_REV= 27343
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Configuration utility for TeX
|
|
|
|
CONFLICTS+= texlive-tetex<=2011nb1
|
|
DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea
|
|
|
|
USE_TOOLS+= sh:run
|
|
|
|
EVAL_PREFIX+= KPSEWHICH_PREFIX=kpathsea
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Setting paths to commands.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= texmf/texconfig/tcfmgr
|
|
SUBST_SED.paths= -e 's,@FMTUTIL@,${LOCALBASE}/bin/fmtutil,g'
|
|
SUBST_SED.paths+= -e 's,@KPSEWHICH@,${KPSEWHICH_PREFIX}/bin/kpsewhich,g'
|
|
SUBST_SED.paths+= -e 's,@MKTEXLSR@,${KPSEWHICH_PREFIX}/bin/mktexlsr,g'
|
|
SUBST_SED.paths+= -e 's,@TEXCONF_DIALOG@,${LOCALBASE}/bin/texconfig-dialog,g'
|
|
SUBST_SED.paths+= -e 's,@TEXLINKS@,${LOCALBASE}/bin/texlnks,g'
|
|
SUBST_SED.paths+= -e 's,@UPDMAP@,${LOCALBASE}/bin/updmap,g'
|
|
|
|
REPLACE_SH= bin/texconfig texmf/texconfig/tcfmgr
|
|
|
|
TEX_TEXMF_DIRS= ${PREFIX}/share/texmf
|
|
|
|
.include "../../print/texlive/package.mk"
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}/bin
|
|
${MV} ${WRKSRC}/texmf/scripts/tetex/texconfig.sh \
|
|
${WRKSRC}/bin/texconfig
|
|
${RMDIR} -p ${WRKSRC}/texmf/scripts/tetex 2>/dev/null || ${TRUE}
|
|
${CHMOD} +x ${WRKSRC}/texmf/texconfig/tcfmgr
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|