diff options
author | sem <sem@FreeBSD.org> | 2004-12-15 20:12:15 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2004-12-15 20:12:15 +0800 |
commit | bfbc80e3ca135a674826434fddc51f4b46f67dd5 (patch) | |
tree | ee91f53c31e51db168711a46b71e56f57698baf5 /devel/cut | |
parent | d7c3003f7585b55ad848f9593cd7adb7021e66b1 (diff) | |
download | freebsd-ports-gnome-bfbc80e3ca135a674826434fddc51f4b46f67dd5.tar.gz freebsd-ports-gnome-bfbc80e3ca135a674826434fddc51f4b46f67dd5.tar.zst freebsd-ports-gnome-bfbc80e3ca135a674826434fddc51f4b46f67dd5.zip |
cut is a C Unit Testing Framework.
PR: ports/75093
Submitted by: Sergei Gnezdov <sergeiga(at)yahoo.com>
Diffstat (limited to 'devel/cut')
-rw-r--r-- | devel/cut/Makefile | 43 | ||||
-rw-r--r-- | devel/cut/distinfo | 2 | ||||
-rw-r--r-- | devel/cut/pkg-descr | 17 | ||||
-rw-r--r-- | devel/cut/pkg-plist | 30 |
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%% |