blob: 323f5f87c4a52e82db11376374aa142869d34ac2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# ex:ts=8
# Ports collection makefile for: ragel
# Date created: Mar 6, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= ragel
PORTVERSION= 1.4.1
CATEGORIES= devel
MASTER_SITES= http://www.essemage.com/ragel/
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
USE_BISON= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= AWK="${AWK}"
MAN1= ragel.1
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
's|-g -Wall|@CFLAGS@|g'
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
.include <bsd.port.mk>
|