2010-11-17 03:05:12 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2010/11/17 08:05:18 espie Exp $
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
# $NetBSD: Makefile,v 1.29 2004/03/26 21:19:53 wiz Exp $
|
|
|
|
|
2007-09-15 20:27:05 -04:00
|
|
|
COMMENT= portable Haskell compiler
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
|
2007-06-29 07:06:25 -04:00
|
|
|
# not for 64 bits, broken on ppc
|
|
|
|
NOT_FOR_ARCHS= ${LP64_ARCHS} powerpc
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
|
2010-07-27 14:16:18 -04:00
|
|
|
V= 1.22
|
2008-08-28 15:55:20 -04:00
|
|
|
DISTNAME= nhc98-$V
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
CATEGORIES= lang
|
|
|
|
HOMEPAGE= http://www.haskell.org/nhc98/
|
2007-06-29 07:06:25 -04:00
|
|
|
MAINTAINER= Matthias Kilian <kili@openbsd.org>
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
|
2010-07-27 14:16:18 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
|
2008-08-28 15:55:20 -04:00
|
|
|
DISTFILES= nhc98src-$V.tar.gz
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
|
|
|
|
# BSDish
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-06-29 07:06:25 -04:00
|
|
|
|
|
|
|
WANTLIB= c m
|
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
2010-11-17 03:05:12 -05:00
|
|
|
USE_GROFF = Yes
|
2007-06-29 07:06:25 -04:00
|
|
|
MAKE_FLAGS= OPT="${CFLAGS}"
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--docdir=${PREFIX}/share/doc/nhc98 +docs
|
|
|
|
|
2008-08-28 15:55:20 -04:00
|
|
|
# it does compile with ghc-6.6.1, but about 20 testcases seem to run
|
|
|
|
# worse than with a cc-built nhc, so still stick with cc.
|
2007-06-29 07:06:25 -04:00
|
|
|
CONFIGURE_ARGS+=--buildwith=cc
|
|
|
|
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
|
Import nhc98-1.16, a portable Haskell compiler:
nhc98 is a small, easy to install, standards-compliant
compiler for Haskell 98, the lazy functional programming
language. It is very portable, and aims to produce small
executables that run in small amounts of memory. It
produces medium-fast code, and compilation is itself quite
fast. It also comes with extensive tool support for
automatic compilation, foreign language interfacing,
heap and time profiling, tracing, and debugging. (Some of
its advanced kinds of heap profiles are not found in any
other Haskell compiler.)
testing, tweaks xsa@; ok pvalchev@
2004-05-10 00:39:03 -04:00
|
|
|
.include <bsd.port.mk>
|