aboutsummaryrefslogtreecommitdiff
path: root/devel/cut
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2004-12-15 12:12:15 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2004-12-15 12:12:15 +0000
commit3058a593a836cf4d86e947011114dbb879b22f49 (patch)
tree02142155128aae5b2b8b57a4c5a3ca854a7fa9c8 /devel/cut
parentf9dcaff5cf56cc01b119f1114e9b20e77c3a4c69 (diff)
downloadports-3058a593a836cf4d86e947011114dbb879b22f49.tar.gz
ports-3058a593a836cf4d86e947011114dbb879b22f49.zip
Notes
Diffstat (limited to 'devel/cut')
-rw-r--r--devel/cut/Makefile43
-rw-r--r--devel/cut/distinfo2
-rw-r--r--devel/cut/pkg-descr17
-rw-r--r--devel/cut/pkg-plist30
4 files changed, 92 insertions, 0 deletions
diff --git a/devel/cut/Makefile b/devel/cut/Makefile
new file mode 100644
index 000000000000..ee096a663eb0
--- /dev/null
+++ b/devel/cut/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: cut
+# Date created: December 5 2004
+# Whom: Sergei Gnezdov <sergeiga@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cut
+PORTVERSION= 2.4
+CATEGORIES= devel
+MASTER_SITES= http://www.falvotech.com/downloads/
+
+MAINTAINER= sgnezdov@sergei.homeunix.org
+COMMENT= Unit Testing Framework for C, C++ and Objective-C
+
+DISTVERSIONSUFFIX= rc1
+
+EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${PORTVERSION}
+DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+
+# related to build target
+ALL_TARGET= bin/cutgen
+
+# cut interface is compatible at major version number
+major= 2
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/cutgen ${PREFIX}/bin/cutgen-${major}
+ ${CP} -R ${WRKSRC}/include/* ${PREFIX}/include/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}/tutorial
+ ${CP} ${WRKSRC}/LICENSE ${WRKSRC}/docs/README ${WRKSRC}/CHANGELOG ${DOCSDIR}/
+ ${CP} -R ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.c\
+ ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.h\
+ ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.dvi\
+ ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.pdf\
+ ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.ps\
+ ${DOCSDIR}/tutorial/
+ ${MKDIR} ${EXAMPLESDIR}/
+ ${CP} -R ${WRKSRC}/test/* ${EXAMPLESDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/cut/distinfo b/devel/cut/distinfo
new file mode 100644
index 000000000000..c95241b4ddb7
--- /dev/null
+++ b/devel/cut/distinfo
@@ -0,0 +1,2 @@
+MD5 (cut-2.4rc1.tar.gz) = d0778c933ab18c11f29978fe031609ed
+SIZE (cut-2.4rc1.tar.gz) = 120783
diff --git a/devel/cut/pkg-descr b/devel/cut/pkg-descr
new file mode 100644
index 000000000000..f49c7811bf43
--- /dev/null
+++ b/devel/cut/pkg-descr
@@ -0,0 +1,17 @@
+CUT is a simple, to-the-point unit testing system. It's different from
+other unit test packages in that it follows the KISS principle. It's
+designed for C testing, not designed to emulate SUnit.
+
+CUT works with C, C++ and Objective-C.
+
+CUT was primarily written by Samuel A. Falvo II and by Billy Tanksley,
+starting life as distinct, and even competing, CUT 1.0 and test-assert
+packages. When it was finally decided to combine both packages into a
+single tool, CUT 2.0 was released, and found to be vastly more useful
+than either expected. CUT 2.3 is the latest version of the CUT 2.x
+series.
+
+CUT follows standard error messages format supported by Emacs.
+
+SourceForge.net location: WWW: http://sourceforge.net/projects/cut/
+Home Page: WWW: http://www.falvotech.com/projects/cut.php
diff --git a/devel/cut/pkg-plist b/devel/cut/pkg-plist
new file mode 100644
index 000000000000..fd768cf8ceff
--- /dev/null
+++ b/devel/cut/pkg-plist
@@ -0,0 +1,30 @@
+bin/cutgen-2
+include/cut-2/cut.h
+%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
+%%PORTDOCS%%%%DOCSDIR%%/LICENSE
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/Compute.c
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/Compute.h
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/Compute1.c
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/Main.c
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/TestCompute.c
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/Tutorial.dvi
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/Tutorial.pdf
+%%PORTDOCS%%%%DOCSDIR%%/tutorial/Tutorial.ps
+%%PORTDOCS%%%%EXAMPLESDIR%%/all-pass/Makefile
+%%PORTDOCS%%%%EXAMPLESDIR%%/all-pass/cut-pass.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/bringup-failure/Makefile
+%%PORTDOCS%%%%EXAMPLESDIR%%/bringup-failure/cut-explode1.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/bringup-failure/cut-explode2.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/normal-failure/Makefile
+%%PORTDOCS%%%%EXAMPLESDIR%%/normal-failure/cut-explode.c
+%%PORTDOCS%%%%EXAMPLESDIR%%/simple-demo-pass/Makefile
+%%PORTDOCS%%%%EXAMPLESDIR%%/simple-demo-pass/cut-pass.c
+@dirrm include/cut-2
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/tutorial
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/all-pass
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/bringup-failure
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/normal-failure
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/simple-demo-pass
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%