aboutsummaryrefslogtreecommitdiffstats
path: root/lang/hs-epic/Makefile
blob: 9f05a958931194c015ee491b4534bb7421a4702e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for: hs-epic
# Date created:        December 2, 2011
# Whom:                haskell@FreeBSD.org
#
# $FreeBSD$
#

PORTNAME=   epic
PORTVERSION=    0.9.3
PORTREVISION=   1
CATEGORIES= lang haskell

MAINTAINER= haskell@FreeBSD.org
COMMENT=    Compiler for a simple functional language

LICENSE=    BSD

CABAL_SETUP=    Setup.hs

USE_CABAL=  mtl
USE_HAPPY=  yes

BUILD_DEPENDS+= boehm-gc>=7.1:${PORTSDIR}/devel/boehm-gc \
        gmp>=5.0.2:${PORTSDIR}/math/gmp
RUN_DEPENDS+=   boehm-gc>=7.1:${PORTSDIR}/devel/boehm-gc \
        gmp>=5.0.2:${PORTSDIR}/math/gmp

EXECUTABLE= epic

post-patch::
    @${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
        ${WRKSRC}/evm/Makefile

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