# Created by: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
# $FreeBSD: tags/RELEASE_12_0_0/math/hs-Agda/Makefile 475642 2018-07-29 10:40:28Z arrowd $

PORTNAME=	Agda
PORTVERSION=	2.5.4
CATEGORIES=	math haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Dependently typed functional programming language and proof assistant

USE_CABAL=	async EdisonCore blaze-html boxes data-hash edit-distance \
		equivalence geniplate-mirror gitrev hashable hashtables ieee754 \
		mtl murmur-hash parallel regex-tdfa strict \
		unordered-containers uri-encode zlib

USE_ALEX=	yes
USE_HAPPY=	yes
USE_CPPHS=	yes
USES=		iconv:translit

EXECUTABLE=	agda-mode agda

FLAGS_ENABLE=		cpphs

SUB_FILES=	pkg-install pkg-deinstall
SUB_LIST=	DATADIR=${DATADIR}

.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
