# ex:ts=8
# Ports collection makefile for:	FSMGenerator
# Date created:			Jan 5, 2004
# Whom:				ijliao
#
# $FreeBSD: ports/devel/fsmgenerator/Makefile,v 1.4 2006/05/04 21:40:37 edwin Exp $
#

PORTNAME=	fsmgenerator
PORTVERSION=	1.0.b.7
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
DISTNAME=	FSMGenerator${PORTVERSION:S/.//g}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Finite State Machine generating software

PLIST_FILES=	bin/fsmgenerator
USE_GMAKE=	yes

post-patch:
	@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} \
		${REINPLACE_CMD} -e "s|make$$|${GMAKE}|" \
			-e "s|^CFLAGS[ 	]+=|CFLAGS		+=|"

.include <bsd.port.mk>
