View | Details | Raw Unified | Return to bug 199623
Collapse All | Expand All

(-)mlton/Makefile (-8 / +12 lines)
Lines 1-17 Link Here
1
# Created by: Stephen Weeks <sweeks@sweeks.com>
1
# Created by: Stephen Weeks <sweeks@sweeks.com>
2
# $FreeBSD: head/lang/mlton/Makefile 363513 2014-07-30 20:25:51Z antoine $
2
# $FreeBSD: head/lang/mlton/Makefile 363513 2014-07-30 20:25:51Z antoine $
3
3
4
# Previouly maintained by Jesper Louis Andersen
4
# Previously maintained by Jesper Louis Andersen
5
# (jesper.louis.andersen@gmail.com) and Geoffrey Mainland
5
# <jesper.louis.andersen@gmail.com> and Geoffrey Mainland
6
# (mainland@apeiron.net)
6
# <mainland@apeiron.net>
7
#
7
#
8
# Because MLton is written in SML, it needs an SML compiler to build.
8
# Because MLton is written in SML, it needs an SML compiler to build.  It is
9
# It is easiest to use another (earlier) binary version of MLton as
9
# easiest to use another (earlier) binary version of MLton as the SML compiler.
10
# the SML compiler.  So, this Makefile fetches and installs an
10
# So, this Makefile fetches and installs an already-built version of MLton,
11
# alread-built version of MLton, BOOT_DIST, to use for bootstrapping.
11
# BOOT_DIST, to use for bootstrapping.
12
12
13
PORTNAME=	mlton
13
PORTNAME=	mlton
14
PORTVERSION=	20100608
14
PORTVERSION=	20100608
15
PORTREVISION=	1
15
CATEGORIES=	lang
16
CATEGORIES=	lang
16
MASTER_SITES=	SF http://www.tbrk.org/distfiles/
17
MASTER_SITES=	SF http://www.tbrk.org/distfiles/
17
DISTFILES=	${SRC_DIST} ${BOOT_DIST}
18
DISTFILES=	${SRC_DIST} ${BOOT_DIST}
Lines 21-27 Link Here
21
COMMENT=	Optimizing Standard ML compiler
22
COMMENT=	Optimizing Standard ML compiler
22
23
23
LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp
24
LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp
24
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
25
# for now, require gcc at runtime, so use version of lang/gcc in RUN_DEPENDS
26
GCC_VERSION=	${LANG_GCC_IS:S/.//g}
27
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash \
28
	gcc${GCC_VERSION}:${PORTSDIR}/lang/gcc
25
BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
29
BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash
26
30
27
LICENSE_FILE=	doc/license/MLton-LICENSE
31
LICENSE_FILE=	doc/license/MLton-LICENSE

Return to bug 199623