2010-11-20 12:22:40 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2010/11/20 17:22:43 espie 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
|
|
|
|
2010-04-22 17:58:53 -04:00
|
|
|
DISTNAME = Crypto-4.2.1
|
|
|
|
# Historically named with a lower case `c'.
|
2010-07-17 09:43:36 -04:00
|
|
|
PKGNAME = ${DISTNAME:S,C,hs-c,}
|
2010-10-28 09:51:00 -04:00
|
|
|
REVISION = 4
|
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
|
|
|
|
MODGHC_BUILD= cabal hackage haddock register
|
2010-11-20 12:22:40 -05:00
|
|
|
LIB_DEPENDS += devel/hs-HUnit \
|
|
|
|
devel/hs-QuickCheck>=2
|
2010-07-17 09:43:36 -04:00
|
|
|
RUN_DEPENDS = ${LIB_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>
|