From f4ed60456d13a84a401e345d613f8f6042b9adb5 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Fri, 12 Mar 2004 08:01:07 +0000 Subject: [PATCH] add stlfilt 20040221 An STL Error Message Decryptor for C++ --- devel/Makefile | 1 + devel/stlfilt/Makefile | 35 +++++++++++++++++++++++++++++++++++ devel/stlfilt/distinfo | 2 ++ devel/stlfilt/pkg-descr | 6 ++++++ 4 files changed, 44 insertions(+) create mode 100644 devel/stlfilt/Makefile create mode 100644 devel/stlfilt/distinfo create mode 100644 devel/stlfilt/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index f2e0f44c26d5..e0afc7ae0cbf 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1128,6 +1128,7 @@ SUBDIR += spirit SUBDIR += splint SUBDIR += st + SUBDIR += stlfilt SUBDIR += stlport SUBDIR += stlport-icc SUBDIR += str diff --git a/devel/stlfilt/Makefile b/devel/stlfilt/Makefile new file mode 100644 index 000000000000..4486441bf63a --- /dev/null +++ b/devel/stlfilt/Makefile @@ -0,0 +1,35 @@ +# ex:ts=8 +# Ports collection makefile for: stlfilt +# Date created: Mar 12, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= stlfilt +PORTVERSION= 20040221 +CATEGORIES= devel +MASTER_SITES= http://www.bdsoft.com/dist/ +DISTNAME= g${PORTNAME} + +MAINTAINER= ports@FreeBSD.org +COMMENT= An STL Error Message Decryptor for C++ + +USE_ZIP= yes +USE_REINPLACE= yes +USE_PERL5_RUN= yes +NO_BUILD= yes +NO_WRKSUBDIR= yes + +PLIST_FILES= bin/gSTLFilt.pl bin/gfilt + +post-patch: + @${REINPLACE_CMD} -e "s, ,," ${WRKSRC}/gSTLFilt.pl ${WRKSRC}/gfilt + @${REINPLACE_CMD} -e "s,[$$]HOME,${PREFIX}/bin," ${WRKSRC}/gfilt + +do-install: +.for file in gSTLFilt.pl gfilt + @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin +.endfor + +.include diff --git a/devel/stlfilt/distinfo b/devel/stlfilt/distinfo new file mode 100644 index 000000000000..063dbc5501b5 --- /dev/null +++ b/devel/stlfilt/distinfo @@ -0,0 +1,2 @@ +MD5 (gstlfilt.zip) = 49328821de2a8cd69f91c2f2e4328e08 +SIZE (gstlfilt.zip) = 412277 diff --git a/devel/stlfilt/pkg-descr b/devel/stlfilt/pkg-descr new file mode 100644 index 000000000000..ff85f63b1059 --- /dev/null +++ b/devel/stlfilt/pkg-descr @@ -0,0 +1,6 @@ +STLFilt simplifies and/or reformats long-winded C++ error and warning +messages, with a focus on STL-related diagnostics (and for MSVC 6, it +fully eliminates C4786 warnings and their detritus). The result renders +many of even the most cryptic diagnostics comprehensible. + +WWW: http://www.bdsoft.com/tools/stlfilt.html