COMMENT =		tool for manipulating BibTeX databases

VERSION =		2.68
DISTNAME =		BibTool-$(VERSION)
PKGNAME =		bibtool-$(VERSION)

CATEGORIES =		textproc

HOMEPAGE =		https://www.gerd-neugebauer.de/software/TeX/BibTool/

MAINTAINER =		Marco van Hulten <marco@hulten.org>

# GPLv2
PERMIT_PACKAGE =	Yes

TEST_DEPENDS =		print/texlive/base
RUN_DEPENDS =		print/texlive/base

WANTLIB += c

SITES =			https://www.gerd-neugebauer.de/software/TeX/BibTool/en
# At https://mirrors.ctan.org/biblio/bibtex/utils/bibtool/ lives a tarball with
# a different checksum, but their contents are identical.

FAKE_FLAGS =		INSTALLPREFIX=${WRKINST}
TEST_FLAGS =		TEXMFCNF=$(PREFIX)/share/texmf-dist/web2c

CONFIGURE_STYLE =	gnu

MAKE_FILE =		makefile
WRKDIST =		${WRKDIR}/BibTool

.include <bsd.port.mk>
