Import hs-HUnit, a unit testing framework for Haskell.

Part of the Haskell Platform.

Not yet wired to the build.
This commit is contained in:
kili 2010-04-09 18:34:00 +00:00
parent 77b7715ec2
commit 863e76e6ca
4 changed files with 82 additions and 0 deletions

27
devel/hs-HUnit/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/04/09 18:34:00 kili Exp $
COMMENT = unit testing framework for Haskell
DISTNAME = HUnit-1.2.2.1
CATEGORIES = devel
HOMEPAGE = http://hunit.sourceforge.net/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
WANTLIB = c m
# BSD3
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc converters/libiconv
MODGHC_BUILD = cabal hackage haddock register
post-install:
mv ${PREFIX}/share/${DISTNAME}/* ${PREFIX}/share/doc/${DISTNAME}
rmdir ${PREFIX}/share/${DISTNAME}
.include <bsd.port.mk>

5
devel/hs-HUnit/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (HUnit-1.2.2.1.tar.gz) = JjTpTCdIb46P7rd494xmPw==
RMD160 (HUnit-1.2.2.1.tar.gz) = m2X2Ks3gr/oXzIUSvaKp/977TxM=
SHA1 (HUnit-1.2.2.1.tar.gz) = PCcKcjYItMizyxQg8/DHw52+ank=
SHA256 (HUnit-1.2.2.1.tar.gz) = RyNVA7ZmZYWIGBeVVA0pISKDBZsh7cQuG08ZmORqyFM=
SIZE (HUnit-1.2.2.1.tar.gz) = 22386

2
devel/hs-HUnit/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
HUnit is a unit testing framework for Haskell, inspired by the JUnit
tool for Java, see: <http://www.junit.org>.

48
devel/hs-HUnit/pkg/PLIST Normal file
View File

@ -0,0 +1,48 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/04/09 18:34:00 kili Exp $
@bin bin/basic-tests
@bin bin/extended-tests
@bin bin/terminal-tests
lib/${DISTNAME}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/
lib/${DISTNAME}/ghc-${MODGHC_VER}/HS${DISTNAME}.o
lib/${DISTNAME}/ghc-${MODGHC_VER}/Test/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Test/HUnit/
lib/${DISTNAME}/ghc-${MODGHC_VER}/Test/HUnit.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Test/HUnit/Base.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Test/HUnit/Lang.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Test/HUnit/Terminal.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/Test/HUnit/Text.hi
lib/${DISTNAME}/ghc-${MODGHC_VER}/libHS${DISTNAME}.a
lib/${DISTNAME}/register.sh
@exec /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/register.sh
@unexec-delete /usr/bin/env HOME=/nonexistent %D/lib/${DISTNAME}/unregister.sh
lib/${DISTNAME}/unregister.sh
share/doc/${DISTNAME}/
share/doc/${DISTNAME}/LICENSE
share/doc/${DISTNAME}/README
share/doc/${DISTNAME}/doc/
share/doc/${DISTNAME}/doc/Guide.html
share/doc/${DISTNAME}/examples/
share/doc/${DISTNAME}/examples/Example.hs
share/doc/${DISTNAME}/html/
share/doc/${DISTNAME}/html/HUnit.haddock
share/doc/${DISTNAME}/html/Test-HUnit-Base.html
share/doc/${DISTNAME}/html/Test-HUnit-Lang.html
share/doc/${DISTNAME}/html/Test-HUnit-Terminal.html
share/doc/${DISTNAME}/html/Test-HUnit-Text.html
share/doc/${DISTNAME}/html/Test-HUnit.html
share/doc/${DISTNAME}/html/doc-index.html
share/doc/${DISTNAME}/html/frames.html
share/doc/${DISTNAME}/html/haddock-util.js
share/doc/${DISTNAME}/html/haddock.css
share/doc/${DISTNAME}/html/haskell_icon.gif
share/doc/${DISTNAME}/html/index-frames.html
share/doc/${DISTNAME}/html/index.html
share/doc/${DISTNAME}/html/mini_Test-HUnit-Base.html
share/doc/${DISTNAME}/html/mini_Test-HUnit-Lang.html
share/doc/${DISTNAME}/html/mini_Test-HUnit-Terminal.html
share/doc/${DISTNAME}/html/mini_Test-HUnit-Text.html
share/doc/${DISTNAME}/html/mini_Test-HUnit.html
share/doc/${DISTNAME}/html/minus.gif
share/doc/${DISTNAME}/html/plus.gif
share/doc/${DISTNAME}/prologue.txt