# $OpenBSD: Makefile,v 1.6 2019/09/18 17:49:37 chrisz Exp $

COMMENT =		collection of tools for translating from BibTeX to HTML

DISTNAME =		bibtex2html-1.99
REVISION =		1

CATEGORIES =		textproc
HOMEPAGE =		https://www.lri.fr/~filliatr/bibtex2html/

MAINTAINER =		Ingo Feinerer <feinerer@logic.at>

# GPLv2 only
PERMIT_PACKAGE =	Yes

WANTLIB +=		c m

MASTER_SITES =		https://www.lri.fr/~filliatr/ftp/bibtex2html/

BUILD_DEPENDS =		lang/ocaml \
			print/texlive/base \
			textproc/hevea
RUN_DEPENDS =		print/texlive/base

FAKE_FLAGS =		DOCDIR="${DESTDIR}${PREFIX}/share/doc/bibtex2html"

USE_GMAKE =		Yes
CONFIGURE_STYLE =	gnu dest

INSTALL_TARGET =	install install-doc
TEST_TARGET =		test

.include <bsd.port.mk>
