openbsd-ports/security/hs-crypto/Makefile
2013-03-11 11:35:43 +00:00

30 lines
751 B
Makefile

# $OpenBSD: Makefile,v 1.18 2013/03/11 11:41:25 espie Exp $
COMMENT = Haskell cryptographic library
CATEGORIES = security
DISTNAME = Crypto-4.2.5
REVISION = 1
# Historically named with a lower case `c'.
PKGNAME = ${DISTNAME:S,C,hs-c,}
HOMEPAGE = http://www.haskell.org/crypto/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# 3 different licenses from 3 authors: BSD, GPL, BSD-ish
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
RUN_DEPENDS = devel/hs-HUnit \
devel/hs-QuickCheck>=2.4.0.1 \
devel/hs-random
BUILD_DEPENDS = ${RUN_DEPENDS}
do-test:
.for t in HMACTest QuickTest RSATest SHA1Test SymmetricTest WordListTest
cd ${WRKBUILD} && ./dist/build/$t/$t
.endfor
.include <bsd.port.mk>