From 3db7c6c8f2d0933c3219826a001dfc42feee56c4 Mon Sep 17 00:00:00 2001 From: shannonjr Date: Tue, 15 Nov 2005 20:55:47 +0000 Subject: UNO is a tool for source code analysis. It is designed to intercept primarily the three most common types of software defects: use of uninitialized variable, nil-pointer references, and out-of-bounds array indexing. --- devel/uno/DESCR | 5 +++++ devel/uno/Makefile | 36 ++++++++++++++++++++++++++++++++++++ devel/uno/PLIST | 10 ++++++++++ devel/uno/distinfo | 5 +++++ 4 files changed, 56 insertions(+) create mode 100644 devel/uno/DESCR create mode 100644 devel/uno/Makefile create mode 100644 devel/uno/PLIST create mode 100644 devel/uno/distinfo (limited to 'devel/uno') diff --git a/devel/uno/DESCR b/devel/uno/DESCR new file mode 100644 index 00000000000..b776ac7bfd8 --- /dev/null +++ b/devel/uno/DESCR @@ -0,0 +1,5 @@ +UNO is a tool for source code analysis. It is designed +to intercept primarily the three most common types of +software defects: use of uninitialized variable, +nil-pointer references, and out-of-bounds array +indexing. diff --git a/devel/uno/Makefile b/devel/uno/Makefile new file mode 100644 index 00000000000..104ccba27be --- /dev/null +++ b/devel/uno/Makefile @@ -0,0 +1,36 @@ +# $NetBSD: Makefile,v 1.1 2005/11/15 20:55:47 shannonjr Exp $ +# + +DISTNAME= uno_v28 +CATEGORIES= devel +MASTER_SITES= http://spinroot.com/uno/ + +MAINTAINER= shannonjr@NetBSD.org +HOMEPAGE= http://spinroot.com/uno/ +COMMENT= Tool for source code analysis + +WRKSRC= ${WRKDIR}/Uno/src + +do-build: + cd ${WRKSRC} && ${SETENV} ${BUILDENV} make -f makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/uno ${PREFIX}/bin; \ + ${INSTALL_PROGRAM} ${WRKSRC}/uno_local ${PREFIX}/bin; \ + ${INSTALL_PROGRAM} ${WRKSRC}/uno_global ${PREFIX}/bin; \ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/uno; \ + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_long.pdf ${PREFIX}/share/doc/uno; \ + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_man.pdf ${PREFIX}/share/doc/uno; \ + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_manpage.pdf ${PREFIX}/share/doc/uno; \ + ${INSTALL_DATA} ${WRKDIR}/Uno/doc/uno_short.pdf ${PREFIX}/share/doc/uno; \ + ${INSTALL_MAN} ${WRKDIR}/Uno/doc/uno.1 ${PREFIX}/man/man1 + +USE_TOOLS+= bison gmake flex + +SUBST_CLASSES+= prefix +SUBST_STAGE.prefix= post-patch +SUBST_FILES.prefix= makefile +SUBST_SED.prefix= -e "s,/usr/bin,${PREFIX}/bin,g" +SUBST_MESSAGE.prefix= "Fixing harcoded paths." + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/uno/PLIST b/devel/uno/PLIST new file mode 100644 index 00000000000..5ef675cba0b --- /dev/null +++ b/devel/uno/PLIST @@ -0,0 +1,10 @@ +@comment $NetBSD: PLIST,v 1.1 2005/11/15 20:55:47 shannonjr Exp $ +bin/uno +bin/uno_global +bin/uno_local +man/man1/uno.1 +share/doc/uno/uno_long.pdf +share/doc/uno/uno_man.pdf +share/doc/uno/uno_manpage.pdf +share/doc/uno/uno_short.pdf +@dirrm share/doc/uno diff --git a/devel/uno/distinfo b/devel/uno/distinfo new file mode 100644 index 00000000000..faf77923e5c --- /dev/null +++ b/devel/uno/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2005/11/15 20:55:47 shannonjr Exp $ + +SHA1 (uno_v28.tar.gz) = a15812a7d7ba72d6d3df283e28265c4ca2761c8f +RMD160 (uno_v28.tar.gz) = ea12259c130ab61e7147a4f51c73d1c1ad056c55 +Size (uno_v28.tar.gz) = 236562 bytes -- cgit v1.2.3