# $Id: Portfile 61255 2009-12-07 07:46:00Z mww@macports.org $

PortSystem 1.0

name			polyml
version                 5.3
categories		lang ml
platforms		darwin
maintainers		mww
description		An implementation of Standard ML.
long_description  Poly/ML is an extremely fast and efficient implementation of \
				Standard ML. Program state can be saved in a memory-mapped \
				persistent store. There are numerous addon libraries available.

homepage		http://www.polyml.org/
master_sites		sourceforge

distname		${name}.${version}
checksums           md5     c4e3a33307c4465c4f068ae4fa225ced \
                    sha1    a037cd8cf4ce4a43b685b0e0d80f3f1e20d7c9fa \
                    rmd160  d9a806945437c147cc41407bd596b2c435ecc21e

configure.ldflags
configure.cppflags
configure.args          --mandir=${prefix}/share/man --build=${build_arch}-apple-darwin${os.major}
# YES, the C++ compiler is working just fine! (test fails though -- for whatever reason; override it)
configure.env           check_cpp=yes

post-destroot {
	xinstall -m 555 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 444 -W ${worksrcpath} COPYING \
		${destroot}${prefix}/share/doc/${name}
}

