# -*- 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 107588 2013-07-03 01:22:48Z dports@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         Text-BibTeX 0.66
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           rmd160  c6389b7b4d98f416c930ba8584882106df1f74d7 \
                    sha256  47a635c8d02e6429ad07e714c2073460ea699f1440f3144b860e3b055278d573

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
}
