# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.28 5.30 5.32 5.34 perl5.setup Text-BibTeX 0.89 revision 1 maintainers nomaintainer license {Artistic-1 GPL} description Parse BibTeX files long_description Text::BibTeX is a Perl library for reading, parsing, and processing \ BibTeX files. It is the Perl half of btOOL, a pair of libraries for \ dealing with BibTeX data. platforms darwin checksums rmd160 e8a0ad529accbb7d882afa64c3fe4a457067a083 \ sha256 88a78ebf088ec7502f401c5a2b138c862cf5458534b773223bbf3aaf41224196 \ size 301944 if {${perl5.major} != ""} { depends_build-append \ port:p${perl5.major}-capture-tiny \ port:p${perl5.major}-extutils-libbuilder \ port:p${perl5.major}-config-autoconf depends_lib-append \ port:p${perl5.major}-unicode-normalize # in inc/MyBuilder.pm, copy_if_modified is called on binaries and libraries # the libraries and binaries are then modified (install names changed) # copy_if_modified, however, sets all files as read only # see https://metacpan.org/pod/release/LEONT/Module-Build-0.4220/lib/Module/Build/API.pod#copy_if_modified # see https://github.com/Perl-Toolchain-Gang/Module-Build/blob/master/lib/Module/Build/Base.pm#L5600 # patch temporarily makes the files writable before changing them patchfiles-append \ patch-permissions.diff perl5.use_module_build # libraries and binaries (libbtparse) are installed in # $prefix/libexec/perl5.NN/ to avoid conflicts. Put the btparse # header file there too. post-destroot { xinstall -d ${destroot}${prefix}/libexec/perl${perl5.major}/include file rename ${destroot}${prefix}/libexec/include/btparse.h ${destroot}${prefix}/libexec/perl${perl5.major}/include } }