Import hs-errors-1.4.2:

The one-stop shop for all your error-handling needs!  Just import
"Control.Error".
This library encourages an error-handling style that directly uses
the type system, rather than out-of-band exceptions.

ok sthen@

(will be hooked to the build during the ghc update)
This commit is contained in:
kili 2013-07-18 20:46:45 +00:00
parent c42debec29
commit d3b2c52d2a
4 changed files with 75 additions and 0 deletions

23
devel/hs-errors/Makefile Normal file
View File

@ -0,0 +1,23 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/07/18 20:46:45 kili Exp $
COMMENT = simplified error-handling
DISTNAME = errors-1.4.2
CATEGORIES = devel
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# BSD3
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
RUN_DEPENDS += devel/hs-either>=3.1,<3.5 \
devel/hs-safe>=0.3.3,<0.4 \
devel/hs-transformers>=0.2,<0.4
BUILD_DEPENDS += ${RUN_DEPENDS}
.include <bsd.port.mk>

2
devel/hs-errors/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (ghc/errors-1.4.2.tar.gz) = vAvarCfkpHuEkNHZkKJ40e4MAozB0dEPeySfvxbyWbM=
SIZE (ghc/errors-1.4.2.tar.gz) = 7269

View File

@ -0,0 +1,4 @@
The one-stop shop for all your error-handling needs! Just import
"Control.Error".
This library encourages an error-handling style that directly uses
the type system, rather than out-of-band exceptions.

46
devel/hs-errors/pkg/PLIST Normal file
View File

@ -0,0 +1,46 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/07/18 20:46:45 kili Exp $
lib/ghc/${DISTNAME}/
lib/ghc/${DISTNAME}/Control/
lib/ghc/${DISTNAME}/Control/Error/
lib/ghc/${DISTNAME}/Control/Error.hi
lib/ghc/${DISTNAME}/Control/Error.p_hi
lib/ghc/${DISTNAME}/Control/Error/Safe.hi
lib/ghc/${DISTNAME}/Control/Error/Safe.p_hi
lib/ghc/${DISTNAME}/Control/Error/Script.hi
lib/ghc/${DISTNAME}/Control/Error/Script.p_hi
lib/ghc/${DISTNAME}/Control/Error/Util.hi
lib/ghc/${DISTNAME}/Control/Error/Util.p_hi
lib/ghc/${DISTNAME}/Data/
lib/ghc/${DISTNAME}/Data/EitherR.hi
lib/ghc/${DISTNAME}/Data/EitherR.p_hi
lib/ghc/${DISTNAME}/HS${DISTNAME}.o
lib/ghc/${DISTNAME}/libHS${DISTNAME}.a
lib/ghc/${DISTNAME}/libHS${DISTNAME}_p.a
lib/ghc/${DISTNAME}/register.sh
share/doc/hs-${DISTNAME}/
share/doc/hs-${DISTNAME}/LICENSE
share/doc/hs-${DISTNAME}/html/
share/doc/hs-${DISTNAME}/html/Control-Error-Safe.html
share/doc/hs-${DISTNAME}/html/Control-Error-Script.html
share/doc/hs-${DISTNAME}/html/Control-Error-Util.html
share/doc/hs-${DISTNAME}/html/Control-Error.html
share/doc/hs-${DISTNAME}/html/Data-EitherR.html
share/doc/hs-${DISTNAME}/html/doc-index.html
share/doc/hs-${DISTNAME}/html/errors.haddock
share/doc/hs-${DISTNAME}/html/frames.html
share/doc/hs-${DISTNAME}/html/haddock-util.js
share/doc/hs-${DISTNAME}/html/hslogo-16.png
share/doc/hs-${DISTNAME}/html/index-frames.html
share/doc/hs-${DISTNAME}/html/index.html
share/doc/hs-${DISTNAME}/html/mini_Control-Error-Safe.html
share/doc/hs-${DISTNAME}/html/mini_Control-Error-Script.html
share/doc/hs-${DISTNAME}/html/mini_Control-Error-Util.html
share/doc/hs-${DISTNAME}/html/mini_Control-Error.html
share/doc/hs-${DISTNAME}/html/mini_Data-EitherR.html
share/doc/hs-${DISTNAME}/html/minus.gif
share/doc/hs-${DISTNAME}/html/ocean.css
share/doc/hs-${DISTNAME}/html/plus.gif
share/doc/hs-${DISTNAME}/html/synopsis.png
@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0
@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force
lib/ghc/${DISTNAME}/unregister.sh