bcea0ad2ce
Run unregister.sh with `--force'.
34 lines
901 B
Makefile
34 lines
901 B
Makefile
# $OpenBSD: Makefile,v 1.7 2010/05/19 15:58:21 kili Exp $
|
|
|
|
COMMENT = Haskell cryptographic library
|
|
CATEGORIES = security
|
|
|
|
DISTNAME = Crypto-4.2.1
|
|
# Historically named with a lower case `c'.
|
|
PKGNAME = ${DISTNAME:S,C,hs-c,}p0
|
|
HOMEPAGE = http://www.haskell.org/crypto/
|
|
|
|
MAINTAINER = Matthias Kilian <kili@openbsd.org>
|
|
|
|
# 3 different licenses from 3 authors: BSD, GPL, BSD-ish
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MODULES = lang/ghc
|
|
MODGHC_BUILD= cabal hackage haddock register
|
|
LIB_DEPENDS += ::devel/hs-HUnit \
|
|
:hs-QuickCheck->=2:devel/hs-QuickCheck
|
|
|
|
post-install:
|
|
mv ${PREFIX}/share/${DISTNAME}/*.html ${PREFIX}/share/doc/${DISTNAME}
|
|
rmdir ${PREFIX}/share/${DISTNAME}
|
|
|
|
do-regress:
|
|
.for t in HMACTest QuickTest RSATest SHA1Test SymmetricTest WordListTest
|
|
cd ${WRKBUILD} && ./dist/build/$t/$t
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|