From 374e07ba7598bdcb6e4fd2da66a98aaa4ece982b Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Tue, 12 Oct 2004 12:46:56 +0000 Subject: Update to version 3.8.2 PR: ports/72525 Submitted by: Ports Fury --- devel/codeworker/Makefile | 25 ++++++++++++------------- devel/codeworker/distinfo | 4 ++-- devel/codeworker/files/patch-DtaPatternScript.h | 10 ---------- devel/codeworker/files/patch-ScpStream.h | 11 ----------- 4 files changed, 14 insertions(+), 36 deletions(-) delete mode 100644 devel/codeworker/files/patch-DtaPatternScript.h delete mode 100644 devel/codeworker/files/patch-ScpStream.h (limited to 'devel/codeworker') diff --git a/devel/codeworker/Makefile b/devel/codeworker/Makefile index e4cbc640746d..912de35277a0 100644 --- a/devel/codeworker/Makefile +++ b/devel/codeworker/Makefile @@ -7,22 +7,23 @@ # PORTNAME= codeworker -PORTVERSION= 3.3 -PORTREVISION= 1 +PORTVERSION= 3.8.2 CATEGORIES= devel MASTER_SITES= http://codeworker.free.fr/downloads/ -DISTNAME= CodeWorker_SRC${PORTVERSION:S/./_/} +DISTNAME= CodeWorker_SRC${PORTVERSION:S/./_/g} MAINTAINER= ports@FreeBSD.org COMMENT= A parsing tool and a source code generator -PLIST_FILES= bin/codeworker +EXTRACT_BEFORE_ARGS= -qo -aa + +WRKSRC= ${WRKDIR}/CodeWorker${PORTVERSION:S/./_/g} + USE_ZIP= yes -USE_REINPLACE= yes -NO_WRKSUBDIR= yes -LDFLAGS+= -lcompat USE_GMAKE= yes -MAKE_ENV= LDFLAGS="${LDFLAGS}" +MAKE_ARGS= CC="${CXX}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LFLAGS="-lm" + +PLIST_FILES= bin/codeworker .include @@ -30,11 +31,9 @@ MAKE_ENV= LDFLAGS="${LDFLAGS}" BROKEN= "Does not compile on !i386" .endif -post-patch: - @${REINPLACE_CMD} -e "s|^CXXFLAGS|#CXXFLAGS|g" \ - -e s"|LFLAGS|LDFLAGS|" -e "s|^LDFLAGS|#LDFLAGS|" \ - -e "s|CC|CXX|g" -e "s|^CXX|#CXX|g" ${WRKSRC}/Makefile - @${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e "s| ||" +.if ${OSVERSION} < 500035 +CFLAGS+= -fpermissive +.endif do-install: ${INSTALL_PROGRAM} ${WRKSRC}/codeworker ${PREFIX}/bin diff --git a/devel/codeworker/distinfo b/devel/codeworker/distinfo index 0c0538c0a09d..13c105a4be4d 100644 --- a/devel/codeworker/distinfo +++ b/devel/codeworker/distinfo @@ -1,2 +1,2 @@ -MD5 (CodeWorker_SRC3_3.zip) = 1a2d88de860652e46356ba37bf9ea341 -SIZE (CodeWorker_SRC3_3.zip) = 1982777 +MD5 (CodeWorker_SRC3_8_2.zip) = c7294abc279b3e4990e460770ff22698 +SIZE (CodeWorker_SRC3_8_2.zip) = 1659058 diff --git a/devel/codeworker/files/patch-DtaPatternScript.h b/devel/codeworker/files/patch-DtaPatternScript.h deleted file mode 100644 index 700404749e3e..000000000000 --- a/devel/codeworker/files/patch-DtaPatternScript.h +++ /dev/null @@ -1,10 +0,0 @@ ---- DtaPatternScript.h.orig Sun Jan 25 21:36:50 2004 -+++ DtaPatternScript.h Sun Jan 25 21:40:17 2004 -@@ -24,6 +24,7 @@ - - #include "DtaScript.h" - #include -+#include - - namespace CodeWorker { - #ifndef EXECUTE_FUNCTION_TYPE diff --git a/devel/codeworker/files/patch-ScpStream.h b/devel/codeworker/files/patch-ScpStream.h deleted file mode 100644 index 893bce5698b4..000000000000 --- a/devel/codeworker/files/patch-ScpStream.h +++ /dev/null @@ -1,11 +0,0 @@ ---- ScpStream.h.orig Sun Jan 25 21:34:17 2004 -+++ ScpStream.h Sun Jan 25 21:34:40 2004 -@@ -34,6 +34,8 @@ - #include - #include - -+#include -+ - namespace CodeWorker { - - #ifdef IN -- cgit v1.2.3