# ex:ts=8
# Ports collection makefile for:	FSMGenerator
# Date created:			Jan 5, 2004
# Whom:				ijliao
#
# $FreeBSD: ports/devel/fsmgenerator/Makefile,v 1.3 2004/02/05 20:37:04 trevor 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_REINPLACE=	yes
USE_GMAKE=	yes

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

.include <bsd.port.mk>
