head	1.32;
access;
symbols
	RELEASE_8_3_0:1.29
	RELEASE_9_0_0:1.28
	RELEASE_7_4_0:1.27
	RELEASE_8_2_0:1.27
	RELEASE_6_EOL:1.27
	RELEASE_8_1_0:1.27
	RELEASE_7_3_0:1.24
	RELEASE_8_0_0:1.22
	RELEASE_7_2_0:1.19
	RELEASE_7_1_0:1.17
	RELEASE_6_4_0:1.17
	RELEASE_5_EOL:1.16
	RELEASE_7_0_0:1.14
	RELEASE_6_3_0:1.14
	PRE_XORG_7:1.13
	RELEASE_4_EOL:1.13
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.8
	RELEASE_5_5_0:1.8
	RELEASE_4_11_0:1.4
	RELEASE_5_3_0:1.2;
locks; strict;
comment	@# @;


1.32
date	2013.02.18.18.46.26;	author svnexp;	state Exp;
branches;
next	1.31;

1.31
date	2012.11.17.05.58.52;	author svnexp;	state Exp;
branches;
next	1.30;

1.30
date	2012.06.01.05.21.18;	author dinoex;	state Exp;
branches;
next	1.29;

1.29
date	2011.12.25.17.24.01;	author stephen;	state Exp;
branches;
next	1.28;

1.28
date	2011.05.02.12.44.41;	author makc;	state Exp;
branches;
next	1.27;

1.27
date	2010.06.22.22.08.57;	author pgj;	state Exp;
branches;
next	1.26;

1.26
date	2010.04.19.10.43.28;	author ale;	state Exp;
branches;
next	1.25;

1.25
date	2010.03.28.06.38.55;	author dinoex;	state Exp;
branches;
next	1.24;

1.24
date	2010.02.05.11.40.15;	author dinoex;	state Exp;
branches;
next	1.23;

1.23
date	2009.12.08.14.30.02;	author pav;	state Exp;
branches;
next	1.22;

1.22
date	2009.07.31.13.53.15;	author dinoex;	state Exp;
branches;
next	1.21;

1.21
date	2009.06.13.10.31.41;	author erwin;	state Exp;
branches;
next	1.20;

1.20
date	2009.05.13.09.45.53;	author ale;	state Exp;
branches;
next	1.19;

1.19
date	2009.01.05.20.36.31;	author pav;	state Exp;
branches;
next	1.18;

1.18
date	2008.12.10.08.44.23;	author stefan;	state Exp;
branches;
next	1.17;

1.17
date	2008.06.06.13.41.11;	author edwin;	state Exp;
branches;
next	1.16;

1.16
date	2008.01.26.01.02.33;	author tabthorpe;	state Exp;
branches;
next	1.15;

1.15
date	2007.12.12.03.22.18;	author linimon;	state Exp;
branches;
next	1.14;

1.14
date	2007.05.19.20.13.45;	author flz;	state Exp;
branches;
next	1.13;

1.13
date	2006.09.17.02.34.32;	author kris;	state Exp;
branches;
next	1.12;

1.12
date	2006.06.29.15.09.44;	author daichi;	state Exp;
branches;
next	1.11;

1.11
date	2006.05.21.22.00.28;	author kris;	state Exp;
branches;
next	1.10;

1.10
date	2006.05.10.14.46.40;	author ale;	state Exp;
branches;
next	1.9;

1.9
date	2006.05.09.20.52.16;	author edwin;	state Exp;
branches;
next	1.8;

1.8
date	2006.01.05.10.05.36;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2005.12.17.18.50.53;	author kris;	state Exp;
branches;
next	1.6;

1.6
date	2005.12.01.01.56.43;	author edwin;	state Exp;
branches;
next	1.5;

1.5
date	2005.02.18.23.44.40;	author kris;	state dead;
branches;
next	1.4;

