# -*- 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

name                BibTool
version             2.68
categories          tex
license             GPL
platforms           darwin
maintainers         nomaintainer

description         Tool for manipulating BibTeX databases.
long_description \
    BibTeX provides an easy to use means to integrate citations and \
    bibliographies into LaTeX documents. But the user is left alone \
    with the management of the BibTeX files. The program BibTool is \
    intended to fill this gap. BibTool allows the manipulation of \
    BibTeX files which goes beyond the possibilities---and \
    intentions---of BibTeX.

homepage            http://www.gerd-neugebauer.de/software/TeX/BibTool/en/index.html
master_sites        http://www.gerd-neugebauer.de/software/TeX/BibTool/

checksums           rmd160  5238d0832f8c4823135ce7a333d0e1dd793c919b \
                    sha256  7134ce3a05fe94c04b88f18261139656ac4c0c0893de15acc0daabc90248b8fa

worksrcdir          ${name}

# The configure script included with 2.61 is older than the configure.in
use_autoreconf      yes

configure.args      --without-kpathsea

configure.universal_args-delete --disable-dependency-tracking

destroot.destdir    BINDIR=${destroot}${prefix}/bin LIBDIR=${destroot}${prefix}/lib/${name}

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
