openbsd-ports/security/hs-crypto/Makefile

36 lines
943 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.10 2010/07/17 13:43:37 kili Exp $
2010-04-22 17:58:53 -04:00
COMMENT = Haskell cryptographic library
CATEGORIES = security
2010-04-22 17:58:53 -04:00
DISTNAME = Crypto-4.2.1
# Historically named with a lower case `c'.
PKGNAME = ${DISTNAME:S,C,hs-c,}
REVISION = 3
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
MODGHC_BUILD= cabal hackage haddock register
LIB_DEPENDS += ::devel/hs-HUnit \
:hs-QuickCheck->=2:devel/hs-QuickCheck
RUN_DEPENDS = ${LIB_DEPENDS}
post-install:
2010-04-22 17:58:53 -04:00
mv ${PREFIX}/share/${DISTNAME}/*.html ${PREFIX}/share/doc/${DISTNAME}
rmdir ${PREFIX}/share/${DISTNAME}
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>