1.4
date	2004.12.18.23.02.28;	author kris;	state Exp;
branches;
next	1.3;

1.3
date	2004.12.08.10.17.50;	author krion;	state Exp;
branches;
next	1.2;

1.2
date	2004.10.11.00.14.10;	author kris;	state Exp;
branches;
next	1.1;

1.1
date	2004.08.21.15.42.34;	author thierry;	state Exp;
branches;
next	;


desc
@@


1.32
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312515
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Stephen Weeks <sweeks@@sweeks.com>
# $FreeBSD: head/lang/mlton/Makefile 312515 2013-02-18 18:22:10Z rm $

# Because MLton is written in SML, it needs an SML compiler to build.
# It is easiest to use another (earlier) binary version of MLton as
# the SML compiler.  So, this Makefile fetches and installs an
# alread-built version of MLton, BOOT_DIST, to use for bootstrapping.

PORTNAME=	mlton
PORTVERSION=	20070826
PORTREVISION=	10
CATEGORIES=	lang
MASTER_SITES=	http://mlton.org/pages/Download/attachments/ \
		http://mlton.org/pages/Experimental/attachments/ \
		http://www.tbrk.org/distfiles/
DISTFILES=	${BOOT_DIST} ${SRC_DIST}
EXTRACT_ONLY=	${SRC_DIST}

# Other maintainer is Geoffrey Mainland (mainland@@apeiron.net)
MAINTAINER=	jesper.louis.andersen@@gmail.com
COMMENT=	Optimizing Standard ML compiler

LIB_DEPENDS=	gmp.10:${PORTSDIR}/math/gmp
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash

OPTIONS=	SMLNJ	"Bootstrap with SML/NJ (can take >15 hours)"	off \
		MINGW32	"Add the mingw32 target (requires wine)"	off

.include <bsd.port.pre.mk>

.if !defined(NOPORTDOCS)
BUILD_DEPENDS+=	gsed:${PORTSDIR}/textproc/gsed \
		htmldoc:${PORTSDIR}/textproc/htmldoc \
		latex:${PORTSDIR}/print/teTeX
.else
INSTALL_TARGET=	install-no-docs
ALL_TARGET=	all-no-docs
.endif

SRC_DIST=	${DISTNAME}-1.src.tgz

.if defined(WITH_SMLNJ)
BUILD_DEPENDS+=	smlnj-devel>=110.65:${PORTSDIR}/lang/sml-nj-devel
BOOT_DIST=
MAKE_ENV+=	SMLNJ_DEVEL=yes
.if defined(NOPORTDOCS)
ALL_TARGET=	nj-mlton all-no-docs
.else
ALL_TARGET=	bootstrap-nj
.endif
.else
BOOT_DIST=	${PORTNAME}-${BOOT_VER}-1.${MACHINE_ARCH}-freebsd${OSRELMAJ}.${BOOT_SUF}
MAKE_ENV+=	LD_LIBMAP=libgmp.so.7=libgmp.so.10
.endif

.if defined(WITH_MINGW32)
BUILD_DEPENDS+=	wine:${PORTSDIR}/emulators/wine \
		mingw32-gcc:${PORTSDIR}/devel/mingw32-gcc \
		${LOCALBASE}/mingw32/lib/libgmp.a:${PORTSDIR}/math/mingw32-libgmp
RUN_DEPENDS+=	mingw32-gcc:${PORTSDIR}/devel/mingw32-gcc \
		${LOCALBASE}/mingw32/lib/libgmp.a:${PORTSDIR}/math/mingw32-libgmp

PLIST_SUB+=	MINGW32CROSS=""
.else
PLIST_SUB+=	MINGW32CROSS="@@comment "
.endif

ONLY_FOR_ARCHS=	i386

MAN1=		mllex.1 mlprof.1 mlton.1 mlyacc.1 mlnlffigen.1
MANCOMPRESSED=	yes

