diff options
author | ichiro <ichiro@pkgsrc.org> | 2008-01-21 11:08:33 +0000 |
---|---|---|
committer | ichiro <ichiro@pkgsrc.org> | 2008-01-21 11:08:33 +0000 |
commit | cc85f87471fe3303f55c1218d8d82a95177fc569 (patch) | |
tree | 729fa73df5c623473db2cb9b694f282e330364b3 /devel/cut | |
parent | ec9b4e04bfefc8ef92b20c99c515657de4e2ae96 (diff) | |
download | pkgsrc-cc85f87471fe3303f55c1218d8d82a95177fc569.tar.gz |
initial import for cut (C Unit Tester)
see. http://www.falvotech.com/content/cut/
this pkgsrc was contributed by Toshiaki Nozawa <noz@m-springs.jp>
Diffstat (limited to 'devel/cut')
-rw-r--r-- | devel/cut/DESCR | 3 | ||||
-rw-r--r-- | devel/cut/Makefile | 17 | ||||
-rw-r--r-- | devel/cut/PLIST | 4 | ||||
-rw-r--r-- | devel/cut/distinfo | 7 | ||||
-rw-r--r-- | devel/cut/patches/patch-aa | 18 | ||||
-rw-r--r-- | devel/cut/patches/patch-ab | 21 |
6 files changed, 70 insertions, 0 deletions
diff --git a/devel/cut/DESCR b/devel/cut/DESCR new file mode 100644 index 00000000000..dc852618262 --- /dev/null +++ b/devel/cut/DESCR @@ -0,0 +1,3 @@ +cut is C Unit Tester. + +see http://www.falvotech.com/content/cut/ diff --git a/devel/cut/Makefile b/devel/cut/Makefile new file mode 100644 index 00000000000..5dfb5463b06 --- /dev/null +++ b/devel/cut/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2008/01/21 11:08:33 ichiro Exp $ +# + +DISTNAME= cut-2.4 +PKGNAME= cut-2 +PKGREVISION= 1 +CATEGORIES= devel +MASTER_SITES= http://www.falvotech.com/content/cut/downloads/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.falvotech.com/content/cut/ +COMMENT= C Unit Tester + +WRKSRC= ${WRKDIR}/repo + +#BUILD_TARGET= bin/cutgen +.include "../../mk/bsd.pkg.mk" diff --git a/devel/cut/PLIST b/devel/cut/PLIST new file mode 100644 index 00000000000..38dfe44a4ea --- /dev/null +++ b/devel/cut/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1 2008/01/21 11:08:33 ichiro Exp $ +bin/cutgen-${PKGVERSION} +include/${PKGNAME}/cut.h +@dirrm include/${PKGNAME} diff --git a/devel/cut/distinfo b/devel/cut/distinfo new file mode 100644 index 00000000000..fdd8a1ce6b6 --- /dev/null +++ b/devel/cut/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2008/01/21 11:08:33 ichiro Exp $ + +SHA1 (cut-2.4.tar.gz) = 453c608367bd15b61a43f0a841e86453a34441ac +RMD160 (cut-2.4.tar.gz) = 3d6d56f4613264a21f8bd87d71a831b16514f070 +Size (cut-2.4.tar.gz) = 120644 bytes +SHA1 (patch-aa) = 88616d584ccd1a1a98f77e0c388453b0f4c4cea5 +SHA1 (patch-ab) = c5ce03e2eeed63a0c5fe14f7ffb69c821885f688 diff --git a/devel/cut/patches/patch-aa b/devel/cut/patches/patch-aa new file mode 100644 index 00000000000..9c40a3c4182 --- /dev/null +++ b/devel/cut/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1 2008/01/21 11:08:33 ichiro Exp $ + +--- Makefile.orig 2006-04-26 02:54:39.000000000 +0900 ++++ Makefile 2008-01-19 19:40:19.000000000 +0900 +@@ -4,11 +4,11 @@ + + .SUFFIXES: + +-INSTALLPATH := /usr/local ++INSTALLPATH = $(LOCALBASE) + INCDIR := $(INSTALLPATH)/include/cut-2 + BINDIR := $(INSTALLPATH)/bin + +-bin/cutgen: ++all: + (cd src; make posix) + mv src/cutgen bin + diff --git a/devel/cut/patches/patch-ab b/devel/cut/patches/patch-ab new file mode 100644 index 00000000000..c7faa6b9fb6 --- /dev/null +++ b/devel/cut/patches/patch-ab @@ -0,0 +1,21 @@ +$NetBSD: patch-ab,v 1.1 2008/01/21 11:08:33 ichiro Exp $ + +--- src/cuttemplate.c.orig 2006-04-26 03:11:47.000000000 +0900 ++++ src/cuttemplate.c 2008-01-20 16:12:45.000000000 +0900 +@@ -64,7 +64,7 @@ + "", + "static void print_integer_as_expected( int i )", + "{", +- " printf( \"(signed) %d (unsigned) %u (hex) 0x%08lX\", i, i, i );", ++ " printf( \"(signed) %d (unsigned) %u (hex) 0x%08lX\", i, i, (long)i );", + "}", + "", + "static void print_integer( int i )", +@@ -354,6 +354,7 @@ + "", + " cut_exit();", + " } else return 1;", ++ " return 0;", + "}", + "", + "void __cut_end( char *filename, int lineNumber, char *closingFrame )", |