# $Id: Portfile 79755 2011-06-24 22:42:42Z ryandesign@macports.org $

PortSystem			1.0
name				BibTool
version				2.52
categories			tex
maintainers			cs.dartmouth.edu:tristan
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. 

platforms			darwin

homepage			http://www.gerd-neugebauer.de/software/TeX/BibTool/index.en.html
master_sites		http://tug.ctan.org/tex-archive/biblio/bibtex/utils/bibtool/ \
					ftp://cam.ctan.org/tex-archive/biblio/bibtex/utils/bibtool/ \
					ftp://ftp.dante.de/tex-archive/biblio/bibtex/utils/bibtool/

checksums           sha1    6591d1bf63aa48a08c2cce5ef56100b60c91ee07 \
                    rmd160  a268f3dcd40cf85cdb10279a8a2515b1d346ec77

worksrcdir          ${name}

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

depends_lib			bin:tex:texlive

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