diff --git a/devel/codeworker/Makefile b/devel/codeworker/Makefile index d296f616ebe5..7aa7f2b5b687 100644 --- a/devel/codeworker/Makefile +++ b/devel/codeworker/Makefile @@ -1,49 +1,52 @@ PORTNAME= codeworker PORTVERSION= 4.5.3 CATEGORIES= devel MASTER_SITES= http://codeworker.free.fr/downloads/ DISTNAME= CodeWorker_SRC${PORTVERSION:S/./_/g} MAINTAINER= ports@FreeBSD.org COMMENT= Versatile parsing tool and source code generator WWW= http://codeworker.free.fr/ LICENSE= LGPL21 +DEPRECATED= Abandonware, outdated version in ports and last release upstream in 2010 +EXPIRATION_DATE=2024-03-31 + WRKSRC= ${WRKDIR}/CodeWorker${PORTVERSION:S/./_/g} USES= dos2unix gmake zip USE_CXXSTD= c++14 MAKE_ARGS= CC="${CXX}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" LFLAGS="-lm" ALL_TARGET= build CFLAGS+= -Dstricmp=strcasecmp PLIST_FILES= bin/codeworker .include .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) CFLAGS+= -Wno-error=dynamic-exception-spec CPPFLAGS+= -Wno-error=dynamic-exception-spec CXXFLAGS+= -Wno-error=dynamic-exception-spec .endif post-patch: @${FIND} ${WRKSRC} -name "*.cpp" -or -name "*.h" | ${XARGS} \ ${REINPLACE_CMD} -e \ 's||| ; \ s|(__cplusplus) \&\&|(__cplusplus) // \&\&|' .if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) @${REINPLACE_CMD} -e 's|auto_ptr|unique_ptr|g' \ ${WRKSRC}/CppParsingTree.cpp \ ${WRKSRC}/CppParsingTree.h @${REINPLACE_CMD} -E 's|throw\(UtlException\)|noexcept\(false\)|g' \ ${WRKSRC}/CGRuntime.cpp \ ${WRKSRC}/CGRuntime.h .endif do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} codeworker ${STAGEDIR}${PREFIX}/bin) .include