2013-01-20 12:56:05 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2013/01/20 18:05:35 kili Exp $
|
2004-05-03 03:36:32 -04:00
|
|
|
|
2010-04-22 17:58:53 -04:00
|
|
|
COMMENT = Haskell cryptographic library
|
|
|
|
CATEGORIES = security
|
2004-05-03 03:36:32 -04:00
|
|
|
|
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'.
|
2010-07-17 09:43:36 -04:00
|
|
|
PKGNAME = ${DISTNAME:S,C,hs-c,}
|
2010-04-22 17:58:53 -04:00
|
|
|
HOMEPAGE = http://www.haskell.org/crypto/
|
2004-05-03 03:36:32 -04:00
|
|
|
|
2010-04-22 17:58:53 -04:00
|
|
|
MAINTAINER = Matthias Kilian <kili@openbsd.org>
|
2004-05-03 03:36:32 -04:00
|
|
|
|
|
|
|
# 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
|
2007-07-21 13:21:33 -04:00
|
|
|
|
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}
|
2007-07-21 13:21:33 -04:00
|
|
|
|
|
|
|
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
|
2007-07-21 13:21:33 -04:00
|
|
|
.endfor
|
|
|
|
|
2004-05-03 03:36:32 -04:00
|
|
|
.include <bsd.port.mk>
|