ports/93957: New port: devel/ocaml-ounit Unit test framework for OCaml
Meikel Brandmeyer
ocaml-ounit-port at kotka.de
Tue Feb 28 22:00:19 UTC 2006
>Number: 93957
>Category: ports
>Synopsis: New port: devel/ocaml-ounit Unit test framework for OCaml
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Feb 28 22:00:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Meikel Brandmeyer
>Release: FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD ceres.kotka.de 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Unit test framework for OCaml. Inspired by Java's JUnit
and Haskell's HUnit.
>How-To-Repeat:
>Fix:
--- ocaml-ounit.shar begins here ---
# 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:
#
# /usr/ports/devel/ocaml-ounit
# /usr/ports/devel/ocaml-ounit/Makefile
# /usr/ports/devel/ocaml-ounit/distinfo
# /usr/ports/devel/ocaml-ounit/pkg-descr
# /usr/ports/devel/ocaml-ounit/pkg-plist
#
echo c - /usr/ports/devel/ocaml-ounit
mkdir -p /usr/ports/devel/ocaml-ounit > /dev/null 2>&1
echo x - /usr/ports/devel/ocaml-ounit/Makefile
sed 's/^X//' >/usr/ports/devel/ocaml-ounit/Makefile << 'END-of-/usr/ports/devel/ocaml-ounit/Makefile'
X# Ports collection makefile for: ocaml-ounit
X# Date created: 28th February 2006
X# Whom: "Meikel Brandmeyer" <ocaml-ounit-port at kotka.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME= ounit
XPORTVERSION= 1.0.2
XCATEGORIES= devel
XMASTER_SITES= http://www.xs4all.nl/~mmzeeman/ocaml/
XPKGNAMEPREFIX= ocaml-
X
XMAINTAINER= ocaml-ounit-port at kotka.de
XCOMMENT= OCaml unit test framework
X
XBUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
X ocamlfind:${PORTSDIR}/devel/ocaml-findlib
X
XUSE_GMAKE= yes
X
XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
XPORTDOCS= README style.css *.html
X
XALL_TARGET= all allopt testall doc
X
XMAKE_ENV= OCAMLFIND_DESTDIR=${PREFIX}/lib/ocaml/site-lib
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X @${ECHO_MSG} "==> Installing port documentation for ${PKGORIGIN}..."
X @${MKDIR} ${DOCSDIR}
X @( cd ${WRKSRC}; ${INSTALL_DATA} README ${DOCSDIR} )
X @( cd ${WRKSRC}/doc;\
X ${INSTALL_DATA} style.css ${DOCSDIR};\
X for f in `${FIND} . -type f -name \\*.html -print`; do\
X ${INSTALL_DATA} $${f} ${DOCSDIR};\
X done )
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/devel/ocaml-ounit/Makefile
echo x - /usr/ports/devel/ocaml-ounit/distinfo
sed 's/^X//' >/usr/ports/devel/ocaml-ounit/distinfo << 'END-of-/usr/ports/devel/ocaml-ounit/distinfo'
XMD5 (ounit-1.0.2.tar.gz) = 27320856992f0d1b9b0abc186df2e552
XSHA256 (ounit-1.0.2.tar.gz) = 3ab40dfe4202aa83fa0309d1265b30e1acd633fec1ad728e5b463dde07737e13
XSIZE (ounit-1.0.2.tar.gz) = 9806
END-of-/usr/ports/devel/ocaml-ounit/distinfo
echo x - /usr/ports/devel/ocaml-ounit/pkg-descr
sed 's/^X//' >/usr/ports/devel/ocaml-ounit/pkg-descr << 'END-of-/usr/ports/devel/ocaml-ounit/pkg-descr'
XOUnit is a unit testing framework for Objective Caml, inspired by
Xthe JUnit tool for Java, and the HUnit tool for Haskell.
X
XWWW: http://home.wanadoo.nl/maas/ocaml
END-of-/usr/ports/devel/ocaml-ounit/pkg-descr
echo x - /usr/ports/devel/ocaml-ounit/pkg-plist
sed 's/^X//' >/usr/ports/devel/ocaml-ounit/pkg-plist << 'END-of-/usr/ports/devel/ocaml-ounit/pkg-plist'
Xlib/ocaml/site-lib/oUnit/oUnit.a
Xlib/ocaml/site-lib/oUnit/oUnit.cmxa
Xlib/ocaml/site-lib/oUnit/oUnit.cma
Xlib/ocaml/site-lib/oUnit/oUnit.cmi
Xlib/ocaml/site-lib/oUnit/oUnit.mli
Xlib/ocaml/site-lib/oUnit/META
X at dirrm lib/ocaml/site-lib/oUnit
X at unexec ocamlfind remove oUnit 2> /dev/null || true
END-of-/usr/ports/devel/ocaml-ounit/pkg-plist
exit
--- ocaml-ounit.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list