aboutsummaryrefslogtreecommitdiff
path: root/security/hs-SHA
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-05-09 05:28:57 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-05-09 05:28:57 +0000
commit0c76a8384fc1de4958eb1228befbee727f00c596 (patch)
tree28680b3da252da7f45a2d25108e4e2a6e41a77e5 /security/hs-SHA
parentf2febc81eeab0d296325ecc49e1825762e5cd5d7 (diff)
downloadports-0c76a8384fc1de4958eb1228befbee727f00c596.tar.gz
ports-0c76a8384fc1de4958eb1228befbee727f00c596.zip
- Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports are also updated to their corresponding Haskell Platform versions, or latest versions. We would like to acknowledge the support of the FreeBSD Donations Team and Eotvos Lorand University, Faculty of Informatics who contributed to the server that we used for testing. We would also like to thank all the testers who tested FreeBSD Haskell ports and provided their feedback. PR: ports/156642 Approved by: tabthorpe (mentor) Obtained from: FreeBSD Haskell
Notes
Notes: svn path=/head/; revision=273838
Diffstat (limited to 'security/hs-SHA')
-rw-r--r--security/hs-SHA/Makefile13
-rw-r--r--security/hs-SHA/distinfo5
-rw-r--r--security/hs-SHA/pkg-plist19
3 files changed, 7 insertions, 30 deletions
diff --git a/security/hs-SHA/Makefile b/security/hs-SHA/Makefile
index 84a2cb48c164..3fe7d22323cd 100644
--- a/security/hs-SHA/Makefile
+++ b/security/hs-SHA/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= SHA
-PORTVERSION= 1.4.1.1
+PORTVERSION= 1.4.1.3
CATEGORIES= security haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Haskell implementations of the SHA suite of message digest functions
-CABAL_SETUP= Setup.hs
+LICENSE= BSD
-USE_HACKAGE= binary
+CABAL_SETUP= Setup.hs
+USE_CABAL= binary
OPTIONS= TEST "Build the SHA test suite" off \
EXE "Build a SHA2-384 executable similar to 'md5sum'" off
@@ -24,21 +25,17 @@ OPTIONS= TEST "Build the SHA test suite" off \
.if defined(WITH_TEST)
CONFIGURE_ARGS+= --flags="Test"
-USE_HACKAGE+= QuickCheck>=2.0.0.0
+USE_CABAL+= QuickCheck>=2 test-framework>=0.3 test-framework-quickcheck2>=0.2
EXECUTABLE+= test_sha
-PLIST_SUB+= MAYBE_TEST=""
.else
CONFIGURE_ARGS+= --flags="-Test"
-PLIST_SUB+= MAYBE_TEST="@comment "
.endif
.if defined(WITH_EXE)
CONFIGURE_ARGS+= --flags="exe"
EXECUTABLE+= sha1 sha384
-PLIST_SUB+= MAYBE_EXE=""
.else
CONFIGURE_ARGS+= --flags="-exe"
-PLIST_SUB+= MAYBE_EXE="@comment "
.endif
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
diff --git a/security/hs-SHA/distinfo b/security/hs-SHA/distinfo
index d8666fd3bd4e..b1bbc3c89568 100644
--- a/security/hs-SHA/distinfo
+++ b/security/hs-SHA/distinfo
@@ -1,3 +1,2 @@
-MD5 (cabal/SHA-1.4.1.1.tar.gz) = 51ac8cc9248a2eb162bf25a4db1f77ad
-SHA256 (cabal/SHA-1.4.1.1.tar.gz) = 8ecdc91679d1aa1d4050e1124cf5af79ae2ece66aee3b907e1078d71bf03169a
-SIZE (cabal/SHA-1.4.1.1.tar.gz) = 2713700
+SHA256 (cabal/SHA-1.4.1.3.tar.gz) = c0b1486b0c632195148885ec32217192f08dee77c99c09136ec38bf57745a6eb
+SIZE (cabal/SHA-1.4.1.3.tar.gz) = 2713767
diff --git a/security/hs-SHA/pkg-plist b/security/hs-SHA/pkg-plist
deleted file mode 100644
index ecba426b1c62..000000000000
--- a/security/hs-SHA/pkg-plist
+++ /dev/null
@@ -1,19 +0,0 @@
-@comment $FreeBSD$
-%%MAYBE_EXE%%bin/sha1
-%%MAYBE_EXE%%bin/sha384
-%%MAYBE_TEST%%bin/test_sha
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest/Pure/SHA.hi
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
-%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
-%%LIBDIR_REL%%/register.sh
-%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
-%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest/Pure
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Digest
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
-@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
-@dirrm %%LIBDIR_REL%%
-@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
-@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
-@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
-@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old