BOOT_WRKSRC=	${WRKDIR}/mlton-bootstrap

USE_GMAKE=	yes
MAKE_ARGS=	DESTDIR='' \
		PATH=${WRKSRC}/build/bin:${BOOT_WRKSRC}/bin:${PATH} \
		PREFIX=${PREFIX}

.if ${ARCH} == "i386"
MLTON_ARCH=	"x86"
.endif

.if ${OSVERSION} >= 700000
OSRELMAJ=
.else
OSRELMAJ=	-6
.endif

BOOT_EXTRACT=	--bzip2
BOOT_SUF=	tbz
BOOT_VER=	20070826

post-extract:
	@@${CP} ${FILESDIR}/add-local-cross ${WRKSRC}/bin/
.if defined(WITH_SMLNJ)
	@@${CP} ${FILESDIR}/upgrade-basis.sml ${WRKSRC}/mlton/
	@@for f in `ls ${FILESDIR}/ml.* ${FILESDIR}/mlb.*`; do \
		${CP} $$f ${WRKSRC}/mlton/front-end/; \
	done
	@@for f in `ls ${FILESDIR}/yacc.*`; do \
		${CP} $$f ${WRKSRC}/mlyacc/src/; \
	done
.else
	@@${MKDIR} ${BOOT_WRKSRC}
	@@${TAR} xf ${DISTDIR}/${BOOT_DIST} ${BOOT_EXTRACT} -C ${BOOT_WRKSRC}
.endif

post-patch:
	@@${REINPLACE_CMD} -e \
		"s|/usr/local/lib/mlton|${BOOT_WRKSRC}/lib/mlton|;s|/usr/local|${LOCALBASE}|" \
		${BOOT_WRKSRC}/bin/mlton
	@@${REINPLACE_CMD} -e \
		"s|/usr/local|${LOCALBASE}|" \
		${WRKSRC}/runtime/Makefile \
		${WRKSRC}/runtime/bytecode/Makefile \
		${WRKSRC}/runtime/cenv.h \
		${WRKSRC}/bin/add-cross \
		${WRKSRC}/bin/add-local-cross \
		${WRKSRC}/bin/regression \
		${WRKSRC}/bin/mlton-script \
		${WRKSRC}/doc/guide/PortingMLton \
		${WRKSRC}/doc/guide/SelfCompiling \
		${WRKSRC}/doc/guide/Installation \
		${WRKSRC}/regression/parse.sml \
		${BOOT_WRKSRC}/lib/mlton/include/cenv.h
	@@${RM} \
		${WRKSRC}/doc/guide/PortingMLton.bak \
		${WRKSRC}/doc/guide/SelfCompiling.bak \
		${WRKSRC}/doc/guide/Installation.bak

post-build:
.if defined(WITH_MINGW32)
	@@${ECHO} Adding mingw32 target...
	${WRKSRC}/bin/add-local-cross mingw32 x86 mingw
.endif

