aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cocktail/Makefile
blob: 6d3ed0ea5ff806d1167e84ca4a8c85104e8a4ab0 (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
# New ports collection makefile for:   cocktail
# Date created:        12 november 2003
# Whom:                wjw
#
# $FreeBSD$
#

PORTNAME=   cocktail
PORTVERSION=    9309
PORTREVISION=   1
CATEGORIES= devel
MASTER_SITES=   http://wwwold.first.fraunhofer.de/cocktail/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= wjw@withagen.nl
COMMENT=    Compiler tools with attribute grammars

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1=       ag.1 puma.1 mpp.1 lalr.1 ell.1 bnf.1 ast.1 rex.1 mtc.1
MAN2=       mtc.2

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     "Does not compile on FreeBSD 4.x"
.endif

.if ${OSVERSION} >= 700000
BROKEN=     Segfault during build on FreeBSD >= 7.0
.endif

post-extract:
        ${RM} -f ${WRKSRC}/mtc/m2c/SYSTEM_.h
        ${RM} -f ${WRKSRC}/mtc/m2c/SYSTEM_.c

.include <bsd.port.post.mk>