ports/75093: New Port: devel/cut
Sergei Gnezdov
sergeiga at yahoo.com
Wed Dec 15 05:00:47 UTC 2004
>Number: 75093
>Category: ports
>Synopsis: New Port: devel/cut
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Dec 15 05:00:46 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Sergei Gnezdov
>Release: 5.3
>Organization:
>Environment:
5.3-RELEASE
>Description:
cut is a C Unit Testing Framework.
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# cut
# cut/distinfo
# cut/Makefile
# cut/pkg-plist
# cut/pkg-descr
#
echo c - cut
mkdir -p cut > /dev/null 2>&1
echo x - cut/distinfo
sed 's/^X//' >cut/distinfo << 'END-of-cut/distinfo'
XMD5 (cut-2.4rc1.tar.gz) = d0778c933ab18c11f29978fe031609ed
XSIZE (cut-2.4rc1.tar.gz) = 120783
END-of-cut/distinfo
echo x - cut/Makefile
sed 's/^X//' >cut/Makefile << 'END-of-cut/Makefile'
X# New ports collection makefile for: cut
X# Date created: December 5 2004
X# Whom: Sergei Gnezdov <sergeiga at yahoo.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= cut
XPORTVERSION= 2.4
XPORTREVISION= 1
XCATEGORIES= devel
XMASTER_SITES= http://www.falvotech.com/downloads/
X
XMAINTAINER= sgnezdov at sergei.homeunix.org
XCOMMENT= Unit Testing Framework for C, C++ and Objective-C
X
XDISTVERSIONSUFFIX= rc1
X
XEXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${PORTVERSION}
XDOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
X
X# related to build target
XALL_TARGET= bin/cutgen
X
X# cut interface is compatible at major version number
Xmajor= 2
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/bin/cutgen ${PREFIX}/bin/cutgen-${major}
X ${CP} -R ${WRKSRC}/include/* ${PREFIX}/include/
X ${MKDIR} ${DOCSDIR}/tutorial
X ${CP} ${WRKSRC}/LICENSE ${WRKSRC}/docs/README ${WRKSRC}/CHANGELOG ${DOCSDIR}/
X ${CP} -R ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.c\
X ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.h\
X ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.dvi\
X ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.pdf\
X ${WRKSRC}/docs/tutorials/sergei_gnezdov/*.ps\
X ${DOCSDIR}/tutorial/
X ${MKDIR} ${EXAMPLESDIR}/
X ${CP} -R ${WRKSRC}/test/* ${EXAMPLESDIR}/
X
X.include <bsd.port.mk>
END-of-cut/Makefile
echo x - cut/pkg-plist
sed 's/^X//' >cut/pkg-plist << 'END-of-cut/pkg-plist'
Xbin/cutgen-2
Xinclude/cut-2/cut.h
Xshare/doc/cut-2.4/CHANGELOG
Xshare/doc/cut-2.4/LICENSE
Xshare/doc/cut-2.4/README
Xshare/doc/cut-2.4/tutorial/Compute.c
Xshare/doc/cut-2.4/tutorial/Compute.h
Xshare/doc/cut-2.4/tutorial/Compute1.c
Xshare/doc/cut-2.4/tutorial/Main.c
Xshare/doc/cut-2.4/tutorial/TestCompute.c
Xshare/doc/cut-2.4/tutorial/Tutorial.dvi
Xshare/doc/cut-2.4/tutorial/Tutorial.pdf
Xshare/doc/cut-2.4/tutorial/Tutorial.ps
Xshare/examples/cut-2.4/all-pass/Makefile
Xshare/examples/cut-2.4/all-pass/cut-pass.c
Xshare/examples/cut-2.4/bringup-failure/Makefile
Xshare/examples/cut-2.4/bringup-failure/cut-explode1.c
Xshare/examples/cut-2.4/bringup-failure/cut-explode2.c
Xshare/examples/cut-2.4/normal-failure/Makefile
Xshare/examples/cut-2.4/normal-failure/cut-explode.c
Xshare/examples/cut-2.4/simple-demo-pass/Makefile
Xshare/examples/cut-2.4/simple-demo-pass/cut-pass.c
X at dirrm include/cut-2/
X at dirrm share/doc/cut-2.4/tutorial/
X at dirrm share/doc/cut-2.4/
X at dirrm share/examples/cut-2.4/all-pass/
X at dirrm share/examples/cut-2.4/bringup-failure/
X at dirrm share/examples/cut-2.4/normal-failure/
X at dirrm share/examples/cut-2.4/simple-demo-pass/
X at dirrm share/examples/cut-2.4/
END-of-cut/pkg-plist
echo x - cut/pkg-descr
sed 's/^X//' >cut/pkg-descr << 'END-of-cut/pkg-descr'
XCUT is a simple, to-the-point unit testing system. It's different from
Xother unit test packages in that it follows the KISS principle. It's
Xdesigned for C testing, not designed to emulate SUnit.
X
XCUT works with C, C++ and Objective-C.
X
XCUT was primarily written by Samuel A. Falvo II and by Billy Tanksley,
Xstarting life as distinct, and even competing, CUT 1.0 and test-assert
Xpackages. When it was finally decided to combine both packages into a
Xsingle tool, CUT 2.0 was released, and found to be vastly more useful
Xthan either expected. CUT 2.3 is the latest version of the CUT 2.x
Xseries.
X
XCUT follows standard error messages format supported by Emacs.
X
XSourceForge.net location: WWW: http://sourceforge.net/projects/cut/
XHome Page: WWW: http://www.falvotech.com/projects/cut.php
END-of-cut/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list