mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
cut is a C Unit Testing Framework.
PR: ports/75093 Submitted by: Sergei Gnezdov <sergeiga(at)yahoo.com>
This commit is contained in:
parent
f9dcaff5cf
commit
3058a593a8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=124100
@ -152,6 +152,7 @@
|
|||||||
SUBDIR += cssc
|
SUBDIR += cssc
|
||||||
SUBDIR += cstringbuffer
|
SUBDIR += cstringbuffer
|
||||||
SUBDIR += ctags
|
SUBDIR += ctags
|
||||||
|
SUBDIR += cut
|
||||||
SUBDIR += cutils
|
SUBDIR += cutils
|
||||||
SUBDIR += cvs+ipv6
|
SUBDIR += cvs+ipv6
|
||||||
SUBDIR += cvs2cl
|
SUBDIR += cvs2cl
|
||||||
|
43
devel/cut/Makefile
Normal file
43
devel/cut/Makefile
Normal file
@ -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>
|
2
devel/cut/distinfo
Normal file
2
devel/cut/distinfo
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
MD5 (cut-2.4rc1.tar.gz) = d0778c933ab18c11f29978fe031609ed
|
||||||
|
SIZE (cut-2.4rc1.tar.gz) = 120783
|
17
devel/cut/pkg-descr
Normal file
17
devel/cut/pkg-descr
Normal file
@ -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
|
30
devel/cut/pkg-plist
Normal file
30
devel/cut/pkg-plist
Normal file
@ -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%%
|
Loading…
Reference in New Issue
Block a user