summaryrefslogtreecommitdiff
path: root/devel/uno
diff options
context:
space:
mode:
Diffstat (limited to 'devel/uno')
-rw-r--r--devel/uno/DESCR5
-rw-r--r--devel/uno/Makefile36
-rw-r--r--devel/uno/PLIST10
-rw-r--r--devel/uno/distinfo5
4 files changed, 56 insertions, 0 deletions
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