head	1.18;
access;
symbols
	RELEASE_8_3_0:1.14
	RELEASE_9_0_0:1.14
	RELEASE_7_4_0:1.14
	RELEASE_8_2_0:1.14
	RELEASE_6_EOL:1.14
	RELEASE_8_1_0:1.10
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.8
	RELEASE_7_2_0:1.7
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.5
	RELEASE_7_0_0:1.4
	RELEASE_6_3_0:1.4
	PRE_XORG_7:1.4
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1;
locks; strict;
comment	@# @;


1.18
date	2013.03.04.20.07.30;	author svnexp;	state Exp;
branches;
next	1.17;

1.17
date	2013.02.08.11.44.48;	author svnexp;	state Exp;
branches;
next	1.16;

1.16
date	2012.11.17.05.58.55;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.05.21.01.53.23;	author sunpoet;	state Exp;
branches;
next	1.14;

1.14
date	2010.10.19.21.51.58;	author pav;	state Exp;
branches;
next	1.13;

1.13
date	2010.10.16.09.13.03;	author sunpoet;	state Exp;
branches;
next	1.12;

1.12
date	2010.08.22.01.26.48;	author lwhsu;	state Exp;
branches;
next	1.11;

1.11
date	2010.08.09.13.15.59;	author arved;	state Exp;
branches;
next	1.10;

1.10
date	2010.02.26.09.30.27;	author miwi;	state Exp;
branches;
next	1.9;

1.9
date	2009.10.20.15.38.47;	author yzlin;	state Exp;
branches;
next	1.8;

1.8
date	2009.08.22.00.24.34;	author amdmi3;	state Exp;
branches;
next	1.7;

1.7
date	2008.08.15.00.42.08;	author edwin;	state Exp;
branches;
next	1.6;

1.6
date	2008.07.25.14.34.28;	author pav;	state Exp;
branches;
next	1.5;

1.5
date	2008.04.04.12.16.15;	author rafan;	state Exp;
branches;
next	1.4;

1.4
date	2007.03.20.16.18.23;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2007.03.06.21.01.39;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2006.03.29.14.05.30;	author mnag;	state Exp;
branches;
next	1.1;

1.1
date	2005.07.29.07.19.55;	author barner;	state Exp;
branches;
next	;


desc
@@


1.18
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313421
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Timothy Bourke <timbob@@bigpond.com>
# $FreeBSD: head/lang/polyml/Makefile 313421 2013-03-04 19:21:31Z beech $

PORTNAME=	polyml
PORTVERSION=	5.5
CATEGORIES=	lang
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}.${PORTVERSION}
DIST_SUBDIR=	${PORTNAME}

MAINTAINER=	beyert@@cs.ucr.edu
COMMENT=	Fast open-source implementation of Standard ML

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/COPYING

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--without-x
USE_LDCONFIG=	yes
ONLY_FOR_ARCHS=	i386 amd64

PLIST_FILES=	bin/poly		\
		bin/polyimport		\
		lib/libpolymain.a	\
		lib/libpolymain.la	\
		lib/libpolyml.a		\
		lib/libpolyml.la	\
		lib/libpolyml.so	\
		lib/libpolyml.so.4

MAN1=		poly.1 polyimport.1
MANCOMPRESSED=	no

.include <bsd.port.mk>
@


1.17
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/311918
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/lang/polyml/Makefile 311918 2013-02-08 08:24:18Z miwi $
d5 1
a5 2
PORTVERSION=	5.4.1
PORTREVISION=	1
d29 1
a29 1
		lib/libpolyml.so.3
@


1.16
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:   polyml
# Date created:        09 July 2005
# Whom:                Timothy Bourke <timbob@@bigpond.com>
#
# $FreeBSD: head/lang/polyml/Makefile 300896 2012-07-14 13:54:48Z beat $
#
d6 1
@


1.15
log
@- Update to 5.4.1
- While I'm here, remove outdated OSVERSION check

PR:		ports/168180
Submitted by:	Timothy Beyer <beyert@@cs.ucr.edu> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@- Try to fix build on amd64/6 (untested)