post-install:
.for bin in mllex mlnlffigen mlprof mlton mlyacc
	${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/bin/${bin}	\
		${MAN1PREFIX}/man/man1/${bin}.1.gz
	${CHMOD} a+rx ${PREFIX}/bin/${bin}
.endfor
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/mlton
	${FIND} ${PREFIX}/lib/mlton -type f -exec ${CHMOD} a+r {} \;
	${FIND} ${PREFIX}/lib/mlton -type d -exec ${CHMOD} a+rx {} \;
	${CHMOD} a+x ${PREFIX}/lib/mlton/mlton-compile
	${CHMOD} a+x ${PREFIX}/lib/mlton/platform
.if !defined(NOPORTDOCS)
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
	${FIND} ${DOCSDIR} -type f -exec ${CHMOD} a+r {} \;
	${FIND} ${DOCSDIR} -type d -exec ${CHMOD} a+rx {} \;
.endif

.include <bsd.port.post.mk>
@


1.31
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:   mlton
# Date created:                1 Oct 2002
# Whom:                        Stephen Weeks <sweeks@@sweeks.com>
#
# $FreeBSD: head/lang/mlton/Makefile 300896 2012-07-14 13:54:48Z beat $
#
d21 1
a21 1
COMMENT=	An optimizing Standard ML compiler
@


1.30
log
@- update png to 1.5.10
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.29
log
@- Chase math/mingw32-libgmp4 moving to math/mingw32-libgmp.
- Bump portrevision.

PR:		ports/163187 and ports/163520
Submitted by:	Naram Qashat <cyberbotx@@cyberbotx.com>
@
text
@d15 1
a15 1
PORTREVISION=	9
@


1.28
log
@Bump PORTREVISION after open-mofit update
@
text
@d15 1
a15 1
PORTREVISION=	8
d64 1
a64 1
		${LOCALBASE}/mingw32/lib/libgmp.a:${PORTSDIR}/math/mingw32-libgmp4
d66 1
a66 1
		${LOCALBASE}/mingw32/lib/libgmp.a:${PORTSDIR}/math/mingw32-libgmp4
@


1.27
log
@- Unbreak build
- Update master sites
- Prevent building documentation when NOPORTDOCS defined
- Fix dependency on math/mingw32-libgmp4
- Adapt boostrap to the recent GMP update
- Respect LOCALBASE (added by pgj)

PR:		ports/147278
Submitted by:	Vitaly Magerya <vmagerya@@gmail.com>
Approved by:	maintainer
Feature safe:	yes
@
text
@d15 1
a15 1
PORTREVISION=	7
@


1.26
log
@Switch to use newer GMP version.

PR:		ports/144487
Submitted by:	ale
Approved by:	portmgr (-exp run by erwin)
@
text
@d19 1
a19 1
		http://www.cse.unsw.edu.au/~tbourke/distfiles/
a30 4
BROKEN=		does not build
DEPRECATED=	has been broken for 5 months
EXPIRATION_DATE=2010-01-08

d40 3
d51 3
d55 1
d58 1
d64 1
a64 1
		${LOCALBASE}/mingw32/lib/libgmp.a:${PORTSDIR}/devel/mingw32-libgmp4
d66 1
a66 1
		${LOCALBASE}/mingw32/lib/libgmp.a:${PORTSDIR}/devel/mingw32-libgmp4
a84 4
.if defined(NOPORTDOCS)
INSTALL_TARGET=	install-no-docs
.endif

a111 3
	@@${REINPLACE_CMD} -e \
		"s|lib=\'${LOCALBASE}/|lib=\'${BOOT_WRKSRC}/|" \
		${BOOT_WRKSRC}/bin/mlton
d116 2
a117 2
		"s|FLAGS += -I/usr/local/include|FLAGS += -I${LOCALBASE}/include|" \
		${WRKSRC}/runtime/Makefile
d119 17
a135 2
		"s|CFLAGS += -I/usr/local/include|CFLAGS += -I${LOCALBASE}/include|" \
		${WRKSRC}/runtime/bytecode/Makefile
@


1.25
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d15 1
a15 1
PORTREVISION=	6
d27 1
a27 1
LIB_DEPENDS=	gmp.8:${PORTSDIR}/math/libgmp4
@


1.24
log
@- update to jpeg-8
@
text
@d15 1
a15 1
PORTREVISION=	5
@


1.23
log
@  This port has been broken for 3+ months, thus

- Mark DEPRECATED and schedule for expiration in one month

With hat:	portmgr
@
text
@d15 1
a15 1
PORTREVISION=	4
@


1.22
log
@- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
@
text
@d32 2
@


1.21
log
@Mark BROKEN: does not build.
@
text
@d15 1
a15 1
PORTREVISION=	3
@


1.20
log
@Chase libgmp and bump PORTREVISION.
@
text
@d31 2
@


1.19
log
@- Remove conditional checks for FreeBSD 5.x and older
@
text
@d15 1
a15 1
PORTREVISION=	2
d27 1
a27 1
LIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4
@


1.18
log
@This patch adds three features to the lang/mlton port:
* Support for FreeBSD 6.x
* Support for compilation with SML/NJ
* Cross-compilation with mingw32

PR:		124061
Submitted by:	Timothy Bourke <timbob@@bigpond.com>
Approved by:	maintainer
@
text
@a88 3
.if ${OSVERSION} <  600000
IGNORE=		cannot bootstrap on FreeBSD < 6.0
.endif
@


1.17
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d15 1
a15 1
PORTREVISION=	1
d18 2
a19 1
		http://mlton.org/pages/Experimental/attachments/
d27 2
d30 6
a40 2
LIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash
d43 21
a63 1
BOOT_DIST=	${PORTNAME}-${BOOT_VER}-1-0.${MACHINE_ARCH}-freebsd.${BOOT_SUF}
a71 1
ALL_TARGET=	all
a80 2
.include <bsd.port.pre.mk>

d85 7
a91 2
.if ${OSVERSION} < 700000
IGNORE=		cannot bootstrap on FreeBSD < 7.0
d99 10
d114 1
d124 6
@


1.16
log
@- Update to 20070826

PR:		ports/118979
Submitted by:	Jesper Louis Andersen <jesper.louis.andersen gmail.com> (maintainer)
Sponsored by:	FreeBSD Bug-a-thon #3
@
text
@d15 1
@


1.15
log
@Hand maintainership over to jlouis@@mongers.org.  While here, pet portlint.

Requested by:	old maintainer
@
text
@d14 1
a14 2
PORTVERSION=	20051202
PORTREVISION=	3
d22 1
a22 1
MAINTAINER=	jlouis@@mongers.org
d34 2
a35 2
SRC_DIST=	${DISTNAME}-1.freebsd.src.tgz
BOOT_DIST=	${PORTNAME}-${BOOT_VER}-1-1.${MACHINE_ARCH}-freebsd.${BOOT_SUF}
a43 1
USE_GETTEXT=	yes
a53 2
#MANUAL_PACKAGE_BUILD=	"Requires at least 512MB of dedicated heap to build."

d56 2
a57 3
.if ${OSVERSION} >= 700014
#BUILD_DEPENDS+=	${LOCALBASE}/lib/compat/libc.so.6:${PORTSDIR}/misc/compat6x
BROKEN=		FreeBSD 6.x binary, needs a compat6x port to run
d60 2
a61 2
.if ${OSVERSION} < 600000
IGNORE=		cannot bootstrap on FreeBSD < 6.0
d66 1
a66 1
BOOT_VER=	20051202
d73 1
a73 1
	${BOOT_WRKSRC}/bin/mlton
d81 1
a81 1
		${WRKSRC}/bytecode/Makefile
a99 46
# Stuff below this line is for maintainer use only.

.if defined(MAINTAINER_MODE)
RELEASE ?=	1
PORTSLEVEL ?=   1

PKGORIGIN=${PKGCATEGORY}/${PORTNAME}

.PHONY: build-package
build-package:
	${MAKE} makesum build
	${MAKE} pkg-plist
	portlint .
	${MAKE} deinstall
	${MAKE} install
	${MAKE} package
	${MAKE} deinstall
	${PKG_ADD} ${PORTNAME}-${PORTVERSION}_1.tbz
	${MAKE} deinstall
	${MAKE} reinstall
	${MAKE} package
	${CP} ${PORTNAME}-${PORTVERSION}_1.tbz	\
		${DISTDIR}/${PORTNAME}-${PORTVERSION}-${RELEASE}-${PORTSLEVEL}.i386-freebsd.tbz
#	${TAR} -cpf - Makefile distinfo pkg-descr pkg-plist | \
#		( ${MKDIR} ${PORTDIR} && cd ${PORTDIR} && ${TAR} -xpf - )
#	shar `find ${PORTDIR}` >/tmp/mlton-${PORTVERSION}-portdir.shar

TMP_PLIST=	tmp-pkg-plist
PLIST=		${.CURDIR}/pkg-plist

pkg-plist:
	cd ${WRKSRC} && ${GMAKE} install
	cd ${WRKSRC}/install/usr && \
		${FIND} -d * \! -type d | ${GREP} -v man/man | \
		${SORT} >${PLIST}
	cd ${WRKSRC}/install/usr && \
		${FIND} -d * -type d | ${GREP} mlton | \
			${SED} -e 's/^/@@dirrm /' >>${PLIST}
	${SED} -e 's;@@dirrm share/doc/mlton;%%PORTDOCS%%@@dirrm %%DOCSDIR%%;' \
		<${PLIST} >${TMP_PLIST}
	${SED} -e 's;share/doc/mlton;%%PORTDOCS%%%%DOCSDIR%%;'	\
		<${TMP_PLIST} >${PLIST}
	${RM} ${TMP_PLIST}

.endif # MAINTAINER_MODE

@


1.14
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@a18 1

d22 2
a23 3
# Other maintainers are Geoffrey Mainland (mainland@@apeiron.net)
#  and Jesper Louis Andersen (jlouis@@mongers.org)
MAINTAINER=	sweeks@@sweeks.com
d122 1
a122 1
	pkg_add ${PORTNAME}-${PORTVERSION}_1.tbz
@


1.13
log
@BROKEN except on 6.x: this now appears to be a 6.x binary, and the
mythical compat6x port is required to run it on 7.x
@
text
@d15 1
a15 1
PORTREVISION=	2
@


1.12
log
@lang/mlton: removing BROKEN

PR:		ports/99584
Submitted by:	Jesper Louis Andersen <jlouis@@mongers.org>
Approved by:	Stephen Weeks <sweeks@@sweeks.com> (maintainer)
@
text
@d62 3
a64 2
.if ${OSVERSION} >= 600000
BUILD_DEPENDS+=	${LOCALBASE}/lib/compat/libc.so.5:${PORTSDIR}/misc/compat5x
d67 2
a68 2
.if ${OSVERSION} < 504000
IGNORE=		cannot bootstrap on FreeBSD < 5.4
@


1.11
log
@BROKEN: Prebuilt binary depends on old version of libgmp
@
text
@d15 1
a15 1
PORTREVISION=	1
d19 1
d23 2
a36 2
BROKEN=		Prebuilt binary depends on old version of libgmp

d38 1
a38 1
BOOT_DIST=	${PORTNAME}-${BOOT_VER}-1.${MACHINE_ARCH}-freebsd.${BOOT_SUF}
d110 1
d123 1
a123 1
	pkg_add ${PORTNAME}-${PORTVERSION}.tbz
d127 5
a131 5
	${CP} ${PORTNAME}-${PORTVERSION}.tbz	\
		${DISTDIR}/${PORTNAME}-${PORTVERSION}-${RELEASE}.i386-freebsd.tbz
	${TAR} -cpf - Makefile distinfo pkg-descr pkg-plist | \
		( ${MKDIR} ${PORTDIR} && cd ${PORTDIR} && ${TAR} -xpf - )
	shar `find ${PORTDIR}` >/tmp/mlton-${PORTVERSION}-portdir.shar
@


1.10
log
@Chase gmp library and bump PORTREVISION.
@
text
@d34 2
@


1.9
log
@Remove USE_REINPLACE from the categories starting with L
@
text
@d15 1
d31 1
a31 1
LIB_DEPENDS=	gmp.6:${PORTSDIR}/math/libgmp4
@


1.8
log
@- Update to 20051202

PR:		ports/90097
Submitted by:	Geoffrey Mainland <mainland@@apeiron.net>
Approved by:	maintainer
@
text
@a43 1
USE_REINPLACE=	yes
@


1.7
log
@BROKEN: Unfetchable
@
text
@d14 1
a14 1
PORTVERSION=	20041109
d16 2
a17 1
MASTER_SITES=	http://mlton.org/pages/Download/attachments/
d21 1
a21 1
MAINTAINER=	MLton@@mlton.org
a23 2
BROKEN=		Unfetchable

d26 2
a27 1
BUILD_DEPENDS+=	hevea:${PORTSDIR}/textproc/hevea 	\
d38 1
a38 1
MAN1=		mllex.1 mlprof.1 mlton.1 mlyacc.1
d55 1
a55 1
PORTDIR=	usr/ports/lang/mlton
d60 1
a60 1
LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
d62 3
a64 2
.if ${OSVERSION} >= 500000
LIB_DEPENDS+=	c.4:${PORTSDIR}/misc/compat4x
d69 1
a69 1
BOOT_VER=	20041109
d78 8
d87 1
a87 1
.for bin in mllex mlprof mlton mlyacc
d95 2
a96 2
	${CHMOD} a+rx ${PREFIX}/lib/mlton/mlton-compile
	${CHMOD} a+rx ${PREFIX}/lib/mlton/platform
d106 4
d124 1
a124 1
		${DISTDIR}/${PORTNAME}-${PORTVERSION}-1.i386-freebsd.tbz
@


1.6
log
@RESURRECT PORT: lang/mlton

        Although Stephen Weeks was the original maintainer of this
        port and still should be (unless he'd prefer not to be, in
        which case I volunteer), I made the first push to get this
        port included and will commit to resolving any problems
        that crop up from here on out. I think it's important to
        have MLton in the ports tree as it is a great ML compiler.
	The new lang/twelf port would also benefit, as it is a good
	bit faster when compiled with MLton :)

