openbsd-ports/security/hs-crypto/Makefile

33 lines
833 B
Makefile
Raw Normal View History

2013-01-20 12:56:05 -05:00
# $OpenBSD: Makefile,v 1.17 2013/01/20 18:05:35 kili Exp $
2010-04-22 17:58:53 -04:00
COMMENT = Haskell cryptographic library
CATEGORIES = security
2012-09-02 17:55:44 -04:00
DISTNAME = Crypto-4.2.5
2013-01-20 12:56:05 -05:00
REVISION = 1
2010-04-22 17:58:53 -04:00
# Historically named with a lower case `c'.
PKGNAME = ${DISTNAME:S,C,hs-c,}
2010-04-22 17:58:53 -04:00
HOMEPAGE = http://www.haskell.org/crypto/
2010-04-22 17:58:53 -04:00
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# 3 different licenses from 3 authors: BSD, GPL, BSD-ish
2010-04-22 17:58:53 -04:00
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
2010-04-22 17:58:53 -04:00
MODULES = lang/ghc
2011-04-11 10:46:29 -04:00
MODGHC_BUILD = cabal hackage haddock register
RUN_DEPENDS = devel/hs-HUnit \
2012-09-02 17:55:44 -04:00
devel/hs-QuickCheck>=2.4.0.1 \
devel/hs-random
2011-04-11 10:46:29 -04:00
BUILD_DEPENDS = ${RUN_DEPENDS}
do-regress:
2010-04-22 17:58:53 -04:00
.for t in HMACTest QuickTest RSATest SHA1Test SymmetricTest WordListTest
cd ${WRKBUILD} && ./dist/build/$t/$t
.endfor
.include <bsd.port.mk>