aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-06-24 10:15:27 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-06-24 10:15:27 +0000
commitd6d6d4fa762af290c2c06cb9f9c7d4105603974f (patch)
treeb83c893fc478dc2dec1ce292331b82d3d211a0c9
parent7f696346eb37cbfc2246c1c054a653253338dcac (diff)
downloadports-d6d6d4fa762af290c2c06cb9f9c7d4105603974f.tar.gz
ports-d6d6d4fa762af290c2c06cb9f9c7d4105603974f.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hs-hspec/Makefile21
-rw-r--r--devel/hs-hspec/distinfo2
-rw-r--r--devel/hs-hspec/pkg-descr6
-rw-r--r--lang/ghc/bsd.hackage.mk1
5 files changed, 31 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3919e09a7088..fd3e348907ac 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -665,6 +665,7 @@
SUBDIR += hs-hlibev
SUBDIR += hs-hoogle
SUBDIR += hs-hslogger
+ SUBDIR += hs-hspec
SUBDIR += hs-idoc
SUBDIR += hs-language-c
SUBDIR += hs-language-javascript
diff --git a/devel/hs-hspec/Makefile b/devel/hs-hspec/Makefile
new file mode 100644
index 000000000000..b63acfcfcce1
--- /dev/null
+++ b/devel/hs-hspec/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: hs-hspec
+# Date created: June 10, 2012
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= hspec
+PORTVERSION= 1.1.1
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Behavior Driven Development for Haskell
+
+LICENSE= BSD
+
+USE_CABAL= ansi-terminal==0.5.5_3 HUnit>=1 QuickCheck>=2.4.0.1 \
+ silently>=1.1.1 transformers>=0.2.0
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-hspec/distinfo b/devel/hs-hspec/distinfo
new file mode 100644
index 000000000000..c095fd74b6b9
--- /dev/null
+++ b/devel/hs-hspec/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/hspec-1.1.1.tar.gz) = 13ed4d0dba0b1f3e21b5b33bb2fea3dca7b2e8687e508352b74c460b11fe0098
+SIZE (cabal/hspec-1.1.1.tar.gz) = 11710
diff --git a/devel/hs-hspec/pkg-descr b/devel/hs-hspec/pkg-descr
new file mode 100644
index 000000000000..9392f9a17cce
--- /dev/null
+++ b/devel/hs-hspec/pkg-descr
@@ -0,0 +1,6 @@
+Behavior Driven Development for Haskell. Hspec is roughly based on the
+Ruby library RSpec. However, Hspec is just a framework for running
+HUnit and QuickCheck tests. Compared to other options, it provides a
+much nicer syntax that makes tests very easy to read.
+
+WWW: http://hspec.github.com/
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 829cd0bf9ae6..1ba41b2b705c 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -148,6 +148,7 @@ hS3_port= www/hs-hS3 # executable
hscolour_port= print/hs-hscolour # executable
hslogger_port= devel/hs-hslogger
HsOpenSSL_port= security/hs-HsOpenSSL
+hspec_port= devel/hs-hspec
HStringTemplate_port= textproc/hs-HStringTemplate
html_port= textproc/hs-html
HTTP_port= www/hs-HTTP