freebsd-ports/devel/codeworker/Makefile

45 lines
864 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: CodeWorker
# Date created: Dec 31, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= codeworker
PORTVERSION= 4.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"
ALL_TARGET= build
CFLAGS+= -Dstricmp=strcasecmp
PLIST_FILES= bin/codeworker
2004-02-23 07:45:09 +01:00
.include <bsd.port.pre.mk>
2007-05-26 22:38:49 +02:00
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif
.if ${OSVERSION} < 500035
CFLAGS+= -fpermissive
.endif
do-install:
2004-01-07 03:59:29 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/codeworker ${PREFIX}/bin
2004-02-23 07:45:09 +01:00
.include <bsd.port.post.mk>