Suggested by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	5.4
d38 1
a38 7
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000 && ${ARCH} == "amd64"
USE_GCC=	4.2+
.endif

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


1.13
log
@- Update to 5.4
- Revive amd64 build

Changes:	http://www.polyml.org/docs/ReleaseNotes.html
PR:		ports/151476
Submitted by:	sunpoet (myself)
Approved by:	Timothy Beyer <beyert@@cs.ucr.edu> (maintainer), pgollucci (mentor, implicit)
@
text
@d38 7
a44 1
.include <bsd.port.mk>
@


1.12
log
@- Update to 5.3
- Add copyright information

PR:		ports/149735
Submitted by:	Timothy Beyer <beyert AT cs.ucr.edu> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	5.3
d24 1
a24 1
ONLY_FOR_ARCHS=	i386
d33 1
a33 1
		lib/libpolyml.so.2
@


1.11
log
@Fix maintainer emailadress

PR:		149451
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	5.2.1
d18 3
d33 1
a33 1
		lib/libpolyml.so.1
@


1.10
log
@- Pass maintainership to Timothy Beyer (beyert|at|cs.ucr.edu)

PR:		143994 143995 143996
Submitted by:	Timothy Bourke <timbob@@bigpond.com> (maintainer)
Feature safe:	yes
@
text
@d15 1
a15 1
MAINTAINER=	beyert.cs.ucr.edu
@


1.9
log
@- Update to 5.2.1

PR:		ports/139735
Submitted by:	Timothy Bourke <timbob AT bigpond.com> (maintainer)
Approved by:	rafan (co-mentor)
@
text
@d15 1
a15 1
MAINTAINER=	timbob@@bigpond.com
@


1.8
log
@- Switch SourceForge ports to the new File Release System: categories starting with H,I,J,K,L
@
text
@d9 1
a9 1
PORTVERSION=	5.2
@


1.7
log
@[MAINTAINER] lang/polyml: 5.1 -> 5.2

PR:		ports/126068
Submitted by:	Timothy Bourke <timbob@@bigpond.com>
@
text
@d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.6
log
@- Remove USE_GCC where it can be satisfied with base compiler on following
  FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
@
text
@d9 1
a9 1
PORTVERSION=	5.1
@


1.5
log
@- Update to 5.1

PR:		ports/120997
Submitted by:	Timothy Bourke <timbob at bigpond.com> (maintainer)
@
text
@a18 1
USE_GCC=	3.2+
@


1.4
log
@- Marked broken for amd64

Submitted by:   pointyhat via kris
Approved by:    maintainer
@
text
@d9 1
a9 1
PORTVERSION=	5.0
d20 2
a21 2
HAS_CONFIGURE=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX} --without-x
d32 1
a32 1
		lib/libpolyml.so.0
@


1.3
log
@- Update to 5.0

PR:             109951
Submitted by:   Timothy Bourke <timbob@@bigpond.com> (maintainer)
@
text
@d23 1
@


1.2
log
@- Update to 4.2.0
- Is not RESTRICTED anymore

PR:		94667
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	4.2.0
d13 1
a13 4
DISTFILES=	driver.420.tar.gz \
		mlsource.420.tar.gz \
		basis.420.tar.gz \
		DB420.i386.unix.gz
a14 3
EXTRACT_ONLY=	driver.420.tar.gz \
		mlsource.420.tar.gz \
		basis.420.tar.gz
a18 4
WRKSRC=		${WRKDIR}/driver

ONLY_FOR_ARCHS=	i386

d21 2
a22 22
CONFIGURE_ARGS=	${PREFIX}

SUB_FILES=	poly
PLIST_FILES=	bin/poly \
		lib/polyml/poly \
		lib/polyml/COPYING \
		lib/polyml/ML_dbase \
		lib/polyml/DB420.i386.unix
PLIST_DIRS=	lib/polyml

NO_INSTALL_MANPAGES=yes

