# $MidnightBSD: trunk/devel/gperf/Makefile 16104 2014-03-23 17:38:10Z laffer1 $

PORTNAME=	gperf
PORTVERSION=	3.0.3
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	gperf

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Generates perfect hash functions for sets of keywords

LICENSE=	gpl2

MAKE_JOBS_UNSAFE=	yes

GNU_CONFIGURE=	yes

INFO=		gperf
CONFIGURE_ARGS+=	--docdir=${DOCSDIR}
# avoid GPL3
PORTSCOUT=	skipv:3.0.4

regression-test: test

test:	build
	@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check

.include <bsd.port.mk>
