summaryrefslogtreecommitdiffstats
path: root/devel/codeworker/Makefile
blob: 912de35277a0ed8333df8e4448674b880723c991 (plain)
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
37
38
39
40
41
# ex:ts=8
# Ports collection makefile for:	CodeWorker
# Date created:			Dec 31, 2003
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	codeworker
PORTVERSION=	3.8.2
CATEGORIES=	devel
MASTER_SITES=	http://codeworker.free.fr/downloads/
DISTNAME=	CodeWorker_SRC${PORTVERSION:S/./_/g}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A parsing tool and a source code generator

EXTRACT_BEFORE_ARGS=	-qo -aa

WRKSRC=		${WRKDIR}/CodeWorker${PORTVERSION:S/./_/g}

USE_ZIP=	yes
USE_GMAKE=	yes
MAKE_ARGS=	CC="${CXX}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LFLAGS="-lm"

PLIST_FILES=	bin/codeworker

.include <bsd.port.pre.mk>

.if ${ARCH} != "i386"
BROKEN=		"Does not compile on !i386"
.endif

.if ${OSVERSION} < 500035
CFLAGS+=	-fpermissive
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/codeworker ${PREFIX}/bin

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud