1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/lang/hs-epic/Makefile
Gabor Pali 5c0f73a2f0 Epic is a simple functional language which compiles to reasonably efficient C code,
using the Boehm-Demers-Weiser garbage collector [1].  It is intended as a compiler
back-end, and is currently used as a back end for Epigram [2] and Idris [3].  It
can be invoked either as a library or an application.

[1] http://www.hpl.hp.com/personal/Hans_Boehm/gc/
[2] http://www.e-pig.org/
[3] http://idris-lang.org/

WWW:	http://www.dcs.st-and.ac.uk/~eb/epic.php

Obtained from:	FreeBSD Haskell
2012-02-13 02:08:15 +00:00

34 lines
725 B
Makefile

# New ports collection makefile for: hs-epic
# Date created: December 2, 2011
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= epic
PORTVERSION= 0.9.2
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>