summaryrefslogtreecommitdiff
path: root/devel/lclint
diff options
context:
space:
mode:
authormjl <mjl>2001-02-09 15:24:23 +0000
committermjl <mjl>2001-02-09 15:24:23 +0000
commit7c4efeb1881f4d8acd1e3ed568095455388a3816 (patch)
treeeaf0692dbced4dd267201722fa919499fee84674 /devel/lclint
parentd3329a3eae6d118892c3f955b9819b045f15ec26 (diff)
downloadpkgsrc-7c4efeb1881f4d8acd1e3ed568095455388a3816.tar.gz
Initial import of lclint 2.5q (based on the FreeBSD port)
Diffstat (limited to 'devel/lclint')
-rw-r--r--devel/lclint/Makefile20
-rw-r--r--devel/lclint/files/md53
-rw-r--r--devel/lclint/files/patch-sum4
-rw-r--r--devel/lclint/patches/patch-aa34
-rw-r--r--devel/lclint/patches/patch-ab13
-rw-r--r--devel/lclint/pkg/COMMENT1
-rw-r--r--devel/lclint/pkg/DESCR4
-rw-r--r--devel/lclint/pkg/PLIST49
8 files changed, 128 insertions, 0 deletions
diff --git a/devel/lclint/Makefile b/devel/lclint/Makefile
new file mode 100644
index 00000000000..2a5eb8da137
--- /dev/null
+++ b/devel/lclint/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/02/09 15:24:23 mjl Exp $
+#
+
+VERSION= 2.5q
+DISTNAME= lclint-${VERSION}.src
+CATEGORIES= devel
+MASTER_SITES= http://lclint.cs.virginia.edu/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://lclint.cs.virginia.edu/
+
+WRKSRC= ${WRKDIR}/lclint-${VERSION}/
+
+USE_GMAKE= YES
+GNU_CONFIGURE= YES
+
+do-build:
+ cd ${WRKSRC}; unset CFLAGS; ${GMAKE}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/lclint/files/md5 b/devel/lclint/files/md5
new file mode 100644
index 00000000000..78180823e58
--- /dev/null
+++ b/devel/lclint/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2001/02/09 15:24:24 mjl Exp $
+
+MD5 (lclint-2.5q.src.tar.gz) = c4c798823fe25780124dfd65933fe1ed
diff --git a/devel/lclint/files/patch-sum b/devel/lclint/files/patch-sum
new file mode 100644
index 00000000000..09da8830860
--- /dev/null
+++ b/devel/lclint/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2001/02/09 15:24:24 mjl Exp $
+
+MD5 (patch-aa) = 963f55a0a87a599449442777b2a2a2b3
+MD5 (patch-ab) = 665287186aaa7e3a10fe21378a8b742e
diff --git a/devel/lclint/patches/patch-aa b/devel/lclint/patches/patch-aa
new file mode 100644
index 00000000000..933ea7e1cb2
--- /dev/null
+++ b/devel/lclint/patches/patch-aa
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/02/09 15:24:24 mjl Exp $
+
+--- Makefile.in.orig Fri Feb 9 15:02:31 2001
++++ Makefile.in Fri Feb 9 15:03:32 2001
+@@ -37,10 +37,10 @@
+ ###
+
+ ### directory for lclint libraries
+-LIBDIR = @installdir@/lib
++LIBDIR = @installdir@/share/lclint/2.5q/lib
+
+ ### directory for lclint standard imports
+-IMPORTSDIR = @installdir@/imports
++IMPORTSDIR = @installdir@/share/lclint/2.5q/imports
+
+ ### directory for lclint binary
+ INSTALLDIR = @installdir@/bin
+@@ -227,14 +227,14 @@
+ dolibraries:
+ @echo '// Installing libraries in '$(LIBDIR)
+ @echo " (This will complain if the directory already exists, don't worry about it.)"
+- -mkdir $(LIBDIR)
++ -mkdir -p $(LIBDIR)
+ $(CP) $(LCLINTLIB)/* $(LIBDIR)
+ @echo '// Installed libraries.'
+
+ doimports:
+ @echo '// Installing imports in '$(IMPORTSDIR)
+ @echo " (This will complain if the directory already exists, don't worry about it.)"
+- -mkdir $(IMPORTSDIR)
++ -mkdir -p $(IMPORTSDIR)
+ $(CP) $(LCLINTIMPORTS)/* $(IMPORTSDIR)
+ @echo '// Installed imports.'
+
diff --git a/devel/lclint/patches/patch-ab b/devel/lclint/patches/patch-ab
new file mode 100644
index 00000000000..2253bddcfbe
--- /dev/null
+++ b/devel/lclint/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/02/09 15:24:24 mjl Exp $
+
+--- configure.orig Fri Feb 9 15:01:46 2001
++++ configure Thu Jul 27 04:19:17 2000
+@@ -511,7 +511,7 @@
+ trap 'rm -f Makefile; exit 1' 1 3 15
+ CC='$CC'
+ CPP='$CPP'
+-OPT='$OPT'
++OPT='$CFLAGS'
+ cwdir='$cwdir'
+ INSTALL='$INSTALL'
+ INSTALL_PROGRAM='$INSTALL_PROGRAM'
diff --git a/devel/lclint/pkg/COMMENT b/devel/lclint/pkg/COMMENT
new file mode 100644
index 00000000000..25b09bd8ba4
--- /dev/null
+++ b/devel/lclint/pkg/COMMENT
@@ -0,0 +1 @@
+Statically check C programs
diff --git a/devel/lclint/pkg/DESCR b/devel/lclint/pkg/DESCR
new file mode 100644
index 00000000000..eb2630c2b0e
--- /dev/null
+++ b/devel/lclint/pkg/DESCR
@@ -0,0 +1,4 @@
+LCLint is a tool for statically checking C programs. With minimal
+effort, LCLint can be used as a better lint. If additional effort is
+invested adding annotations to programs, LCLing can perform stronger
+checks than can be done by any standard lint.
diff --git a/devel/lclint/pkg/PLIST b/devel/lclint/pkg/PLIST
new file mode 100644
index 00000000000..1d5849676d8
--- /dev/null
+++ b/devel/lclint/pkg/PLIST
@@ -0,0 +1,49 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/02/09 15:24:23 mjl Exp $
+bin/lclint
+share/lclint/2.5q/lib/CTrait.syms
+share/lclint/2.5q/lib/unix.lcd
+share/lclint/2.5q/lib/unix.h
+share/lclint/2.5q/lib/posixstrict.lcd
+share/lclint/2.5q/lib/posix.lcd
+share/lclint/2.5q/lib/posix.h
+share/lclint/2.5q/lib/lslinit.lsi
+share/lclint/2.5q/lib/lclinit.lci
+share/lclint/2.5q/lib/bool.h
+share/lclint/2.5q/lib/ansistrict.lcd
+share/lclint/2.5q/lib/ansi.lcd
+share/lclint/2.5q/lib/ansi.h
+share/lclint/2.5q/lib/Makefile
+share/lclint/2.5q/lib/CTraitGen.lcl
+share/lclint/2.5q/lib/unixstrict.lcd
+share/lclint/2.5q/imports/assert.lcl
+share/lclint/2.5q/imports/time.lcl
+share/lclint/2.5q/imports/strings.lcs
+share/lclint/2.5q/imports/strings.lcl
+share/lclint/2.5q/imports/string.lcs
+share/lclint/2.5q/imports/string.lcl
+share/lclint/2.5q/imports/stdlib.lcs
+share/lclint/2.5q/imports/stdlib.lcl
+share/lclint/2.5q/imports/stdio.lcs
+share/lclint/2.5q/imports/stdio.lcl
+share/lclint/2.5q/imports/stdarg.lcs
+share/lclint/2.5q/imports/stdarg.lcl
+share/lclint/2.5q/imports/signal.lcs
+share/lclint/2.5q/imports/signal.lcl
+share/lclint/2.5q/imports/setjmp.lcs
+share/lclint/2.5q/imports/setjmp.lcl
+share/lclint/2.5q/imports/math.lcs
+share/lclint/2.5q/imports/math.lcl
+share/lclint/2.5q/imports/locale.lcs
+share/lclint/2.5q/imports/locale.lcl
+share/lclint/2.5q/imports/limits.lcs
+share/lclint/2.5q/imports/limits.lcl
+share/lclint/2.5q/imports/errno.lcs
+share/lclint/2.5q/imports/errno.lcl
+share/lclint/2.5q/imports/ctype.lcs
+share/lclint/2.5q/imports/ctype.lcl
+share/lclint/2.5q/imports/assert.lcs
+share/lclint/2.5q/imports/time.lcs
+@dirrm share/lclint/2.5q/lib
+@dirrm share/lclint/2.5q/imports
+@dirrm share/lclint/2.5q
+@dirrm share/lclint