2007-09-15 20:27:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2007/09/16 00:27:06 merdely 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
|
|
|
|
2007-06-29 07:06:25 -04:00
|
|
|
V= 1.18
|
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
|
|
|
DISTNAME= nhc98-${V}
|
|
|
|
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
|
|
|
|
|
|
|
MASTER_SITES= http://www.cs.york.ac.uk/fp/nhc98/
|
|
|
|
|
2007-06-29 07:06:25 -04:00
|
|
|
DISTFILES= nhc98src-$V.tar.gz nhc98-$V-library-interfaces.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
|
|
|
|
MAKE_FLAGS= OPT="${CFLAGS}"
|
|
|
|
CONFIGURE_STYLE= simple
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--docdir=${PREFIX}/share/doc/nhc98 +docs
|
|
|
|
|
|
|
|
# ghc build disabled; this version of nhc doesn't compile with ghc-6.6.1
|
|
|
|
# on i386, so we just build it with cc on all supported archs.
|
|
|
|
CONFIGURE_ARGS+=--buildwith=cc
|
|
|
|
|
|
|
|
REGRESS_TARGET= test
|
|
|
|
|
|
|
|
post-extract:
|
|
|
|
find ${WRKSRC} -name CVS -type d | xargs rm -rf
|
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>
|