+++ /dev/null
-# ChangeLog for dev-lang/nhc98
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nhc98/ChangeLog,v 1.13 2004/07/12 01:19:38 mr_bones_ Exp $
-
- 11 Jul 2004; Michael Sterrett <mr_bones_@gentoo.org> nhc98-1.12.ebuild,
- nhc98-1.16-r1.ebuild, nhc98-1.16.ebuild:
- fix readline dep
-
- 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org> nhc98-1.16-r1.ebuild,
- nhc98-1.16.ebuild:
- virtual/glibc -> virtual/libc
-
- 12 Jun 2003; <msterret@gentoo.org> nhc98-1.12.ebuild:
- fix Header
-
-*nhc98-1.16-r1 (24 Apr 2003)
-
- 24 Apr 2003; Andres Loeh <kosmikus@gentoo.org> nhc98-1.16-r1.ebuild:
- Removed hmake from the nhc98 ebuild; hmake is now a separate package
- (dev-haskell/hmake)
-
-*nhc98-1.16 (09 Apr 2003)
-
- 16 Apr 2003; Andres Loeh <kosmikus@gentoo.org> nhc98-1.16.ebuild:
- Cleaned up the ebuild, moving hmake configuration to postinst, see #18857
-
- 09 Apr 2003; George Shapovalov <george@gentoo.org> all :
- update and fix, see #18857,
- thanks to Andres Loeh <andres@cs.uu.nl> for ebuild
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
-*nhc98-1.12 (08 Jun 2002)
-
- 09 Jun 2002; George Shapovalov <george@gentoo.org> files/hmakerc, nhc98-1.12.ebuild :
-
- updated ebuild to install aproperiate config file
- (configure that ships with package produces weird setup)
-
- 08 Jun 2002; George Shapovalov <george@gentoo.org> all :
-
- First submission
- From the home page:
-
- nhc98 is a fully-fledged compiler for Haskell 98, the standard lazy functional
- programming language. Written in Haskell, it is small and very portable,
- and aims to produce small executables that run in small amounts of memory.
- Is a pattern becoming obvious here? :-) It also comes with extensive tool
- support for automatic compilation, foreign language interfacing,
- heap and time profiling, tracing, and debugging.
+++ /dev/null
-MD5 88218df222af0c7e44e50e551d7a49a4 nhc98-1.16-r1.ebuild 1702
-MD5 5dba1b9719311c1dfa6aefa44aae34c5 nhc98-1.16.ebuild 1831
-MD5 cbe140dc5ebd9ed3f41081a498f4d70d ChangeLog 1904
-MD5 a769ecfcd1cdd2d40986627df7dfb249 metadata.xml 224
-MD5 410a15e8992a631b9d59a2f6cb69ead5 files/digest-nhc98-1.16 127
-MD5 410a15e8992a631b9d59a2f6cb69ead5 files/digest-nhc98-1.16-r1 127
-MD5 2f41dd93a084141f569f8b1dc5c87eee files/hmakerc 335
-MD5 deae8fae985674b5a477ee8da85160e6 files/nhc98-1.12-getenv.patch 515
+++ /dev/null
-MD5 a62866b8d966108cba325d0322a3010d nhc98src-1.16.tar.gz 5689485
-MD5 38b1505acbcbc5a91e077304e978ab82 patch-1.16-typesyn 5700
+++ /dev/null
-MD5 a62866b8d966108cba325d0322a3010d nhc98src-1.16.tar.gz 5689485
-MD5 38b1505acbcbc5a91e077304e978ab82 patch-1.16-typesyn 5700
+++ /dev/null
-HmakeConfig
- { defaultCompiler = "nhc98"
- , knownCompilers =
- [ CompilerConfig
- { compilerStyle = nhc98
- , compilerPath = "nhc98"
- , compilerVersion = "v1.12"
- , includePaths = ["/usr/include/nhc98"]
- , cppSymbols = ["__NHC__"]
- , extraCompilerFlags = []
- , isHaskell98 = True
- }
- ]
- }
+++ /dev/null
-Index: src/hat/runtime/getconstr.c
-===================================================================
-RCS file: /usr/src/master/nhc/src/hat/runtime/getconstr.c,v
-retrieving revision 1.13
-diff -u -r1.13 getconstr.c
---- src/hat/runtime/getconstr.c 2001/11/02 14:59:08 1.13
-+++ src/hat/runtime/getconstr.c 2002/04/17 15:04:07
-@@ -16,7 +16,7 @@
- NodePtr np;
- char *sp;
-
-- for (sp = s; *sp != '\0'; sp++);
-+ for (sp = s; *sp++ != '\0';);
- np = mkNil();
- for (; --sp >= s;)
- np = mkCons(mkChar(*sp), np);
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>haskell</herd>
-<maintainer>
- <email>kosmikus@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nhc98/nhc98-1.16-r1.ebuild,v 1.7 2004/07/12 01:19:38 mr_bones_ Exp $
-
-inherit eutils
-
-DESCRIPTION="Haskell 98 compiler"
-HOMEPAGE="http://www.cs.york.ac.uk/fp/nhc98/"
-SRC_URI="ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/nhc98src-${PV}.tar.gz
- ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/patch-1.16-typesyn"
-
-LICENSE="nhc98"
-SLOT="0"
-KEYWORDS="x86 ~sparc"
-IUSE="readline"
-
-DEPEND="virtual/libc
- readline? ( >=sys-libs/readline-4.1 )"
-
-src_unpack() {
- unpack nhc98src-${PV}.tar.gz
- # type synoym patch
- cd ${S}
- epatch ${DISTDIR}/patch-1.16-typesyn
-}
-
-src_compile() {
- ./configure --buildwith=gcc \
- --prefix=/usr --installdir=/usr \
- -man -docs \
- --buildopts="${CFLAGS} --host=${CHOST}" || die "./configure failed"
- # the build does not seem to work all that
- # well with parallel make
- make || die
-}
-
-src_install() {
- # The install location is taken care of by the
- # configure script.
- make DESTDIR=${D} install || die
-
- #install docs and man pages manually
- dodoc README INSTALL COPYRIGHT
- doman man/*
-
- cd docs
- dohtml -A hs -r *
- docinto html/bugs
- dodoc bugs/README
-
- # Manually remove everything hmake-specific.
- # hmake has its own package and thus should not be
- # overwritten by nhc98. It might be considered
- # to make nhc98 PDEPEND on hmake, though ...
- rm ${D}/usr/bin/hmake*
- rm ${D}/usr/bin/{harch,hi}
- rm -rf ${D}/usr/lib/hmake
- rm ${D}/usr/share/man/man1/hmake*
-}
-
-pkg_postinst() {
- # info about new package structure
- einfo "NOTICE: hmake is no longer a part of this package,"
- einfo "but separately available as dev-haskell/hmake."
-}
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/nhc98/nhc98-1.16.ebuild,v 1.9 2004/07/12 01:19:38 mr_bones_ Exp $
-
-inherit eutils
-
-DESCRIPTION="Haskell 98 compiler"
-HOMEPAGE="http://www.cs.york.ac.uk/fp/nhc98/"
-SRC_URI="ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/nhc98src-${PV}.tar.gz
- ftp://ftp.cs.york.ac.uk/pub/haskell/nhc98/patch-1.16-typesyn"
-
-LICENSE="nhc98"
-SLOT="0"
-KEYWORDS="x86 ~sparc"
-IUSE="readline"
-
-DEPEND="virtual/libc
- readline? ( >=sys-libs/readline-4.1 )"
-
-src_unpack() {
- unpack nhc98src-${PV}.tar.gz
- # type synoym patch
- cd ${S}
- epatch ${DISTDIR}/patch-1.16-typesyn
-}
-
-src_compile() {
- ./configure --buildwith=gcc \
- --prefix=/usr --installdir=/usr \
- -man -docs \
- --buildopts="${CFLAGS} --host=${CHOST}" || die "./configure failed"
- # the build does not seem to work all that
- # well with parallel make
- make || die
-}
-
-src_install() {
- # The install location is taken care of by the
- # configure script.
- make DESTDIR=${D} install || die
-
- #install docs and man pages manually
- dodoc README INSTALL COPYRIGHT
- doman man/*
-
- cd docs
- dohtml -A hs -r *
- docinto html/bugs
- dodoc bugs/README
-}
-
-pkg_postinst() {
- #nhc's build system does not update hmakerc when using DESTDIR;
- #therefore, we do it manually here
-
- einfo "Adjusting... hmakerc"
- MACHINE=`/usr/bin/harch`
- /usr/bin/hmake-config \
- /usr/lib/hmake/${MACHINE}/hmakerc add /usr/bin/nhc98
- /usr/bin/hmake-config \
- /usr/lib/hmake/${MACHINE}/hmakerc add nhc98 ||\
- einfo "(This error message is harmless)"
- /usr/bin/hmake-config \
- /usr/lib/hmake/${MACHINE}/hmakerc \
- default /usr/bin/nhc98
- # remove temporary build version of nhc98 from config
- /usr/bin/hmake-config \
- /usr/lib/hmake/${MACHINE}/hmakerc \
- delete ${S}/script/nhc98
-}