aboutsummaryrefslogtreecommitdiffstats
path: root/lang/helium/Makefile
blob: 1778ee0851b55cab2296b25fa18c6575170c0121 (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
36
37
38
39
40
41
# New ports collection makefile for:    helium
# Date created:             28 January 2003
# Whom:                 Oliver Braun <obraun@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   helium
PORTVERSION=    1.1
PORTREVISION=   1
CATEGORIES= lang haskell
MASTER_SITES=   http://www.cs.uu.nl/helium/distr/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-src

MAINTAINER= obraun@FreeBSD.org
COMMENT=    Functional programming compiler for a subset of Haskell

.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500035
BROKEN= does not compile
.endif

BUILD_DEPENDS=  ghc:${PORTSDIR}/lang/ghc

WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_REINPLACE=  yes
USE_GMAKE=  yes

do-configure:
    @(cd ${WRKSRC}/lvm/src/  && ./configure)
    @(cd ${WRKSRC}/heliumNT/ && ./configure)

do-build:
    @(cd ${WRKSRC}/heliumNT/src && ${GMAKE} depend)
    @(cd ${WRKSRC}/heliumNT/src && ${GMAKE})

do-install:
    @(cd ${WRKSRC}/heliumNT/src && ${GMAKE} install)
    @${CAT} ${PKGMESSAGE} | ${SED} -e 's,%%PREFIX%%,${PREFIX},g'

.include <bsd.port.post.mk>