You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
texlive-bibtex-extra: add perl dependencies
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user