bdc1077b20
Updated fonts/tex-raleway{,-doc} to 1.4 Updated print/tex-readarray{,-doc} to 2.0 Updated graphics/tex-repere{,-doc} to 17.05 Updated fonts/tex-sansmathfonts{,-doc} to 2017 Updated print/tex-siunitx{,-doc} to 2.7g Updated fonts/tex-sourcesanspro{,-doc} to 2.6 Updated print/tex-sttools{,-doc} to 2.0 Updated print/tex-tcolorbox{,-doc} to 4.03 Updated print/tex-tetex{,-doc} to 3.0.44331 Updated print/tex-tex4ht{,-doc} to 2017 Updated print/tex-texconfig{,-doc} to 2017 Updated print/tex-texdoc{,-doc} to 2017 Updated print/tex-texinfo to 5.1.43137 Updated print/tex-texlive.infra to 2017 Updated print/tex-texlive-scripts to 2017 Updated graphics/tex-tikzmark{,-doc} to 1.3 Updated graphics/tex-tikzsymbols{,-doc} to 4.02 Updated print/tex-todonotes{,-doc} to 1.0.5 Updated print/tex-tools{,-doc} to 2017 Updated print/tex-toptesi{,-doc} to 5.9.06 Updated print/tex-udesoftec{,-doc} to 1.6.0 Updated print/tex-updmap-map to 2017 Updated fonts/tex-xcharter{,-doc} to 1.08 Updated print/tex-xdvi to 22.87.03
70 lines
2.5 KiB
Makefile
70 lines
2.5 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2017/06/21 13:25:33 markd Exp $
|
|
|
|
DISTNAME= tetex
|
|
PKGNAME= tex-${DISTNAME}-3.0.44331
|
|
TEXLIVE_REV= 44331
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
COMMENT= Supplementary files for updmap
|
|
|
|
CONFLICTS= texlive-tetex<=2011nb1
|
|
DEPENDS+= dialog>=1.0:../../misc/dialog
|
|
DEPENDS+= kpathsea-[0-9]*:../../print/kpathsea
|
|
DEPENDS+= tex-kpathsea>=2012nb1:../../print/tex-kpathsea
|
|
DEPENDS+= tex-texconfig>=2013:../../print/tex-texconfig
|
|
DEPENDS+= tex-texlive.infra-[0-9]*:../../print/tex-texlive.infra
|
|
|
|
USE_TOOLS+= perl:run sh:run
|
|
|
|
FILES_SUBST+= UPDMAP_SYS=${PREFIX}/bin/updmap-sys
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_MESSAGE.paths= Setting paths to commands.
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths= bin/fmtutil bin/fmtutil-sys bin/kpsetool bin/kpsewhere \
|
|
bin/texconfig-dialog bin/texconfig-sys bin/texlinks \
|
|
bin/updmap bin/updmap-sys
|
|
SUBST_SED.paths+= -e 's,@DIALOG@,${LOCALBASE}/bin/dialog,g'
|
|
SUBST_SED.paths+= -e 's,@FMTUTIL@,${PREFIX}/bin/fmtutil,g'
|
|
SUBST_SED.paths+= -e 's,@KPSEWHICH@,${LOCALBASE}/bin/kpsewhich,g'
|
|
SUBST_SED.paths+= -e 's,@TEXCONFIG@,${LOCALBASE}/bin/texconfig,g'
|
|
SUBST_SED.paths+= -e 's,@UPDMAP@,${PREFIX}/bin/updmap,g'
|
|
|
|
REPLACE_PERL= bin/updmap bin/fmtutil texmf-dist/scripts/texlive/mktexlsr.pl
|
|
REPLACE_SH= bin/allcm bin/allneeded bin/dvi2fax bin/dvired \
|
|
bin/fmtutil-sys bin/fmtutil-user bin/kpsetool bin/kpsewhere \
|
|
bin/texconfig-dialog bin/texconfig-sys bin/texlinks \
|
|
bin/updmap-sys bin/updmap-user
|
|
|
|
PKG_SYSCONFSUBDIR= texmf
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/web2c
|
|
CONF_FILES+= ${PREFIX}/share/texmf-dist/web2c/updmap.cfg \
|
|
${PKG_SYSCONFDIR}/web2c/updmap.cfg
|
|
|
|
TEX_TEXMF_DIRS+= ${PKG_SYSCONFDIR} ${PREFIX}/share/texmf-dist
|
|
|
|
.include "../../print/texlive/package.mk"
|
|
|
|
post-extract:
|
|
${MKDIR} ${WRKSRC}/bin
|
|
.for script in fmtutil-sys.sh fmtutil-user.sh texconfig-dialog.sh \
|
|
texconfig-sys.sh texlinks.sh
|
|
${MV} ${WRKSRC}/texmf-dist/scripts/texlive/${script} \
|
|
${WRKSRC}/bin/${script:S/.sh//}
|
|
.endfor
|
|
.for script in allcm.sh allneeded.sh dvi2fax.sh dvired.sh kpsetool.sh \
|
|
kpsewhere.sh updmap-sys.sh updmap-user.sh updmap.pl fmtutil.pl
|
|
${MV} ${WRKSRC}/texmf-dist/scripts/texlive/${script} \
|
|
${WRKSRC}/bin/${script:S/.pl//:S/.sh//}
|
|
.endfor
|
|
# ${MV} ${WRKSRC}/texmf-dist/scripts/texlive/mktexlsr.pl ${WRKSRC}/bin
|
|
# ${RMDIR} -p ${WRKSRC}/texmf-dist/scripts/texlive 2>/dev/null || ${TRUE}
|
|
|
|
post-install:
|
|
${LN} -sf allcm ${DESTDIR}${PREFIX}/bin/allec
|
|
${LN} -sf kpsetool ${DESTDIR}${PREFIX}/bin/kpsepath
|
|
${LN} -sf kpsetool ${DESTDIR}${PREFIX}/bin/kpsexpand
|
|
${LN} -sf fmtutil ${DESTDIR}${PREFIX}/bin/mktexfmt
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|