pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cut initial import for cut (C Unit Tester)



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ce117a12ebb9
branches:  trunk
changeset: 537923:ce117a12ebb9
user:      ichiro <ichiro%pkgsrc.org@localhost>
date:      Mon Jan 21 11:08:33 2008 +0000

description:
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@localhost>

diffstat:

 devel/cut/DESCR            |   3 +++
 devel/cut/Makefile         |  17 +++++++++++++++++
 devel/cut/PLIST            |   4 ++++
 devel/cut/distinfo         |   7 +++++++
 devel/cut/patches/patch-aa |  18 ++++++++++++++++++
 devel/cut/patches/patch-ab |  21 +++++++++++++++++++++
 6 files changed, 70 insertions(+), 0 deletions(-)

diffs (94 lines):

diff -r d22a6f397cc1 -r ce117a12ebb9 devel/cut/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cut/DESCR   Mon Jan 21 11:08:33 2008 +0000
@@ -0,0 +1,3 @@
+cut is C Unit Tester.
+
+see http://www.falvotech.com/content/cut/
diff -r d22a6f397cc1 -r ce117a12ebb9 devel/cut/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cut/Makefile        Mon Jan 21 11:08:33 2008 +0000
@@ -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@localhost
+HOMEPAGE=      http://www.falvotech.com/content/cut/
+COMMENT=       C Unit Tester
+
+WRKSRC=        ${WRKDIR}/repo
+
+#BUILD_TARGET= bin/cutgen
+.include "../../mk/bsd.pkg.mk"
diff -r d22a6f397cc1 -r ce117a12ebb9 devel/cut/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cut/PLIST   Mon Jan 21 11:08:33 2008 +0000
@@ -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 -r d22a6f397cc1 -r ce117a12ebb9 devel/cut/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cut/distinfo        Mon Jan 21 11:08:33 2008 +0000
@@ -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 -r d22a6f397cc1 -r ce117a12ebb9 devel/cut/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cut/patches/patch-aa        Mon Jan 21 11:08:33 2008 +0000
@@ -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 -r d22a6f397cc1 -r ce117a12ebb9 devel/cut/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cut/patches/patch-ab        Mon Jan 21 11:08:33 2008 +0000
@@ -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 )",



Home | Main Index | Thread Index | Old Index