2014-08-31 22:23:30 +02:00
|
|
|
PORTNAME= texlive
|
2022-02-19 03:19:20 +01:00
|
|
|
PORTVERSION= ${TEXLIVE_VERSION}
|
2014-08-31 22:23:30 +02:00
|
|
|
CATEGORIES= print
|
2022-02-19 03:19:20 +01:00
|
|
|
MASTER_SITES= TEX_CTAN/systems/texlive/${TEXLIVEVEYEAR}/
|
2014-08-31 22:23:30 +02:00
|
|
|
PKGNAMESUFFIX= -texmf-source
|
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-texmf
|
|
|
|
DIST_SUBDIR= TeX
|
|
|
|
|
2021-08-17 12:33:40 +02:00
|
|
|
MAINTAINER= tex@FreeBSD.org
|
2014-08-31 22:23:30 +02:00
|
|
|
COMMENT= TeX Live Typesetting System, texmf Tree (source)
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://tug.org/texlive/
|
2014-08-31 22:23:30 +02:00
|
|
|
|
2022-02-19 03:19:20 +01:00
|
|
|
USES= cpe perl5 python:build tar:xz
|
2021-10-21 16:27:01 +02:00
|
|
|
CPE_VENDOR= tug
|
2022-02-19 03:19:20 +01:00
|
|
|
USE_PERL5= build
|
|
|
|
USE_TEX= texmf>=${PORTVERSION}
|
|
|
|
|
|
|
|
CONFLICTS_INSTALL= texlive-base-202[0-9]*
|
|
|
|
|
|
|
|
EXTRACT_AFTER_ARGS= | ${TAR} xf - \
|
|
|
|
${INCLUDE_FILES:S,^,--include ${DISTNAME}/,} \
|
|
|
|
${EXCLUDE_FILES:S,^,--exclude ${DISTNAME}/,}
|
2014-08-31 22:23:30 +02:00
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
INCLUDE_FILES= texmf-dist/source
|
|
|
|
EXCLUDE_FILES= texmf-dist/source/fonts/japanese-otf \
|
|
|
|
texmf-dist/source/fonts/japanese-otf-uptex \
|
2022-02-19 03:19:20 +01:00
|
|
|
texmf-dist/source/fonts/uptex texmf-dist/source/jadetex \
|
|
|
|
texmf-dist/source/lambda texmf-dist/source/lualatex \
|
|
|
|
texmf-dist/source/luatex texmf-dist/source/platex \
|
|
|
|
texmf-dist/source/uplatex texmf-dist/source/xelatex \
|
2014-08-31 22:23:30 +02:00
|
|
|
texmf-dist/source/xmltex
|
|
|
|
|
2022-02-19 03:19:20 +01:00
|
|
|
TEXHASHDIRS= ${TEXMFDISTDIR}
|
2014-08-31 22:23:30 +02:00
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${CAT} ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
|
|
|
|
${EXTRACT_AFTER_ARGS} -C ${STAGEDIR}${PREFIX}/share \
|
|
|
|
--strip-components 1 --no-same-permission --no-same-owner
|
2022-02-19 03:19:20 +01:00
|
|
|
${REINPLACE_CMD} -i '' -e 's|/bin/bash|${PREFIX}/bin/bash|g' \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/fonts/ae/clean \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/fonts/ae/install \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/fifinddo-info/makevars/bashvars.sh \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/fifinddo-info/makevars/texvars.sh \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/stex/bin/installFonts.sh \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/avremu/test-suite/test-suite
|
|
|
|
${REINPLACE_CMD} -i '' -e 's|/usr/bin/env python|${PYTHON_CMD}|g' \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/fonts/gentium-tug/type1/kerncorrection.py \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/fonts/gentium-tug/type1/afmcreator.py \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/fonts/gentium-tug/type1/greekcorrection.py
|
|
|
|
${REINPLACE_CMD} -i '' -e 's|/usr/bin/perl|${PERL}|g' \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/generic/hyph-utf8/contributed/make-exhyph.pl \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/generic/ruhyphen/sorthyph \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/generic/ruhyphen/reduce-patt \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/stex/bin/sms \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/stex/bin/checksum \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/stex/bin/filedate \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/proposal/bin/checksum \
|
|
|
|
${STAGEDIR}${PREFIX}/share/texmf-dist/source/latex/proposal/bin/filedate
|
|
|
|
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -not -type d | ${SORT} | \
|
|
|
|
${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
|
|
|
|
${FIND} -s ${STAGEDIR}${PREFIX}/share/texmf-dist -type d -empty | ${SORT} -r | \
|
|
|
|
${SED} -e 's#^${STAGEDIR}${PREFIX}/#@dir #' >> ${TMPPLIST}
|
2014-08-31 22:23:30 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|