texlive-bibtex-extra: add perl dependencies

This commit is contained in:
Dan R. K. Ports
2026-06-01 22:03:54 -07:00
parent 0fe71fd74c
commit 726575b508
+17 -1
View File
@@ -5,7 +5,7 @@ PortGroup texlive 1.0
name texlive-bibtex-extra
version 78219
revision 2
revision 3
categories tex
maintainers {dports @drkp}
@@ -53,7 +53,23 @@ post-patch {
} {
reinplace "s|@@TEXMFDIST@@|${texlive_texmfdist}|" ${worksrcpath}/${f}
}
# Fix perl paths for any perl scripts that have non-core
# dependencies.
reinplace -E "1 s,^#! ?(/usr/bin/env perl|/usr/bin/perl),#!${prefix}/bin/perl${perl5.major}," \
${worksrcpath}/runfiles/texmf-dist/scripts/crossrefware/bbl2bib.pl \
${worksrcpath}/runfiles/texmf-dist/scripts/crossrefware/bibdoiadd.pl \
${worksrcpath}/runfiles/texmf-dist/scripts/crossrefware/bibmradd.pl \
${worksrcpath}/runfiles/texmf-dist/scripts/crossrefware/bibzbladd.pl
}
PortGroup perl5 1.0
perl5.branches 5.34
# dependencies for crossrefware (bbl2bib, bibdoiadd, bibmradd, bibzbladd)
depends_run-append port:p${perl5.major}-libwww-perl \
port:p${perl5.major}-uri \
port:p${perl5.major}-json
texlive.texmfport