PR:		ports/89684
Submitted by:	Geoffrey Mainland <mainland@@apeiron.net>
@
text
@d23 2
@


1.5
log
@As previously announced, remove ports that have reached their expiry date,
and the handful of ports that depended on them.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/mlton/Makefile,v 1.4 2004/12/18 23:02:28 kris Exp $
d14 1
a14 1
PORTVERSION=	20040227
d16 1
a16 2
MASTER_SITES=	http://www.mlton.org/download/	\
		http://www.mlton.org/experimental/
d23 3
a25 6
BROKEN=		Size mismatch
EXPIRATION_DATE=2005-02-18
DEPRECATED=	${BROKEN}

BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash2		\
		hevea:${PORTSDIR}/textproc/hevea 	\
d27 1
d29 1
a29 1
RUN_DEPENDS=	bash:${PORTSDIR}/shells/bash2
d49 4
d57 3
a59 3
BOOT_EXTRACT=	--gzip
BOOT_SUF=	tgz
BOOT_VER=	20040429
d64 4
d79 1
d81 10
a90 1
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/mlton	${DOCSDIR}
@


1.4
log
@This port is scheduled to be removed on 2005-02-18 if it is still
broken at that time, and a fix has not been submitted to GNATS.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@BROKEN: Size mismatch
@
text
@d25 2
@


1.2
log
@This port includes a 5.x binary that links to libm.so.2, which is part
of the compiler bootstrap.  Drop it back to use the 4.x binary version
with compat4x instead so it will run on 5.3.

Approved by:	portmgr
@
text
@d24 2
@


1.1
log
@Add mlton 20040227, an optimizing Standard ML compiler.

PR:		44295
Submitted by:	Stephen Weeks
@
text
@a51 1
.if ${OSVERSION} < 500000
d55 2
a56 4
.else
BOOT_EXTRACT=	--bzip
BOOT_SUF=	tbz
BOOT_VER=	20040623
@