post-extract:
	@@${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/DB420.i386.unix.gz \
		> ${WRKDIR}/DB420.i386.unix

post-patch:
	@@${REINPLACE_CMD} -e "s|gcc|${CC}|g" ${WRKSRC}/configure

post-build:
	(cd ${WRKDIR}/mlsource/MLCompiler/CodeTree; ${LN} -fs CodeCons.i386 CodeCons)
	(cd ${WRKDIR}; ./driver/poly DB420.i386.unix < mlsource/BuildAll.sml)
d24 8
a31 5
post-install:
	${INSTALL_DATA} ${WRKDIR}/DB420.i386.unix ${PREFIX}/lib/polyml/
	${INSTALL_SCRIPT} ${WRKDIR}/poly ${PREFIX}/bin/poly
	@@(cd ${PREFIX}/lib/polyml; ${LN} -fs ./DB420.i386.unix ML_dbase)
	${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
d33 2
a34 14
install-user:
.if !exists (${LOCALBASE}/lib/polyml/ML_dbase)
	@@${ECHO_CMD}
	@@${ECHO_CMD} "You need to install the Poly/ML port first!"
	@@${ECHO_CMD}
.elif exists (${HOME}/.polyml/ML_dbase)
	@@${ECHO_CMD}
	@@${ECHO_CMD} "User copy of database already exists. Aborting!"
	@@${ECHO_CMD}
.else
	@@${MKDIR} ${HOME}/.polyml
	@@${CP} ${LOCALBASE}/lib/polyml/ML_dbase ${HOME}/.polyml
	@@${CHMOD} 0600 ${HOME}/.polyml/ML_dbase
.endif
@


1.1
log
@Add polyml 4.1.3, a fast open-source implementation of Standard ML.

PR:		83433
Submitted by:	Timothy Bourke <timbob@@bigpond.com>
@
text
@d9 1
a9 1
PORTVERSION=	4.1.3
d11 6
a16 4
DISTFILES=	polyml-driver-4.1.3.tar.gz \
		polyml-mlsource-4.1.3.tar.gz \
		polyml-basis-4.1.3.tar.gz \
		polyml-4.1.3.i386.tar.gz
d18 3
d26 1
d28 2
d33 1
a33 1
SUB_FILES=	poly pkg-message
d36 1
a36 1
		lib/polyml/LICENCE \
d38 1
a38 1
		lib/polyml/DB413Release
a40 2
RESTRICTED=	Downloading implies agreement to the licence.

d43 3
a45 2
.include <bsd.port.pre.mk>
TO_BE_FETCHED=
d47 2
a48 21
.for f in ${DISTFILES}
.if ! exists (${DISTDIR}/${DIST_SUBDIR}/${f})
TO_BE_FETCHED+=		${f}
.endif
.endfor

do-fetch:
.if ${TO_BE_FETCHED} != ""
ECHO_MSG=/usr/bin/printf
IGNORE=	:\n\n\
------------------------------------------------------------------\n\
Downloading this software implies acceptance of the licence\n\
agreement, which may be found at: http://www.polyml.org/Get.html\n\
\n\
Please download the following files into ${DISTDIR}/${DIST_SUBDIR}\n\
\n
.for f in ${TO_BE_FETCHED}
IGNORE+=	${f}\n
.endfor
IGNORE+=------------------------------------------------------------------\n\n
.endif
d52 1
a52 1
	(cd ${WRKDIR}; ./driver/poly ML_dbase < mlsource/BuildAll.sml)
d55 3
a57 4
	@@${INSTALL_DATA} ${WRKDIR}/DB413Release ${PREFIX}/lib/polyml/
	@@${INSTALL_SCRIPT} ${WRKDIR}/poly ${PREFIX}/bin/poly
	(cd ${PREFIX}/lib/polyml; ${LN} -fs ./DB413Release ML_dbase)
	@@${CAT} ${PKGMESSAGE}
d70 3
a72 3
	${MKDIR} ${HOME}/.polyml
	${CP}	${LOCALBASE}/lib/polyml/ML_dbase ${HOME}/.polyml
	${CHMOD} 0600 ${HOME}/.polyml/ML_dbase
d75 1
a75 1
.include <bsd.port.post.mk>
@

