summaryrefslogtreecommitdiffstats
path: root/lang/chameleon/Makefile
blob: b02cd740403d586b69ba76ca509661a1d5fe07fd (plain)
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
# New ports collection makefile for:	chameleon
# Date created:				26 April 2003
# Whom:					Oliver Braun <obraun@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	chameleon
PORTVERSION=	03.11
CATEGORIES=	lang haskell
MASTER_SITES=	http://www.comp.nus.edu.sg/~sulzmann/chameleon/download/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/./-/}

MAINTAINER=	obraun@FreeBSD.org
COMMENT=	A Haskell-style language

BUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc \
		happy:${PORTSDIR}/devel/hs-happy

USE_SIZE=	yes
ALL_TARGET=	just-boo

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/chameleon ${PREFIX}/bin
	@${MKDIR} ${EXAMPLESDIR}
	@${INSTALL_DATA} ${WRKSRC}/interface/Prelude.ch  ${EXAMPLESDIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud