# $MidnightBSD: mports/devel/gperf/Makefile,v 1.1 2009/08/20 17:40:07 laffer1 Exp $

PORTNAME=	gperf
PORTVERSION=	3.0.3
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

MAN1=		gperf.1
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>
