2010-07-17 09:43:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/07/17 13:43:37 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
|
|
|
|
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,}
|
|
|
|
REVISION = 3
|
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
|
|
|
|
LIB_DEPENDS += ::devel/hs-HUnit \
|
|
|
|
:hs-QuickCheck->=2:devel/hs-QuickCheck
|
2010-07-17 09:43:36 -04:00
|
|
|
RUN_DEPENDS = ${LIB_DEPENDS}
|
2007-07-21 13:21:33 -04:00
|
|
|
|
|
|
|
post-install:
|
2010-04-22 17:58:53 -04:00
|
|
|
mv ${PREFIX}/share/${DISTNAME}/*.html ${PREFIX}/share/doc/${DISTNAME}
|
|
|
|
rmdir ${PREFIX}/share/${DISTNAME}
|
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>
|