1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

print/texlive-texmf: Fix document compilation

Texlive/Latex package xfrac causes document compilation to fail

PR:		279711
Reported by:	zdeinji6w@mozmail.com
Approved by:	tex
This commit is contained in:
Rainer Hurling 2024-09-08 18:07:00 +02:00 committed by Muhammad Moinur Rahman
parent 0c7ecf1dd3
commit 423c956927
No known key found for this signature in database
GPG Key ID: BDB9B5A617C0BC91

View File

@ -1,5 +1,6 @@
PORTNAME= texlive
DISTVERSION= ${TEXLIVE_VERSION}
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= LOCAL/tex
PKGNAMESUFFIX= -texmf
@ -32,6 +33,9 @@ do-install:
${STAGEDIR}${PREFIX}/share/texmf-dist/tex/latex/prettytok/prettytok-decode-8bit.py
${REINPLACE_CMD} -i '' -e '1s|/usr/bin/perl|${perl_CMD}|' \
${STAGEDIR}${PREFIX}/share/texmf-dist/scripts/eolang/eolang.pl
# https://ctan.org/ctan-ann/id/mailman.9290.1717583628.3764.ctan-ann@ctan.org
${REINPLACE_CMD} -e 's|IfInstanceExistTF|IfInstanceExistsTF|g' \
${STAGEDIR}${PREFIX}/share/texmf-dist/tex/latex/xfrac/xfrac.sty
${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 | \