# -*- 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
# $Id: Portfile 92523 2012-04-30 19:17:13Z mcalhoun@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.setup         Text-BibTeX 0.62
platforms           darwin
maintainers         nomaintainer
license             {Artistic 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.

checksums           sha256  59159f2aeee51cc015a61c01de9abfca2cb4f884ea69b211edcac926d7877f6f \
                    rmd160  931a126ad8caf584d1ba47f7a8ade5e5ae6df7eb

if {${perl5.major} != ""} {
# see #31769
patchfiles          patch-btparse_tests_namebug.c.diff \
                    patch-btparse_tests_tex_test.c.diff

depends_build-append port:p${perl5.major}-capture-tiny \
                     port:p${perl5.major}-extutils-libbuilder \
                     port:p${perl5.major}-config-autoconf

perl5.use_module_build
}
