aboutsummaryrefslogtreecommitdiffstats
path: root/devel/re2c/Makefile
blob: 6272ef562f1145ff9fd1d112006d1c73dd8e077a (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
# New ports collection makefile for:    re2c
# Date created:     14 May 1998
# Whom:         Eivind Eklund <eivind@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   re2c
PORTVERSION=    0.9.12
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= laszlof@vonostingroup.com
COMMENT=    Compile regular expression to C (much faster final code than flex)

GNU_CONFIGURE=  yes
USE_GCC=    3.4+
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=       re2c.1

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}
    @${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>