# $OpenBSD: Makefile,v 1.2 2004/08/10 08:23:37 xsa Exp $

COMMENT=	"Haskell cryptographic library"
CATEGORIES=	security

V=		1.1.2
DISTNAME=	hs-crypto-${V}
MASTER_SITES=	${HOMEPAGE}/downloads/
MAINTAINER=	Don Stewart <dons@openbsd.org>
HOMEPAGE=	http://www.haskell.org/crypto/
DISTFILES=	crypto-${V}.tar

MODULES=	lang/ghc
BUILD_DEPENDS+=	::devel/haddock

WRKDIST=	${WRKDIR}/crypto

USE_GMAKE=      Yes
MAKE_ENV+=	"WRKDIST=${WRKDIST}"
ALL_TARGET=

do-regress:
	@(cd ${WRKDIST} ; /bin/sh test.sh)

# 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

.include <bsd.port.mk>
