PORTNAME=	fsmtrie
PORTVERSION=	2.0.0
CATEGORIES=	devel
MASTER_SITES=	FARSIGHT LOCAL/truckman/farsight

MAINTAINER=	truckman@FreeBSD.org
COMMENT=	Fast String Matcher Trie project
WWW=		https://github.com/farsightsec/fsmtrie

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/COPYRIGHT

TEST_DEPENDS=	checkmk:devel/check

GNU_CONFIGURE=	yes
USES=		gmake libtool pkgconfig
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip
TEST_TARGET=	check

PORTDOCS=	*

OPTIONS_DEFINE=	DOCS DOXYGEN
OPTIONS_DEFAULT=DOXYGEN

DOXYGEN_BUILD_DEPENDS=	doxygen:devel/doxygen
DOXYGEN_ALL_TARGET=	html-local
DOXYGEN_IMPLIES=	DOCS

CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

.include <bsd.port.mk>
