Makefile 755 B

123456789101112131415161718192021222324252627282930313233
  1. # $OpenBSD: Makefile,v 1.23 2016/01/20 16:26:19 kili Exp $
  2. COMMENT = Haskell cryptographic library
  3. CATEGORIES = security
  4. V = 4.2.5.1
  5. DISTNAME = Crypto-$V
  6. REVISION = 3
  7. # Historically named with a lower case `c'.
  8. PKGNAME = hs-crypto-$V
  9. MAINTAINER = Matthias Kilian <kili@openbsd.org>
  10. # 3 different licenses from 3 authors: BSD, GPL, BSD-ish
  11. PERMIT_PACKAGE_CDROM = Yes
  12. MODULES = lang/ghc
  13. MODGHC_BUILD = cabal hackage haddock register
  14. MODGHC_PACKAGE_KEY = 4LjED9guv4s3B9kPK56bwj
  15. RUN_DEPENDS = devel/hs-HUnit \
  16. devel/hs-QuickCheck>=2.4.0.1 \
  17. devel/hs-random
  18. BUILD_DEPENDS = ${RUN_DEPENDS}
  19. do-test:
  20. .for t in HMACTest QuickTest RSATest SHA1Test SymmetricTest WordListTest
  21. cd ${WRKBUILD} && ./dist/build/$t/$t
  22. .endfor
  23. .include <bsd.port.mk>