2002-05-06 18:12:39 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: ragel
|
|
|
|
# Date created: Mar 6, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ragel
|
2003-10-07 17:05:21 +02:00
|
|
|
PORTVERSION= 2.2
|
2002-05-06 18:12:39 +02:00
|
|
|
CATEGORIES= devel
|
2002-09-05 06:24:34 +02:00
|
|
|
MASTER_SITES= http://www.essemage.com/ragel/
|
2002-05-06 18:12:39 +02:00
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= Compile regular languages into executable C/C++ code
|
2002-05-06 18:12:39 +02:00
|
|
|
|
2002-10-16 08:54:51 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-05-06 18:12:39 +02:00
|
|
|
USE_BISON= yes
|
|
|
|
USE_GMAKE= yes
|
2002-10-16 08:54:51 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2002-10-18 23:48:19 +02:00
|
|
|
CONFIGURE_ENV= AWK="${AWK}"
|
2002-10-16 08:54:51 +02:00
|
|
|
|
|
|
|
MAN1= ragel.1
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
|
|
's|-g -Wall|@CFLAGS@|g'
|
2002-05-06 18:12:39 +02:00
|
|
|
|
2002-10-18 23:48:19 +02:00
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/doc && ${SETENV} ${MAKE_ENV} \
|
|
|
|
${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} ragel.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ragel ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/ragel.1 ${MANPREFIX}/man/man1
|
|
|
|
|
2002-05-06 18:12:39 +02:00
|
|
|
.include <bsd.port.mk>
|