aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-12-22 04:23:40 +0800
committerijliao <ijliao@FreeBSD.org>2001-12-22 04:23:40 +0800
commitd4f65d1f2c34574cccd22b37becf35e0b2ca19a9 (patch)
treee3e00633d7ef8863c22b32fe55abf9f120b4f313
parentc4a65ba6cd7a192ae4581f663a0ad9411105219c (diff)
downloadfreebsd-ports-gnome-d4f65d1f2c34574cccd22b37becf35e0b2ca19a9.tar.gz
freebsd-ports-gnome-d4f65d1f2c34574cccd22b37becf35e0b2ca19a9.tar.zst
freebsd-ports-gnome-d4f65d1f2c34574cccd22b37becf35e0b2ca19a9.zip
add nhc98 1.08
A fully-fledged compiler for Haskell 98 PR: 31039 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
-rw-r--r--devel/hat/Makefile78
-rw-r--r--devel/hat/distinfo4
-rw-r--r--devel/hat/files/patch-Makefile109
-rw-r--r--devel/hat/files/patch-src::greencard::Makefile12
-rw-r--r--devel/hat/files/patch-src::hmake::Makefile12
-rw-r--r--devel/hat/files/patch-src::hp2graph::Makefile12
-rw-r--r--devel/hat/files/patch-src::prelude::Makefile24
-rw-r--r--devel/hat/files/patch-src::runtime::Makefile21
-rw-r--r--devel/hat/pkg-comment1
-rw-r--r--devel/hat/pkg-descr10
-rw-r--r--devel/hat/pkg-plist330
-rw-r--r--devel/hs-hat/Makefile78
-rw-r--r--devel/hs-hat/distinfo4
-rw-r--r--devel/hs-hat/files/patch-Makefile109
-rw-r--r--devel/hs-hat/files/patch-src::greencard::Makefile12
-rw-r--r--devel/hs-hat/files/patch-src::hmake::Makefile12
-rw-r--r--devel/hs-hat/files/patch-src::hp2graph::Makefile12
-rw-r--r--devel/hs-hat/files/patch-src::prelude::Makefile24
-rw-r--r--devel/hs-hat/files/patch-src::runtime::Makefile21
-rw-r--r--devel/hs-hat/pkg-comment1
-rw-r--r--devel/hs-hat/pkg-descr10
-rw-r--r--devel/hs-hat/pkg-plist330
-rw-r--r--lang/Makefile1
-rw-r--r--lang/nhc98/Makefile78
-rw-r--r--lang/nhc98/distinfo4
-rw-r--r--lang/nhc98/files/patch-Makefile109
-rw-r--r--lang/nhc98/files/patch-src::greencard::Makefile12
-rw-r--r--lang/nhc98/files/patch-src::hmake::Makefile12
-rw-r--r--lang/nhc98/files/patch-src::hp2graph::Makefile12
-rw-r--r--lang/nhc98/files/patch-src::prelude::Makefile24
-rw-r--r--lang/nhc98/files/patch-src::runtime::Makefile21
-rw-r--r--lang/nhc98/pkg-comment1
-rw-r--r--lang/nhc98/pkg-descr10
-rw-r--r--lang/nhc98/pkg-plist330
34 files changed, 1840 insertions, 0 deletions
diff --git a/devel/hat/Makefile b/devel/hat/Makefile
new file mode 100644
index 000000000000..6fa0f3818e8a
--- /dev/null
+++ b/devel/hat/Makefile
@@ -0,0 +1,78 @@
+# New ports collection makefile for: nhc98
+# Date created: 04 October 2001
+# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
+#
+# $FreeBSD$
+
+PORTNAME= nhc98
+PORTVERSION= 1.08
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/${PORTNAME}/
+DISTNAME= ${PORTNAME}src-${PORTVERSION}
+
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= patch-1.08-ghc5.02 \
+ patch-1.08-hmake \
+ patch-1.08-hat-makefile
+
+MAINTAINER= obraun@informatik.unibw-muenchen.de
+
+.if defined(WITH_TRACER)
+RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
+BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
+.endif
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+.if !defined(WITH_TRACER)
+ALL_TARGET= basic
+PLIST_SUB+= TRACER="@comment "
+.else
+PLIST_SUB+= TRACER=""
+MAKE_ENV+= PATH=${PREFIX}/jdk1.1.8/bin:$$PATH
+.endif
+
+USE_GMAKE= yes
+HAS_CONFIGURE= yes
+DIST_SUBDIR= nhc98
+
+.if !defined(NOPORTDOCS)
+CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/nhc98 +docs
+.endif
+
+MAN1= harch.1 hmake.1 hp2graph.1 nhc98.1 \
+ hat-detect.1 hat-observe.1 hat-stack.1 hat-trail.1
+
+pre-fetch:
+.if !defined(WITH_TRACER)
+ @${ECHO} ""
+ @${ECHO} " To build nhc98 with the tracer (requires JAVA)"
+ @${ECHO} " define WITH_TRACER"
+ @${ECHO} ""
+.else
+ @${ECHO} ""
+ @${ECHO} " Building nhc98 with the tracer (requires JAVA)"
+ @${ECHO} ""
+.endif
+
+# We need this to ensure that the libs will be installed into
+# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed
+# into the build directory. The configure option won't work in the
+# ports system.
+pre-install:
+ ${SED} -e "s#LIBDIR=.*##" \
+ < ${WRKSRC}/targets/ix86-FreeBSD/config.cache \
+ > ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1
+ ${ECHO} "LIBDIR=${PREFIX}/lib/nhc98" \
+ >> ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1
+ ${RM} ${WRKSRC}/targets/ix86-FreeBSD/config.cache
+ ${MV} ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1 \
+ ${WRKSRC}/targets/ix86-FreeBSD/config.cache
+
+post-install:
+ ${SED} -e "s#/usr/doc/nhc98#${PREFIX}/share/doc/nhc98#" \
+ < ${WRKSRC}/man/nhc98.1 > ${WRKSRC}/man/nhc98.1.fix
+ ${INSTALL_MAN} ${WRKSRC}/man/nhc98.1.fix ${PREFIX}/man/man1/nhc98.1
+ ${RM} ${WRKSRC}/man/nhc98.1.fix
+
+.include <bsd.port.mk>
diff --git a/devel/hat/distinfo b/devel/hat/distinfo
new file mode 100644
index 000000000000..8fedab1d6c99
--- /dev/null
+++ b/devel/hat/distinfo
@@ -0,0 +1,4 @@
+MD5 (nhc98/nhc98src-1.08.tar.gz) = 6234cafff0cc09fbc73127c421232463
+MD5 (nhc98/patch-1.08-ghc5.02) = aea26d10381d13363611797fb14896b9
+MD5 (nhc98/patch-1.08-hmake) = 589e4558e29ae95bdf1d79a100b2180f
+MD5 (nhc98/patch-1.08-hat-makefile) = 7882524c5d9a6567dc18a6b2c2a9b7d5
diff --git a/devel/hat/files/patch-Makefile b/devel/hat/files/patch-Makefile
new file mode 100644
index 000000000000..e963ec7aca8e
--- /dev/null
+++ b/devel/hat/files/patch-Makefile
@@ -0,0 +1,109 @@
+--- Makefile.orig Thu Oct 4 10:21:53 2001
++++ Makefile Thu Oct 4 10:22:02 2001
+@@ -148,14 +148,14 @@
+
+ TARGDIR= targets
+ TARGETS= runtime prelude greencard hp2graph hattools \
+- profruntime profprelude profprelude-$(CC) \
+- timeruntime timeprelude timeprelude-$(CC) \
++ profruntime profprelude profprelude-gcc \
++ timeruntime timeprelude timeprelude-gcc \
+ timetraceruntime timetraceprelude \
+- traceruntime traceprelude traceprelude-$(CC) \
+- compiler-nhc compiler-hbc compiler-ghc compiler-$(CC) \
+- hmake-nhc hmake-hbc hmake-ghc hmake-$(CC) \
+- greencard-nhc greencard-hbc greencard-ghc greencard-$(CC) \
+- prelude-$(CC) pragma-$(CC)
++ traceruntime traceprelude traceprelude-gcc \
++ compiler-nhc compiler-hbc compiler-ghc compiler-gcc \
++ hmake-nhc hmake-hbc hmake-ghc hmake-gcc \
++ greencard-nhc greencard-hbc greencard-ghc greencard-gcc \
++ prelude-gcc pragma-gcc
+
+ .PHONY: default basic all tracer compiler help config install hattools
+
+@@ -188,8 +188,8 @@
+ basic-nhc: $(PRAGMA) runtime hmake-nhc greencard-nhc compiler-nhc prelude
+ basic-hbc: $(PRAGMA) runtime hmake-hbc greencard-hbc compiler-hbc prelude
+ basic-ghc: $(PRAGMA) runtime hmake-ghc greencard-ghc compiler-ghc prelude
+-basic-$(CC): runtime prelude-$(CC) pragma-$(CC) compiler-$(CC) \
+- greencard-$(CC) hmake-$(CC)
++basic-gcc: runtime prelude-gcc pragma-gcc compiler-gcc \
++ greencard-gcc hmake-gcc
+
+ all-$(BUILDCOMP): basic-$(BUILDCOMP) heapprofile timeprofile tracer lib/hood.jar
+
+@@ -209,9 +209,9 @@
+ compiler-ghc traceruntime traceprelude hattools
+ tracer-hbc: $(PRAGMA) runtime hmake-hbc greencard-hbc \
+ compiler-hbc traceruntime traceprelude hattools
+-tracer-$(CC): runtime prelude-$(CC) pragma-$(CC) compiler-$(CC) \
+- greencard-$(CC) hmake-$(CC) \
+- traceruntime traceprelude-$(CC) hattools
++tracer-gcc: runtime prelude-gcc pragma-gcc compiler-gcc \
++ greencard-gcc hmake-gcc \
++ traceruntime traceprelude-gcc hattools
+ timetraceprofile: timetraceruntime timetraceprelude
+
+ $(TARGETS): % : $(TARGDIR)/$(MACHINE)/%
+@@ -324,44 +324,44 @@
+ touch $(TARGDIR)/$(MACHINE)/timeprelude
+
+
+-$(TARGDIR)/$(MACHINE)/prelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/prelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) fromC relink
+- touch $(TARGDIR)/$(MACHINE)/prelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/prelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/prelude
+-$(TARGDIR)/$(MACHINE)/traceprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/traceprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=T fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=T clean all
+ cd src/prelude; $(MAKE) CFG=T relink
+- touch $(TARGDIR)/$(MACHINE)/traceprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/traceprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/traceprelude
+-$(TARGDIR)/$(MACHINE)/timeprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/timeprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=z fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=z clean all
+ cd src/prelude; $(MAKE) CFG=z relink
+- touch $(TARGDIR)/$(MACHINE)/timeprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/timeprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/timeprelude
+-$(TARGDIR)/$(MACHINE)/profprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/profprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=p fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=p clean all
+ cd src/prelude; $(MAKE) CFG=p relink
+- touch $(TARGDIR)/$(MACHINE)/profprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/profprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/profprelude
+-$(TARGDIR)/$(MACHINE)/compiler-$(CC): $(COMPILERC)
++$(TARGDIR)/$(MACHINE)/compiler-gcc: $(COMPILERC)
+ cd src/compiler98; $(MAKE) fromC
+ cd src/prelude/$(MACHINE); $(MAKE) clean all # Patch machine-specific parts.
+ cd src/prelude; $(MAKE) relink
+ cd src/compiler98; $(MAKE) relink
+- touch $(TARGDIR)/$(MACHINE)/compiler-$(CC)
+-$(TARGDIR)/$(MACHINE)/greencard-$(CC): $(GREENCARDC)
++ touch $(TARGDIR)/$(MACHINE)/compiler-gcc
++$(TARGDIR)/$(MACHINE)/greencard-gcc: $(GREENCARDC)
+ cd src/greencard; $(MAKE) fromC
+- touch $(TARGDIR)/$(MACHINE)/greencard $(TARGDIR)/$(MACHINE)/greencard-$(CC)
+-$(TARGDIR)/$(MACHINE)/pragma-$(CC): script/hmake-PRAGMA.hc
++ touch $(TARGDIR)/$(MACHINE)/greencard $(TARGDIR)/$(MACHINE)/greencard-gcc
++$(TARGDIR)/$(MACHINE)/pragma-gcc: script/hmake-PRAGMA.hc
+ script/nhc98 -o $(PRAGMA) script/hmake-PRAGMA.hc
+- touch $(TARGDIR)/$(MACHINE)/pragma-$(CC)
+-$(TARGDIR)/$(MACHINE)/hmake-$(CC): $(HMAKEC)
++ touch $(TARGDIR)/$(MACHINE)/pragma-gcc
++$(TARGDIR)/$(MACHINE)/hmake-gcc: $(HMAKEC)
+ cd src/hmake; $(MAKE) fromC
+ cd src/interpreter; $(MAKE) fromC
+- touch $(TARGDIR)/$(MACHINE)/hmake-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/hmake-gcc
+
+
+ script/errnogen.c: script/GenerateErrNo.hs
diff --git a/devel/hat/files/patch-src::greencard::Makefile b/devel/hat/files/patch-src::greencard::Makefile
new file mode 100644
index 000000000000..090ba9b4bfea
--- /dev/null
+++ b/devel/hat/files/patch-src::greencard::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/greencard/Makefile src/greencard/Makefile
+--- src.bak/greencard/Makefile Tue May 29 16:22:46 2001
++++ src/greencard/Makefile Mon Jun 18 16:31:45 2001
+@@ -34,7 +34,7 @@
+
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+ $(TARGET): $(OBJDIR) $(OBJDIR)/GreenCard$(EXE)
+ mv $(OBJDIR)/GreenCard$(EXE) $(TARGET)
+ strip $(TARGET)
diff --git a/devel/hat/files/patch-src::hmake::Makefile b/devel/hat/files/patch-src::hmake::Makefile
new file mode 100644
index 000000000000..26c10028866e
--- /dev/null
+++ b/devel/hat/files/patch-src::hmake::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/hmake/Makefile src/hmake/Makefile
+--- src.bak/hmake/Makefile Tue May 29 16:29:07 2001
++++ src/hmake/Makefile Mon Jun 18 16:32:21 2001
+@@ -48,7 +48,7 @@
+ strip $@
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+ $(OBJS): $(OBJDIR)/%.$O : %.hs
+ $(HC) $(HFLAGS) -c -o $@ $<
+ $(CPPOBJS) $(OBJDIR)/Older.$O: $(OBJDIR)/%.$O : %.hs
diff --git a/devel/hat/files/patch-src::hp2graph::Makefile b/devel/hat/files/patch-src::hp2graph::Makefile
new file mode 100644
index 000000000000..218c9a0c12b3
--- /dev/null
+++ b/devel/hat/files/patch-src::hp2graph::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/hp2graph/Makefile src/hp2graph/Makefile
+--- src.bak/hp2graph/Makefile Mon Oct 11 13:50:38 1999
++++ src/hp2graph/Makefile Mon Jun 18 16:32:04 2001
+@@ -31,7 +31,7 @@
+
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+
+ $(OBJS): $(OBJDIR)/%.o: %.c
+ $(CC) -c $(CFLAGS) -o $@ $<
diff --git a/devel/hat/files/patch-src::prelude::Makefile b/devel/hat/files/patch-src::prelude::Makefile
new file mode 100644
index 000000000000..4c18f7422a2a
--- /dev/null
+++ b/devel/hat/files/patch-src::prelude::Makefile
@@ -0,0 +1,24 @@
+diff -ruN src.bak/prelude/Makefile src/prelude/Makefile
+--- src.bak/prelude/Makefile Mon Jun 4 12:40:41 2001
++++ src/prelude/Makefile Mon Jun 18 16:31:24 2001
+@@ -80,7 +80,7 @@
+ mkdir -p ${OBJDIR}
+
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+
+ ifeq "${TPROF}" ""
+@@ -326,9 +326,9 @@
+
+
+ ${OBJDIR}:
+- mkdir -p ${OBJDIR} || /bin/true
++ mkdir -p ${OBJDIR} || /usr/bin/true
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+ ${ARCHIVE}: ${OBJDIR} ${OBJDIRS} ${SUBDIRSMK}
+ rm -f $@
diff --git a/devel/hat/files/patch-src::runtime::Makefile b/devel/hat/files/patch-src::runtime::Makefile
new file mode 100644
index 000000000000..46b71c9c6ad8
--- /dev/null
+++ b/devel/hat/files/patch-src::runtime::Makefile
@@ -0,0 +1,21 @@
+diff -ruN src.bak/runtime/Makefile src/runtime/Makefile
+--- src.bak/runtime/Makefile Thu Dec 16 11:58:42 1999
++++ src/runtime/Makefile Mon Jun 18 16:30:56 2001
+@@ -9,7 +9,7 @@
+
+ LD = ld
+ LDFLAGS = -r
+-TRUE = /bin/true
++TRUE = /usr/bin/true
+ CC = gcc
+ AR = ar
+ ARFLAGS = r
+@@ -48,7 +48,7 @@
+ mkdir -p ${OBJDIR}
+
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+ objdir: ${OBJDIR}
+ cd Kernel; $(MAKE) objdir
diff --git a/devel/hat/pkg-comment b/devel/hat/pkg-comment
new file mode 100644
index 000000000000..a19fd5726493
--- /dev/null
+++ b/devel/hat/pkg-comment
@@ -0,0 +1 @@
+A fully-fledged compiler for Haskell 98
diff --git a/devel/hat/pkg-descr b/devel/hat/pkg-descr
new file mode 100644
index 000000000000..0240db7f1c26
--- /dev/null
+++ b/devel/hat/pkg-descr
@@ -0,0 +1,10 @@
+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. It comes
+with extensive tool support for automatic compilation, foreign language
+interfacing, heap and time profiling, tracing, and debugging.
+
+WWW: http://www.cs.york.ac.uk/fp/nhc98/
+
+-- Oliver Braun
+obraun@informatik.unibw-muenchen.de
diff --git a/devel/hat/pkg-plist b/devel/hat/pkg-plist
new file mode 100644
index 000000000000..9f4b2f4c98f3
--- /dev/null
+++ b/devel/hat/pkg-plist
@@ -0,0 +1,330 @@
+bin/harch
+bin/nhc98
+bin/hmake
+bin/hi
+bin/hood
+bin/greencard-nhc98
+bin/tprofprel
+bin/hp2graph
+bin/hat-trail
+bin/hat-stack
+bin/hat-connect
+bin/hat-check
+bin/hat-observe
+bin/hat-detect
+bin/hat-checki
+bin/hat-port
+lib/nhc98/hat-trail.jar
+lib/nhc98/hood.jar
+lib/nhc98/ix86-FreeBSD/Prelude.a
+lib/nhc98/ix86-FreeBSD/Runtime.a
+lib/nhc98/ix86-FreeBSD/config
+lib/nhc98/ix86-FreeBSD/greencard-nhc98
+lib/nhc98/ix86-FreeBSD/hmake-PRAGMA
+lib/nhc98/ix86-FreeBSD/hmake.config
+lib/nhc98/ix86-FreeBSD/libdebug.a
+lib/nhc98/ix86-FreeBSD/main.o
+lib/nhc98/ix86-FreeBSD/mutator.o
+lib/nhc98/ix86-FreeBSD/mutlib.o
+lib/nhc98/ix86-FreeBSD/nhc98comp
+lib/nhc98/ix86-FreeBSD/nhc98heap
+lib/nhc98/ix86-FreeBSD/HInteractive
+lib/nhc98/ix86-FreeBSD/MkProg
+lib/nhc98/ix86-FreeBSD/Older
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-check
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-checki
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-connect
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-detect
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-observe
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-stack
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hp2graph
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Array.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/BinArray.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Binary.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Bit.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/CPUTime.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/CString.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Char.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Complex.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/DErrNo.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/DbgIface.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Directory.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Driver.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/FFI.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/GreenCard.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Haskell.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatExpressionTree.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatTrace.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatTrie.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Hatdetect.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Hatobserve.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/IO.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/IOExtras.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Ix.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/List.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Locale.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Maybe.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Monad.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdEval.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdGetPID.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdProfile.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdTrace.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdUnsafeCoerce.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Numeric.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Observe.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PackedString.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Prelude.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Prelude.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PreludeAll.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PrettyExp.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PrettyLib.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Random.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Ratio.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/System.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Time.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/UnboxedArray.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Warning.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-port
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel1.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel2.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel3.z.o
+include/nhc98/Array.T.hi
+include/nhc98/Array.hi
+include/nhc98/BinArray.hi
+include/nhc98/Binary.T.hi
+include/nhc98/Binary.hi
+include/nhc98/Bit.hi
+include/nhc98/CPUTime.T.hi
+include/nhc98/CPUTime.hi
+include/nhc98/Char.T.hi
+include/nhc98/Char.hi
+include/nhc98/Complex.T.hi
+include/nhc98/Complex.hi
+include/nhc98/DPrelude.hi
+include/nhc98/DbgIface.hi
+include/nhc98/DbgStub.hi
+include/nhc98/Directory.T.hi
+include/nhc98/Directory.hi
+include/nhc98/FFI.T.hi
+include/nhc98/FFI.hi
+include/nhc98/FFIBuiltin.T.hi
+include/nhc98/FFIBuiltin.hi
+include/nhc98/GreenCard.T.hi
+include/nhc98/GreenCard.gc
+include/nhc98/GreenCard.hi
+include/nhc98/Haskell.hi
+include/nhc98/HatBuiltin.hi
+include/nhc98/HsFFI.h
+include/nhc98/IO.T.hi
+include/nhc98/IO.hi
+include/nhc98/IOExtras.T.hi
+include/nhc98/IOExtras.hi
+include/nhc98/Ix.T.hi
+include/nhc98/Ix.hi
+include/nhc98/List.T.hi
+include/nhc98/List.hi
+include/nhc98/Locale.hi
+include/nhc98/Maybe.T.hi
+include/nhc98/Maybe.hi
+include/nhc98/Monad.T.hi
+include/nhc98/Monad.hi
+include/nhc98/NonStdEval.hi
+include/nhc98/NonStdGetPID.hi
+include/nhc98/NonStdProfile.hi
+include/nhc98/NonStdTrace.T.hi
+include/nhc98/NonStdTrace.hi
+include/nhc98/NonStdUnsafeCoerce.T.hi
+include/nhc98/NonStdUnsafeCoerce.hi
+include/nhc98/Numeric.T.hi
+include/nhc98/Numeric.hi
+include/nhc98/Observe.hi
+include/nhc98/PackedString.T.hi
+include/nhc98/PackedString.hi
+include/nhc98/Prelude.T.hi
+include/nhc98/Prelude.hi
+include/nhc98/PreludeBuiltin.T.hi
+include/nhc98/PreludeBuiltin.hi
+include/nhc98/Random.T.hi
+include/nhc98/Random.hi
+include/nhc98/Ratio.T.hi
+include/nhc98/Ratio.hi
+include/nhc98/System.T.hi
+include/nhc98/System.hi
+include/nhc98/Time.hi
+include/nhc98/Warning.hi
+include/nhc98/bytecode.h
+include/nhc98/bytecode_o.h
+include/nhc98/cinterface.h
+include/nhc98/codemacros.h
+include/nhc98/flt.h
+include/nhc98/greencard.h
+include/nhc98/haskell2c.h
+include/nhc98/hat.h
+include/nhc98/localmalloc.h
+include/nhc98/macros_o.h
+include/nhc98/mk.h
+include/nhc98/mkByHand.h
+include/nhc98/mkByProg.h
+include/nhc98/mutlib.h
+include/nhc98/newbytecode.h
+include/nhc98/newmacros.h
+include/nhc98/node.h
+include/nhc98/runtime.h
+include/nhc98/stableptr.h
+include/nhc98/twopass.h
+@dirrm lib/nhc98/ix86-FreeBSD
+@dirrm lib/nhc98
+@dirrm include/nhc98
+%%PORTDOCS%%share/doc/nhc98/98.html
+%%PORTDOCS%%share/doc/nhc98/CcallingHaskell.html
+%%PORTDOCS%%share/doc/nhc98/bugs.html
+%%PORTDOCS%%share/doc/nhc98/compiler-options.html
+%%PORTDOCS%%share/doc/nhc98/config.html
+%%PORTDOCS%%share/doc/nhc98/contrib.html
+%%PORTDOCS%%share/doc/nhc98/copyright.html
+%%PORTDOCS%%share/doc/nhc98/cvs.html
+%%PORTDOCS%%share/doc/nhc98/download.html
+%%PORTDOCS%%share/doc/nhc98/errmsgs.html
+%%PORTDOCS%%share/doc/nhc98/ffi.html
+%%PORTDOCS%%share/doc/nhc98/fig2.html
+%%PORTDOCS%%share/doc/nhc98/fig3.html
+%%PORTDOCS%%share/doc/nhc98/fig4.html
+%%PORTDOCS%%share/doc/nhc98/greencard-york.html
+%%PORTDOCS%%share/doc/nhc98/greencard.html
+%%PORTDOCS%%share/doc/nhc98/heapprof.html
+%%PORTDOCS%%share/doc/nhc98/history.html
+%%PORTDOCS%%share/doc/nhc98/history98.html
+%%PORTDOCS%%share/doc/nhc98/hmake.html
+%%PORTDOCS%%share/doc/nhc98/index.html
+%%PORTDOCS%%share/doc/nhc98/install.html
+%%PORTDOCS%%share/doc/nhc98/libraries.html
+%%PORTDOCS%%share/doc/nhc98/limits.html
+%%PORTDOCS%%share/doc/nhc98/limits.html.inst
+%%PORTDOCS%%share/doc/nhc98/maillist.html
+%%PORTDOCS%%share/doc/nhc98/runtime-options.html
+%%PORTDOCS%%share/doc/nhc98/status.html
+%%PORTDOCS%%share/doc/nhc98/new_tiny.gif
+%%PORTDOCS%%share/doc/nhc98/todo.html
+%%PORTDOCS%%share/doc/nhc98/tprof.html
+%%PORTDOCS%%share/doc/nhc98/tracer.html
+%%PORTDOCS%%share/doc/nhc98/windows.html
+%%PORTDOCS%%share/doc/nhc98/york-release.html
+%%PORTDOCS%%share/doc/nhc98/fig1.gif
+%%PORTDOCS%%share/doc/nhc98/nhc13.gif
+%%PORTDOCS%%share/doc/nhc98/nhc98.gif
+%%PORTDOCS%%share/doc/nhc98/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test1.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test10.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test13.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test1.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test10.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test11.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test12.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test13.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test14.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test15.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test16.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test17.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test18.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test19.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test2.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test20.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test3.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test4.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test5.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test6.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test7.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test8.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test9.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test19.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test20.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test21.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test22.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test23.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/README
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/examples/ZooQuiz.hs
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/hat/browser-detail.html
+%%PORTDOCS%%share/doc/nhc98/hat/faq.html
+%%PORTDOCS%%share/doc/nhc98/hat/feature-table.html
+%%PORTDOCS%%share/doc/nhc98/hat/frejaHatHood.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/hat-trail-1.eps
+%%PORTDOCS%%share/doc/nhc98/hat/hat-trail.gif
+%%PORTDOCS%%share/doc/nhc98/hat/hat.gif
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.tex
+%%PORTDOCS%%share/doc/nhc98/hat/index.html
+%%PORTDOCS%%share/doc/nhc98/hat/limitations-detail.html
+%%PORTDOCS%%share/doc/nhc98/hat/limitations.html
+%%PORTDOCS%%share/doc/nhc98/hat/maillist.html
+%%PORTDOCS%%share/doc/nhc98/hat/old-tracing.html
+%%PORTDOCS%%share/doc/nhc98/hat/paper.dvi
+%%PORTDOCS%%share/doc/nhc98/hat/proposal.html
+%%PORTDOCS%%share/doc/nhc98/hat/tracing.html
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.pdf
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.ps
+%%PORTDOCS%%share/doc/nhc98/hat/hw01-draft.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/newhat.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/hmake/changes.html
+%%PORTDOCS%%share/doc/nhc98/hmake/hmake.html
+%%PORTDOCS%%share/doc/nhc98/hmake/index.html
+%%PORTDOCS%%share/doc/nhc98/hmake/interactive.html
+%%PORTDOCS%%share/doc/nhc98/hmake/lineedit.html
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/build-system
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/index.html
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/intro
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/phases
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/space-efficient
+%%PORTDOCS%%share/doc/nhc98/libs/BinArray.html
+%%PORTDOCS%%share/doc/nhc98/libs/Binary.html
+%%PORTDOCS%%share/doc/nhc98/libs/Bit.html
+%%PORTDOCS%%share/doc/nhc98/libs/OldBinary.html
+%%PORTDOCS%%share/doc/nhc98/libs/Time.html
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/libs/index.html
+%%PORTDOCS%%@dirrm share/doc/nhc98/bugs/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/bugs
+%%PORTDOCS%%@dirrm share/doc/nhc98/examples/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/examples
+%%PORTDOCS%%@dirrm share/doc/nhc98/hat/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/hat
+%%PORTDOCS%%@dirrm share/doc/nhc98/hmake/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/hmake
+%%PORTDOCS%%@dirrm share/doc/nhc98/implementation-notes/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/implementation-notes
+%%PORTDOCS%%@dirrm share/doc/nhc98/libs/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/libs
+%%PORTDOCS%%@dirrm share/doc/nhc98/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98
diff --git a/devel/hs-hat/Makefile b/devel/hs-hat/Makefile
new file mode 100644
index 000000000000..6fa0f3818e8a
--- /dev/null
+++ b/devel/hs-hat/Makefile
@@ -0,0 +1,78 @@
+# New ports collection makefile for: nhc98
+# Date created: 04 October 2001
+# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
+#
+# $FreeBSD$
+
+PORTNAME= nhc98
+PORTVERSION= 1.08
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/${PORTNAME}/
+DISTNAME= ${PORTNAME}src-${PORTVERSION}
+
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= patch-1.08-ghc5.02 \
+ patch-1.08-hmake \
+ patch-1.08-hat-makefile
+
+MAINTAINER= obraun@informatik.unibw-muenchen.de
+
+.if defined(WITH_TRACER)
+RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
+BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
+.endif
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+.if !defined(WITH_TRACER)
+ALL_TARGET= basic
+PLIST_SUB+= TRACER="@comment "
+.else
+PLIST_SUB+= TRACER=""
+MAKE_ENV+= PATH=${PREFIX}/jdk1.1.8/bin:$$PATH
+.endif
+
+USE_GMAKE= yes
+HAS_CONFIGURE= yes
+DIST_SUBDIR= nhc98
+
+.if !defined(NOPORTDOCS)
+CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/nhc98 +docs
+.endif
+
+MAN1= harch.1 hmake.1 hp2graph.1 nhc98.1 \
+ hat-detect.1 hat-observe.1 hat-stack.1 hat-trail.1
+
+pre-fetch:
+.if !defined(WITH_TRACER)
+ @${ECHO} ""
+ @${ECHO} " To build nhc98 with the tracer (requires JAVA)"
+ @${ECHO} " define WITH_TRACER"
+ @${ECHO} ""
+.else
+ @${ECHO} ""
+ @${ECHO} " Building nhc98 with the tracer (requires JAVA)"
+ @${ECHO} ""
+.endif
+
+# We need this to ensure that the libs will be installed into
+# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed
+# into the build directory. The configure option won't work in the
+# ports system.
+pre-install:
+ ${SED} -e "s#LIBDIR=.*##" \
+ < ${WRKSRC}/targets/ix86-FreeBSD/config.cache \
+ > ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1
+ ${ECHO} "LIBDIR=${PREFIX}/lib/nhc98" \
+ >> ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1
+ ${RM} ${WRKSRC}/targets/ix86-FreeBSD/config.cache
+ ${MV} ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1 \
+ ${WRKSRC}/targets/ix86-FreeBSD/config.cache
+
+post-install:
+ ${SED} -e "s#/usr/doc/nhc98#${PREFIX}/share/doc/nhc98#" \
+ < ${WRKSRC}/man/nhc98.1 > ${WRKSRC}/man/nhc98.1.fix
+ ${INSTALL_MAN} ${WRKSRC}/man/nhc98.1.fix ${PREFIX}/man/man1/nhc98.1
+ ${RM} ${WRKSRC}/man/nhc98.1.fix
+
+.include <bsd.port.mk>
diff --git a/devel/hs-hat/distinfo b/devel/hs-hat/distinfo
new file mode 100644
index 000000000000..8fedab1d6c99
--- /dev/null
+++ b/devel/hs-hat/distinfo
@@ -0,0 +1,4 @@
+MD5 (nhc98/nhc98src-1.08.tar.gz) = 6234cafff0cc09fbc73127c421232463
+MD5 (nhc98/patch-1.08-ghc5.02) = aea26d10381d13363611797fb14896b9
+MD5 (nhc98/patch-1.08-hmake) = 589e4558e29ae95bdf1d79a100b2180f
+MD5 (nhc98/patch-1.08-hat-makefile) = 7882524c5d9a6567dc18a6b2c2a9b7d5
diff --git a/devel/hs-hat/files/patch-Makefile b/devel/hs-hat/files/patch-Makefile
new file mode 100644
index 000000000000..e963ec7aca8e
--- /dev/null
+++ b/devel/hs-hat/files/patch-Makefile
@@ -0,0 +1,109 @@
+--- Makefile.orig Thu Oct 4 10:21:53 2001
++++ Makefile Thu Oct 4 10:22:02 2001
+@@ -148,14 +148,14 @@
+
+ TARGDIR= targets
+ TARGETS= runtime prelude greencard hp2graph hattools \
+- profruntime profprelude profprelude-$(CC) \
+- timeruntime timeprelude timeprelude-$(CC) \
++ profruntime profprelude profprelude-gcc \
++ timeruntime timeprelude timeprelude-gcc \
+ timetraceruntime timetraceprelude \
+- traceruntime traceprelude traceprelude-$(CC) \
+- compiler-nhc compiler-hbc compiler-ghc compiler-$(CC) \
+- hmake-nhc hmake-hbc hmake-ghc hmake-$(CC) \
+- greencard-nhc greencard-hbc greencard-ghc greencard-$(CC) \
+- prelude-$(CC) pragma-$(CC)
++ traceruntime traceprelude traceprelude-gcc \
++ compiler-nhc compiler-hbc compiler-ghc compiler-gcc \
++ hmake-nhc hmake-hbc hmake-ghc hmake-gcc \
++ greencard-nhc greencard-hbc greencard-ghc greencard-gcc \
++ prelude-gcc pragma-gcc
+
+ .PHONY: default basic all tracer compiler help config install hattools
+
+@@ -188,8 +188,8 @@
+ basic-nhc: $(PRAGMA) runtime hmake-nhc greencard-nhc compiler-nhc prelude
+ basic-hbc: $(PRAGMA) runtime hmake-hbc greencard-hbc compiler-hbc prelude
+ basic-ghc: $(PRAGMA) runtime hmake-ghc greencard-ghc compiler-ghc prelude
+-basic-$(CC): runtime prelude-$(CC) pragma-$(CC) compiler-$(CC) \
+- greencard-$(CC) hmake-$(CC)
++basic-gcc: runtime prelude-gcc pragma-gcc compiler-gcc \
++ greencard-gcc hmake-gcc
+
+ all-$(BUILDCOMP): basic-$(BUILDCOMP) heapprofile timeprofile tracer lib/hood.jar
+
+@@ -209,9 +209,9 @@
+ compiler-ghc traceruntime traceprelude hattools
+ tracer-hbc: $(PRAGMA) runtime hmake-hbc greencard-hbc \
+ compiler-hbc traceruntime traceprelude hattools
+-tracer-$(CC): runtime prelude-$(CC) pragma-$(CC) compiler-$(CC) \
+- greencard-$(CC) hmake-$(CC) \
+- traceruntime traceprelude-$(CC) hattools
++tracer-gcc: runtime prelude-gcc pragma-gcc compiler-gcc \
++ greencard-gcc hmake-gcc \
++ traceruntime traceprelude-gcc hattools
+ timetraceprofile: timetraceruntime timetraceprelude
+
+ $(TARGETS): % : $(TARGDIR)/$(MACHINE)/%
+@@ -324,44 +324,44 @@
+ touch $(TARGDIR)/$(MACHINE)/timeprelude
+
+
+-$(TARGDIR)/$(MACHINE)/prelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/prelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) fromC relink
+- touch $(TARGDIR)/$(MACHINE)/prelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/prelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/prelude
+-$(TARGDIR)/$(MACHINE)/traceprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/traceprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=T fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=T clean all
+ cd src/prelude; $(MAKE) CFG=T relink
+- touch $(TARGDIR)/$(MACHINE)/traceprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/traceprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/traceprelude
+-$(TARGDIR)/$(MACHINE)/timeprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/timeprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=z fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=z clean all
+ cd src/prelude; $(MAKE) CFG=z relink
+- touch $(TARGDIR)/$(MACHINE)/timeprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/timeprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/timeprelude
+-$(TARGDIR)/$(MACHINE)/profprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/profprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=p fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=p clean all
+ cd src/prelude; $(MAKE) CFG=p relink
+- touch $(TARGDIR)/$(MACHINE)/profprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/profprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/profprelude
+-$(TARGDIR)/$(MACHINE)/compiler-$(CC): $(COMPILERC)
++$(TARGDIR)/$(MACHINE)/compiler-gcc: $(COMPILERC)
+ cd src/compiler98; $(MAKE) fromC
+ cd src/prelude/$(MACHINE); $(MAKE) clean all # Patch machine-specific parts.
+ cd src/prelude; $(MAKE) relink
+ cd src/compiler98; $(MAKE) relink
+- touch $(TARGDIR)/$(MACHINE)/compiler-$(CC)
+-$(TARGDIR)/$(MACHINE)/greencard-$(CC): $(GREENCARDC)
++ touch $(TARGDIR)/$(MACHINE)/compiler-gcc
++$(TARGDIR)/$(MACHINE)/greencard-gcc: $(GREENCARDC)
+ cd src/greencard; $(MAKE) fromC
+- touch $(TARGDIR)/$(MACHINE)/greencard $(TARGDIR)/$(MACHINE)/greencard-$(CC)
+-$(TARGDIR)/$(MACHINE)/pragma-$(CC): script/hmake-PRAGMA.hc
++ touch $(TARGDIR)/$(MACHINE)/greencard $(TARGDIR)/$(MACHINE)/greencard-gcc
++$(TARGDIR)/$(MACHINE)/pragma-gcc: script/hmake-PRAGMA.hc
+ script/nhc98 -o $(PRAGMA) script/hmake-PRAGMA.hc
+- touch $(TARGDIR)/$(MACHINE)/pragma-$(CC)
+-$(TARGDIR)/$(MACHINE)/hmake-$(CC): $(HMAKEC)
++ touch $(TARGDIR)/$(MACHINE)/pragma-gcc
++$(TARGDIR)/$(MACHINE)/hmake-gcc: $(HMAKEC)
+ cd src/hmake; $(MAKE) fromC
+ cd src/interpreter; $(MAKE) fromC
+- touch $(TARGDIR)/$(MACHINE)/hmake-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/hmake-gcc
+
+
+ script/errnogen.c: script/GenerateErrNo.hs
diff --git a/devel/hs-hat/files/patch-src::greencard::Makefile b/devel/hs-hat/files/patch-src::greencard::Makefile
new file mode 100644
index 000000000000..090ba9b4bfea
--- /dev/null
+++ b/devel/hs-hat/files/patch-src::greencard::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/greencard/Makefile src/greencard/Makefile
+--- src.bak/greencard/Makefile Tue May 29 16:22:46 2001
++++ src/greencard/Makefile Mon Jun 18 16:31:45 2001
+@@ -34,7 +34,7 @@
+
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+ $(TARGET): $(OBJDIR) $(OBJDIR)/GreenCard$(EXE)
+ mv $(OBJDIR)/GreenCard$(EXE) $(TARGET)
+ strip $(TARGET)
diff --git a/devel/hs-hat/files/patch-src::hmake::Makefile b/devel/hs-hat/files/patch-src::hmake::Makefile
new file mode 100644
index 000000000000..26c10028866e
--- /dev/null
+++ b/devel/hs-hat/files/patch-src::hmake::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/hmake/Makefile src/hmake/Makefile
+--- src.bak/hmake/Makefile Tue May 29 16:29:07 2001
++++ src/hmake/Makefile Mon Jun 18 16:32:21 2001
+@@ -48,7 +48,7 @@
+ strip $@
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+ $(OBJS): $(OBJDIR)/%.$O : %.hs
+ $(HC) $(HFLAGS) -c -o $@ $<
+ $(CPPOBJS) $(OBJDIR)/Older.$O: $(OBJDIR)/%.$O : %.hs
diff --git a/devel/hs-hat/files/patch-src::hp2graph::Makefile b/devel/hs-hat/files/patch-src::hp2graph::Makefile
new file mode 100644
index 000000000000..218c9a0c12b3
--- /dev/null
+++ b/devel/hs-hat/files/patch-src::hp2graph::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/hp2graph/Makefile src/hp2graph/Makefile
+--- src.bak/hp2graph/Makefile Mon Oct 11 13:50:38 1999
++++ src/hp2graph/Makefile Mon Jun 18 16:32:04 2001
+@@ -31,7 +31,7 @@
+
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+
+ $(OBJS): $(OBJDIR)/%.o: %.c
+ $(CC) -c $(CFLAGS) -o $@ $<
diff --git a/devel/hs-hat/files/patch-src::prelude::Makefile b/devel/hs-hat/files/patch-src::prelude::Makefile
new file mode 100644
index 000000000000..4c18f7422a2a
--- /dev/null
+++ b/devel/hs-hat/files/patch-src::prelude::Makefile
@@ -0,0 +1,24 @@
+diff -ruN src.bak/prelude/Makefile src/prelude/Makefile
+--- src.bak/prelude/Makefile Mon Jun 4 12:40:41 2001
++++ src/prelude/Makefile Mon Jun 18 16:31:24 2001
+@@ -80,7 +80,7 @@
+ mkdir -p ${OBJDIR}
+
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+
+ ifeq "${TPROF}" ""
+@@ -326,9 +326,9 @@
+
+
+ ${OBJDIR}:
+- mkdir -p ${OBJDIR} || /bin/true
++ mkdir -p ${OBJDIR} || /usr/bin/true
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+ ${ARCHIVE}: ${OBJDIR} ${OBJDIRS} ${SUBDIRSMK}
+ rm -f $@
diff --git a/devel/hs-hat/files/patch-src::runtime::Makefile b/devel/hs-hat/files/patch-src::runtime::Makefile
new file mode 100644
index 000000000000..46b71c9c6ad8
--- /dev/null
+++ b/devel/hs-hat/files/patch-src::runtime::Makefile
@@ -0,0 +1,21 @@
+diff -ruN src.bak/runtime/Makefile src/runtime/Makefile
+--- src.bak/runtime/Makefile Thu Dec 16 11:58:42 1999
++++ src/runtime/Makefile Mon Jun 18 16:30:56 2001
+@@ -9,7 +9,7 @@
+
+ LD = ld
+ LDFLAGS = -r
+-TRUE = /bin/true
++TRUE = /usr/bin/true
+ CC = gcc
+ AR = ar
+ ARFLAGS = r
+@@ -48,7 +48,7 @@
+ mkdir -p ${OBJDIR}
+
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+ objdir: ${OBJDIR}
+ cd Kernel; $(MAKE) objdir
diff --git a/devel/hs-hat/pkg-comment b/devel/hs-hat/pkg-comment
new file mode 100644
index 000000000000..a19fd5726493
--- /dev/null
+++ b/devel/hs-hat/pkg-comment
@@ -0,0 +1 @@
+A fully-fledged compiler for Haskell 98
diff --git a/devel/hs-hat/pkg-descr b/devel/hs-hat/pkg-descr
new file mode 100644
index 000000000000..0240db7f1c26
--- /dev/null
+++ b/devel/hs-hat/pkg-descr
@@ -0,0 +1,10 @@
+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. It comes
+with extensive tool support for automatic compilation, foreign language
+interfacing, heap and time profiling, tracing, and debugging.
+
+WWW: http://www.cs.york.ac.uk/fp/nhc98/
+
+-- Oliver Braun
+obraun@informatik.unibw-muenchen.de
diff --git a/devel/hs-hat/pkg-plist b/devel/hs-hat/pkg-plist
new file mode 100644
index 000000000000..9f4b2f4c98f3
--- /dev/null
+++ b/devel/hs-hat/pkg-plist
@@ -0,0 +1,330 @@
+bin/harch
+bin/nhc98
+bin/hmake
+bin/hi
+bin/hood
+bin/greencard-nhc98
+bin/tprofprel
+bin/hp2graph
+bin/hat-trail
+bin/hat-stack
+bin/hat-connect
+bin/hat-check
+bin/hat-observe
+bin/hat-detect
+bin/hat-checki
+bin/hat-port
+lib/nhc98/hat-trail.jar
+lib/nhc98/hood.jar
+lib/nhc98/ix86-FreeBSD/Prelude.a
+lib/nhc98/ix86-FreeBSD/Runtime.a
+lib/nhc98/ix86-FreeBSD/config
+lib/nhc98/ix86-FreeBSD/greencard-nhc98
+lib/nhc98/ix86-FreeBSD/hmake-PRAGMA
+lib/nhc98/ix86-FreeBSD/hmake.config
+lib/nhc98/ix86-FreeBSD/libdebug.a
+lib/nhc98/ix86-FreeBSD/main.o
+lib/nhc98/ix86-FreeBSD/mutator.o
+lib/nhc98/ix86-FreeBSD/mutlib.o
+lib/nhc98/ix86-FreeBSD/nhc98comp
+lib/nhc98/ix86-FreeBSD/nhc98heap
+lib/nhc98/ix86-FreeBSD/HInteractive
+lib/nhc98/ix86-FreeBSD/MkProg
+lib/nhc98/ix86-FreeBSD/Older
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-check
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-checki
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-connect
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-detect
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-observe
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-stack
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hp2graph
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Array.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/BinArray.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Binary.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Bit.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/CPUTime.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/CString.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Char.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Complex.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/DErrNo.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/DbgIface.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Directory.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Driver.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/FFI.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/GreenCard.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Haskell.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatExpressionTree.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatTrace.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatTrie.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Hatdetect.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Hatobserve.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/IO.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/IOExtras.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Ix.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/List.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Locale.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Maybe.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Monad.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdEval.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdGetPID.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdProfile.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdTrace.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdUnsafeCoerce.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Numeric.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Observe.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PackedString.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Prelude.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Prelude.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PreludeAll.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PrettyExp.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PrettyLib.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Random.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Ratio.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/System.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Time.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/UnboxedArray.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Warning.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-port
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel1.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel2.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel3.z.o
+include/nhc98/Array.T.hi
+include/nhc98/Array.hi
+include/nhc98/BinArray.hi
+include/nhc98/Binary.T.hi
+include/nhc98/Binary.hi
+include/nhc98/Bit.hi
+include/nhc98/CPUTime.T.hi
+include/nhc98/CPUTime.hi
+include/nhc98/Char.T.hi
+include/nhc98/Char.hi
+include/nhc98/Complex.T.hi
+include/nhc98/Complex.hi
+include/nhc98/DPrelude.hi
+include/nhc98/DbgIface.hi
+include/nhc98/DbgStub.hi
+include/nhc98/Directory.T.hi
+include/nhc98/Directory.hi
+include/nhc98/FFI.T.hi
+include/nhc98/FFI.hi
+include/nhc98/FFIBuiltin.T.hi
+include/nhc98/FFIBuiltin.hi
+include/nhc98/GreenCard.T.hi
+include/nhc98/GreenCard.gc
+include/nhc98/GreenCard.hi
+include/nhc98/Haskell.hi
+include/nhc98/HatBuiltin.hi
+include/nhc98/HsFFI.h
+include/nhc98/IO.T.hi
+include/nhc98/IO.hi
+include/nhc98/IOExtras.T.hi
+include/nhc98/IOExtras.hi
+include/nhc98/Ix.T.hi
+include/nhc98/Ix.hi
+include/nhc98/List.T.hi
+include/nhc98/List.hi
+include/nhc98/Locale.hi
+include/nhc98/Maybe.T.hi
+include/nhc98/Maybe.hi
+include/nhc98/Monad.T.hi
+include/nhc98/Monad.hi
+include/nhc98/NonStdEval.hi
+include/nhc98/NonStdGetPID.hi
+include/nhc98/NonStdProfile.hi
+include/nhc98/NonStdTrace.T.hi
+include/nhc98/NonStdTrace.hi
+include/nhc98/NonStdUnsafeCoerce.T.hi
+include/nhc98/NonStdUnsafeCoerce.hi
+include/nhc98/Numeric.T.hi
+include/nhc98/Numeric.hi
+include/nhc98/Observe.hi
+include/nhc98/PackedString.T.hi
+include/nhc98/PackedString.hi
+include/nhc98/Prelude.T.hi
+include/nhc98/Prelude.hi
+include/nhc98/PreludeBuiltin.T.hi
+include/nhc98/PreludeBuiltin.hi
+include/nhc98/Random.T.hi
+include/nhc98/Random.hi
+include/nhc98/Ratio.T.hi
+include/nhc98/Ratio.hi
+include/nhc98/System.T.hi
+include/nhc98/System.hi
+include/nhc98/Time.hi
+include/nhc98/Warning.hi
+include/nhc98/bytecode.h
+include/nhc98/bytecode_o.h
+include/nhc98/cinterface.h
+include/nhc98/codemacros.h
+include/nhc98/flt.h
+include/nhc98/greencard.h
+include/nhc98/haskell2c.h
+include/nhc98/hat.h
+include/nhc98/localmalloc.h
+include/nhc98/macros_o.h
+include/nhc98/mk.h
+include/nhc98/mkByHand.h
+include/nhc98/mkByProg.h
+include/nhc98/mutlib.h
+include/nhc98/newbytecode.h
+include/nhc98/newmacros.h
+include/nhc98/node.h
+include/nhc98/runtime.h
+include/nhc98/stableptr.h
+include/nhc98/twopass.h
+@dirrm lib/nhc98/ix86-FreeBSD
+@dirrm lib/nhc98
+@dirrm include/nhc98
+%%PORTDOCS%%share/doc/nhc98/98.html
+%%PORTDOCS%%share/doc/nhc98/CcallingHaskell.html
+%%PORTDOCS%%share/doc/nhc98/bugs.html
+%%PORTDOCS%%share/doc/nhc98/compiler-options.html
+%%PORTDOCS%%share/doc/nhc98/config.html
+%%PORTDOCS%%share/doc/nhc98/contrib.html
+%%PORTDOCS%%share/doc/nhc98/copyright.html
+%%PORTDOCS%%share/doc/nhc98/cvs.html
+%%PORTDOCS%%share/doc/nhc98/download.html
+%%PORTDOCS%%share/doc/nhc98/errmsgs.html
+%%PORTDOCS%%share/doc/nhc98/ffi.html
+%%PORTDOCS%%share/doc/nhc98/fig2.html
+%%PORTDOCS%%share/doc/nhc98/fig3.html
+%%PORTDOCS%%share/doc/nhc98/fig4.html
+%%PORTDOCS%%share/doc/nhc98/greencard-york.html
+%%PORTDOCS%%share/doc/nhc98/greencard.html
+%%PORTDOCS%%share/doc/nhc98/heapprof.html
+%%PORTDOCS%%share/doc/nhc98/history.html
+%%PORTDOCS%%share/doc/nhc98/history98.html
+%%PORTDOCS%%share/doc/nhc98/hmake.html
+%%PORTDOCS%%share/doc/nhc98/index.html
+%%PORTDOCS%%share/doc/nhc98/install.html
+%%PORTDOCS%%share/doc/nhc98/libraries.html
+%%PORTDOCS%%share/doc/nhc98/limits.html
+%%PORTDOCS%%share/doc/nhc98/limits.html.inst
+%%PORTDOCS%%share/doc/nhc98/maillist.html
+%%PORTDOCS%%share/doc/nhc98/runtime-options.html
+%%PORTDOCS%%share/doc/nhc98/status.html
+%%PORTDOCS%%share/doc/nhc98/new_tiny.gif
+%%PORTDOCS%%share/doc/nhc98/todo.html
+%%PORTDOCS%%share/doc/nhc98/tprof.html
+%%PORTDOCS%%share/doc/nhc98/tracer.html
+%%PORTDOCS%%share/doc/nhc98/windows.html
+%%PORTDOCS%%share/doc/nhc98/york-release.html
+%%PORTDOCS%%share/doc/nhc98/fig1.gif
+%%PORTDOCS%%share/doc/nhc98/nhc13.gif
+%%PORTDOCS%%share/doc/nhc98/nhc98.gif
+%%PORTDOCS%%share/doc/nhc98/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test1.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test10.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test13.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test1.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test10.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test11.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test12.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test13.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test14.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test15.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test16.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test17.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test18.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test19.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test2.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test20.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test3.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test4.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test5.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test6.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test7.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test8.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test9.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test19.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test20.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test21.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test22.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test23.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/README
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/examples/ZooQuiz.hs
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/hat/browser-detail.html
+%%PORTDOCS%%share/doc/nhc98/hat/faq.html
+%%PORTDOCS%%share/doc/nhc98/hat/feature-table.html
+%%PORTDOCS%%share/doc/nhc98/hat/frejaHatHood.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/hat-trail-1.eps
+%%PORTDOCS%%share/doc/nhc98/hat/hat-trail.gif
+%%PORTDOCS%%share/doc/nhc98/hat/hat.gif
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.tex
+%%PORTDOCS%%share/doc/nhc98/hat/index.html
+%%PORTDOCS%%share/doc/nhc98/hat/limitations-detail.html
+%%PORTDOCS%%share/doc/nhc98/hat/limitations.html
+%%PORTDOCS%%share/doc/nhc98/hat/maillist.html
+%%PORTDOCS%%share/doc/nhc98/hat/old-tracing.html
+%%PORTDOCS%%share/doc/nhc98/hat/paper.dvi
+%%PORTDOCS%%share/doc/nhc98/hat/proposal.html
+%%PORTDOCS%%share/doc/nhc98/hat/tracing.html
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.pdf
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.ps
+%%PORTDOCS%%share/doc/nhc98/hat/hw01-draft.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/newhat.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/hmake/changes.html
+%%PORTDOCS%%share/doc/nhc98/hmake/hmake.html
+%%PORTDOCS%%share/doc/nhc98/hmake/index.html
+%%PORTDOCS%%share/doc/nhc98/hmake/interactive.html
+%%PORTDOCS%%share/doc/nhc98/hmake/lineedit.html
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/build-system
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/index.html
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/intro
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/phases
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/space-efficient
+%%PORTDOCS%%share/doc/nhc98/libs/BinArray.html
+%%PORTDOCS%%share/doc/nhc98/libs/Binary.html
+%%PORTDOCS%%share/doc/nhc98/libs/Bit.html
+%%PORTDOCS%%share/doc/nhc98/libs/OldBinary.html
+%%PORTDOCS%%share/doc/nhc98/libs/Time.html
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/libs/index.html
+%%PORTDOCS%%@dirrm share/doc/nhc98/bugs/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/bugs
+%%PORTDOCS%%@dirrm share/doc/nhc98/examples/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/examples
+%%PORTDOCS%%@dirrm share/doc/nhc98/hat/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/hat
+%%PORTDOCS%%@dirrm share/doc/nhc98/hmake/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/hmake
+%%PORTDOCS%%@dirrm share/doc/nhc98/implementation-notes/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/implementation-notes
+%%PORTDOCS%%@dirrm share/doc/nhc98/libs/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/libs
+%%PORTDOCS%%@dirrm share/doc/nhc98/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98
diff --git a/lang/Makefile b/lang/Makefile
index f426d72ae257..d7eaf0cc31f8 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -96,6 +96,7 @@
SUBDIR += moscow_ml
SUBDIR += mozart
SUBDIR += nawk
+ SUBDIR += nhc98
SUBDIR += nickle
SUBDIR += nml
SUBDIR += nqc
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile
new file mode 100644
index 000000000000..6fa0f3818e8a
--- /dev/null
+++ b/lang/nhc98/Makefile
@@ -0,0 +1,78 @@
+# New ports collection makefile for: nhc98
+# Date created: 04 October 2001
+# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
+#
+# $FreeBSD$
+
+PORTNAME= nhc98
+PORTVERSION= 1.08
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/${PORTNAME}/
+DISTNAME= ${PORTNAME}src-${PORTVERSION}
+
+PATCH_SITES= ${MASTER_SITES}
+PATCHFILES= patch-1.08-ghc5.02 \
+ patch-1.08-hmake \
+ patch-1.08-hat-makefile
+
+MAINTAINER= obraun@informatik.unibw-muenchen.de
+
+.if defined(WITH_TRACER)
+RUN_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/java:${PORTSDIR}/java/jdk
+BUILD_DEPENDS= ${LOCALBASE}/jdk1.1.8/bin/javac:${PORTSDIR}/java/jdk
+.endif
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+
+.if !defined(WITH_TRACER)
+ALL_TARGET= basic
+PLIST_SUB+= TRACER="@comment "
+.else
+PLIST_SUB+= TRACER=""
+MAKE_ENV+= PATH=${PREFIX}/jdk1.1.8/bin:$$PATH
+.endif
+
+USE_GMAKE= yes
+HAS_CONFIGURE= yes
+DIST_SUBDIR= nhc98
+
+.if !defined(NOPORTDOCS)
+CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/nhc98 +docs
+.endif
+
+MAN1= harch.1 hmake.1 hp2graph.1 nhc98.1 \
+ hat-detect.1 hat-observe.1 hat-stack.1 hat-trail.1
+
+pre-fetch:
+.if !defined(WITH_TRACER)
+ @${ECHO} ""
+ @${ECHO} " To build nhc98 with the tracer (requires JAVA)"
+ @${ECHO} " define WITH_TRACER"
+ @${ECHO} ""
+.else
+ @${ECHO} ""
+ @${ECHO} " Building nhc98 with the tracer (requires JAVA)"
+ @${ECHO} ""
+.endif
+
+# We need this to ensure that the libs will be installed into
+# ${PREFIX}/lib/nhc98. Otherwise the libs will be installed
+# into the build directory. The configure option won't work in the
+# ports system.
+pre-install:
+ ${SED} -e "s#LIBDIR=.*##" \
+ < ${WRKSRC}/targets/ix86-FreeBSD/config.cache \
+ > ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1
+ ${ECHO} "LIBDIR=${PREFIX}/lib/nhc98" \
+ >> ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1
+ ${RM} ${WRKSRC}/targets/ix86-FreeBSD/config.cache
+ ${MV} ${WRKSRC}/targets/ix86-FreeBSD/config.cache.fix1 \
+ ${WRKSRC}/targets/ix86-FreeBSD/config.cache
+
+post-install:
+ ${SED} -e "s#/usr/doc/nhc98#${PREFIX}/share/doc/nhc98#" \
+ < ${WRKSRC}/man/nhc98.1 > ${WRKSRC}/man/nhc98.1.fix
+ ${INSTALL_MAN} ${WRKSRC}/man/nhc98.1.fix ${PREFIX}/man/man1/nhc98.1
+ ${RM} ${WRKSRC}/man/nhc98.1.fix
+
+.include <bsd.port.mk>
diff --git a/lang/nhc98/distinfo b/lang/nhc98/distinfo
new file mode 100644
index 000000000000..8fedab1d6c99
--- /dev/null
+++ b/lang/nhc98/distinfo
@@ -0,0 +1,4 @@
+MD5 (nhc98/nhc98src-1.08.tar.gz) = 6234cafff0cc09fbc73127c421232463
+MD5 (nhc98/patch-1.08-ghc5.02) = aea26d10381d13363611797fb14896b9
+MD5 (nhc98/patch-1.08-hmake) = 589e4558e29ae95bdf1d79a100b2180f
+MD5 (nhc98/patch-1.08-hat-makefile) = 7882524c5d9a6567dc18a6b2c2a9b7d5
diff --git a/lang/nhc98/files/patch-Makefile b/lang/nhc98/files/patch-Makefile
new file mode 100644
index 000000000000..e963ec7aca8e
--- /dev/null
+++ b/lang/nhc98/files/patch-Makefile
@@ -0,0 +1,109 @@
+--- Makefile.orig Thu Oct 4 10:21:53 2001
++++ Makefile Thu Oct 4 10:22:02 2001
+@@ -148,14 +148,14 @@
+
+ TARGDIR= targets
+ TARGETS= runtime prelude greencard hp2graph hattools \
+- profruntime profprelude profprelude-$(CC) \
+- timeruntime timeprelude timeprelude-$(CC) \
++ profruntime profprelude profprelude-gcc \
++ timeruntime timeprelude timeprelude-gcc \
+ timetraceruntime timetraceprelude \
+- traceruntime traceprelude traceprelude-$(CC) \
+- compiler-nhc compiler-hbc compiler-ghc compiler-$(CC) \
+- hmake-nhc hmake-hbc hmake-ghc hmake-$(CC) \
+- greencard-nhc greencard-hbc greencard-ghc greencard-$(CC) \
+- prelude-$(CC) pragma-$(CC)
++ traceruntime traceprelude traceprelude-gcc \
++ compiler-nhc compiler-hbc compiler-ghc compiler-gcc \
++ hmake-nhc hmake-hbc hmake-ghc hmake-gcc \
++ greencard-nhc greencard-hbc greencard-ghc greencard-gcc \
++ prelude-gcc pragma-gcc
+
+ .PHONY: default basic all tracer compiler help config install hattools
+
+@@ -188,8 +188,8 @@
+ basic-nhc: $(PRAGMA) runtime hmake-nhc greencard-nhc compiler-nhc prelude
+ basic-hbc: $(PRAGMA) runtime hmake-hbc greencard-hbc compiler-hbc prelude
+ basic-ghc: $(PRAGMA) runtime hmake-ghc greencard-ghc compiler-ghc prelude
+-basic-$(CC): runtime prelude-$(CC) pragma-$(CC) compiler-$(CC) \
+- greencard-$(CC) hmake-$(CC)
++basic-gcc: runtime prelude-gcc pragma-gcc compiler-gcc \
++ greencard-gcc hmake-gcc
+
+ all-$(BUILDCOMP): basic-$(BUILDCOMP) heapprofile timeprofile tracer lib/hood.jar
+
+@@ -209,9 +209,9 @@
+ compiler-ghc traceruntime traceprelude hattools
+ tracer-hbc: $(PRAGMA) runtime hmake-hbc greencard-hbc \
+ compiler-hbc traceruntime traceprelude hattools
+-tracer-$(CC): runtime prelude-$(CC) pragma-$(CC) compiler-$(CC) \
+- greencard-$(CC) hmake-$(CC) \
+- traceruntime traceprelude-$(CC) hattools
++tracer-gcc: runtime prelude-gcc pragma-gcc compiler-gcc \
++ greencard-gcc hmake-gcc \
++ traceruntime traceprelude-gcc hattools
+ timetraceprofile: timetraceruntime timetraceprelude
+
+ $(TARGETS): % : $(TARGDIR)/$(MACHINE)/%
+@@ -324,44 +324,44 @@
+ touch $(TARGDIR)/$(MACHINE)/timeprelude
+
+
+-$(TARGDIR)/$(MACHINE)/prelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/prelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) fromC relink
+- touch $(TARGDIR)/$(MACHINE)/prelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/prelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/prelude
+-$(TARGDIR)/$(MACHINE)/traceprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/traceprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=T fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=T clean all
+ cd src/prelude; $(MAKE) CFG=T relink
+- touch $(TARGDIR)/$(MACHINE)/traceprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/traceprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/traceprelude
+-$(TARGDIR)/$(MACHINE)/timeprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/timeprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=z fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=z clean all
+ cd src/prelude; $(MAKE) CFG=z relink
+- touch $(TARGDIR)/$(MACHINE)/timeprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/timeprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/timeprelude
+-$(TARGDIR)/$(MACHINE)/profprelude-$(CC): $(PRELUDEC)
++$(TARGDIR)/$(MACHINE)/profprelude-gcc: $(PRELUDEC)
+ cd src/prelude; $(MAKE) CFG=p fromC
+ cd src/prelude/$(MACHINE); $(MAKE) CFG=p clean all
+ cd src/prelude; $(MAKE) CFG=p relink
+- touch $(TARGDIR)/$(MACHINE)/profprelude-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/profprelude-gcc
+ touch $(TARGDIR)/$(MACHINE)/profprelude
+-$(TARGDIR)/$(MACHINE)/compiler-$(CC): $(COMPILERC)
++$(TARGDIR)/$(MACHINE)/compiler-gcc: $(COMPILERC)
+ cd src/compiler98; $(MAKE) fromC
+ cd src/prelude/$(MACHINE); $(MAKE) clean all # Patch machine-specific parts.
+ cd src/prelude; $(MAKE) relink
+ cd src/compiler98; $(MAKE) relink
+- touch $(TARGDIR)/$(MACHINE)/compiler-$(CC)
+-$(TARGDIR)/$(MACHINE)/greencard-$(CC): $(GREENCARDC)
++ touch $(TARGDIR)/$(MACHINE)/compiler-gcc
++$(TARGDIR)/$(MACHINE)/greencard-gcc: $(GREENCARDC)
+ cd src/greencard; $(MAKE) fromC
+- touch $(TARGDIR)/$(MACHINE)/greencard $(TARGDIR)/$(MACHINE)/greencard-$(CC)
+-$(TARGDIR)/$(MACHINE)/pragma-$(CC): script/hmake-PRAGMA.hc
++ touch $(TARGDIR)/$(MACHINE)/greencard $(TARGDIR)/$(MACHINE)/greencard-gcc
++$(TARGDIR)/$(MACHINE)/pragma-gcc: script/hmake-PRAGMA.hc
+ script/nhc98 -o $(PRAGMA) script/hmake-PRAGMA.hc
+- touch $(TARGDIR)/$(MACHINE)/pragma-$(CC)
+-$(TARGDIR)/$(MACHINE)/hmake-$(CC): $(HMAKEC)
++ touch $(TARGDIR)/$(MACHINE)/pragma-gcc
++$(TARGDIR)/$(MACHINE)/hmake-gcc: $(HMAKEC)
+ cd src/hmake; $(MAKE) fromC
+ cd src/interpreter; $(MAKE) fromC
+- touch $(TARGDIR)/$(MACHINE)/hmake-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/hmake-gcc
+
+
+ script/errnogen.c: script/GenerateErrNo.hs
diff --git a/lang/nhc98/files/patch-src::greencard::Makefile b/lang/nhc98/files/patch-src::greencard::Makefile
new file mode 100644
index 000000000000..090ba9b4bfea
--- /dev/null
+++ b/lang/nhc98/files/patch-src::greencard::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/greencard/Makefile src/greencard/Makefile
+--- src.bak/greencard/Makefile Tue May 29 16:22:46 2001
++++ src/greencard/Makefile Mon Jun 18 16:31:45 2001
+@@ -34,7 +34,7 @@
+
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+ $(TARGET): $(OBJDIR) $(OBJDIR)/GreenCard$(EXE)
+ mv $(OBJDIR)/GreenCard$(EXE) $(TARGET)
+ strip $(TARGET)
diff --git a/lang/nhc98/files/patch-src::hmake::Makefile b/lang/nhc98/files/patch-src::hmake::Makefile
new file mode 100644
index 000000000000..26c10028866e
--- /dev/null
+++ b/lang/nhc98/files/patch-src::hmake::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/hmake/Makefile src/hmake/Makefile
+--- src.bak/hmake/Makefile Tue May 29 16:29:07 2001
++++ src/hmake/Makefile Mon Jun 18 16:32:21 2001
+@@ -48,7 +48,7 @@
+ strip $@
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+ $(OBJS): $(OBJDIR)/%.$O : %.hs
+ $(HC) $(HFLAGS) -c -o $@ $<
+ $(CPPOBJS) $(OBJDIR)/Older.$O: $(OBJDIR)/%.$O : %.hs
diff --git a/lang/nhc98/files/patch-src::hp2graph::Makefile b/lang/nhc98/files/patch-src::hp2graph::Makefile
new file mode 100644
index 000000000000..218c9a0c12b3
--- /dev/null
+++ b/lang/nhc98/files/patch-src::hp2graph::Makefile
@@ -0,0 +1,12 @@
+diff -ruN src.bak/hp2graph/Makefile src/hp2graph/Makefile
+--- src.bak/hp2graph/Makefile Mon Oct 11 13:50:38 1999
++++ src/hp2graph/Makefile Mon Jun 18 16:32:04 2001
+@@ -31,7 +31,7 @@
+
+
+ $(OBJDIR):
+- mkdir -p $(OBJDIR) || /bin/true
++ mkdir -p $(OBJDIR) || /usr/bin/true
+
+ $(OBJS): $(OBJDIR)/%.o: %.c
+ $(CC) -c $(CFLAGS) -o $@ $<
diff --git a/lang/nhc98/files/patch-src::prelude::Makefile b/lang/nhc98/files/patch-src::prelude::Makefile
new file mode 100644
index 000000000000..4c18f7422a2a
--- /dev/null
+++ b/lang/nhc98/files/patch-src::prelude::Makefile
@@ -0,0 +1,24 @@
+diff -ruN src.bak/prelude/Makefile src/prelude/Makefile
+--- src.bak/prelude/Makefile Mon Jun 4 12:40:41 2001
++++ src/prelude/Makefile Mon Jun 18 16:31:24 2001
+@@ -80,7 +80,7 @@
+ mkdir -p ${OBJDIR}
+
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+
+ ifeq "${TPROF}" ""
+@@ -326,9 +326,9 @@
+
+
+ ${OBJDIR}:
+- mkdir -p ${OBJDIR} || /bin/true
++ mkdir -p ${OBJDIR} || /usr/bin/true
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+ ${ARCHIVE}: ${OBJDIR} ${OBJDIRS} ${SUBDIRSMK}
+ rm -f $@
diff --git a/lang/nhc98/files/patch-src::runtime::Makefile b/lang/nhc98/files/patch-src::runtime::Makefile
new file mode 100644
index 000000000000..46b71c9c6ad8
--- /dev/null
+++ b/lang/nhc98/files/patch-src::runtime::Makefile
@@ -0,0 +1,21 @@
+diff -ruN src.bak/runtime/Makefile src/runtime/Makefile
+--- src.bak/runtime/Makefile Thu Dec 16 11:58:42 1999
++++ src/runtime/Makefile Mon Jun 18 16:30:56 2001
+@@ -9,7 +9,7 @@
+
+ LD = ld
+ LDFLAGS = -r
+-TRUE = /bin/true
++TRUE = /usr/bin/true
+ CC = gcc
+ AR = ar
+ ARFLAGS = r
+@@ -48,7 +48,7 @@
+ mkdir -p ${OBJDIR}
+
+ ${OBJDIRS}: ${OBJDIR}/% :
+- mkdir -p $@ || /bin/true
++ mkdir -p $@ || /usr/bin/true
+
+ objdir: ${OBJDIR}
+ cd Kernel; $(MAKE) objdir
diff --git a/lang/nhc98/pkg-comment b/lang/nhc98/pkg-comment
new file mode 100644
index 000000000000..a19fd5726493
--- /dev/null
+++ b/lang/nhc98/pkg-comment
@@ -0,0 +1 @@
+A fully-fledged compiler for Haskell 98
diff --git a/lang/nhc98/pkg-descr b/lang/nhc98/pkg-descr
new file mode 100644
index 000000000000..0240db7f1c26
--- /dev/null
+++ b/lang/nhc98/pkg-descr
@@ -0,0 +1,10 @@
+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. It comes
+with extensive tool support for automatic compilation, foreign language
+interfacing, heap and time profiling, tracing, and debugging.
+
+WWW: http://www.cs.york.ac.uk/fp/nhc98/
+
+-- Oliver Braun
+obraun@informatik.unibw-muenchen.de
diff --git a/lang/nhc98/pkg-plist b/lang/nhc98/pkg-plist
new file mode 100644
index 000000000000..9f4b2f4c98f3
--- /dev/null
+++ b/lang/nhc98/pkg-plist
@@ -0,0 +1,330 @@
+bin/harch
+bin/nhc98
+bin/hmake
+bin/hi
+bin/hood
+bin/greencard-nhc98
+bin/tprofprel
+bin/hp2graph
+bin/hat-trail
+bin/hat-stack
+bin/hat-connect
+bin/hat-check
+bin/hat-observe
+bin/hat-detect
+bin/hat-checki
+bin/hat-port
+lib/nhc98/hat-trail.jar
+lib/nhc98/hood.jar
+lib/nhc98/ix86-FreeBSD/Prelude.a
+lib/nhc98/ix86-FreeBSD/Runtime.a
+lib/nhc98/ix86-FreeBSD/config
+lib/nhc98/ix86-FreeBSD/greencard-nhc98
+lib/nhc98/ix86-FreeBSD/hmake-PRAGMA
+lib/nhc98/ix86-FreeBSD/hmake.config
+lib/nhc98/ix86-FreeBSD/libdebug.a
+lib/nhc98/ix86-FreeBSD/main.o
+lib/nhc98/ix86-FreeBSD/mutator.o
+lib/nhc98/ix86-FreeBSD/mutlib.o
+lib/nhc98/ix86-FreeBSD/nhc98comp
+lib/nhc98/ix86-FreeBSD/nhc98heap
+lib/nhc98/ix86-FreeBSD/HInteractive
+lib/nhc98/ix86-FreeBSD/MkProg
+lib/nhc98/ix86-FreeBSD/Older
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-check
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-checki
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-connect
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-detect
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-observe
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-stack
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hp2graph
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Array.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/BinArray.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Binary.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Bit.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/CPUTime.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/CString.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Char.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Complex.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/DErrNo.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/DbgIface.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Directory.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Driver.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/FFI.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/GreenCard.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Haskell.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatExpressionTree.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatTrace.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/HatTrie.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Hatdetect.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Hatobserve.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/IO.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/IOExtras.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Ix.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/List.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Locale.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Maybe.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Monad.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdEval.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdGetPID.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdProfile.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdTrace.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/NonStdUnsafeCoerce.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Numeric.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Observe.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PackedString.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Prelude.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Prelude.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PreludeAll.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PrettyExp.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/PrettyLib.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Random.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Ratio.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Runtime.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/System.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Time.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/UnboxedArray.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/Warning.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/hat-port
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.T.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.p.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/libdebug.z.a
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/main.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutator.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.T.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.p.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/mutlib.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel1.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel2.z.o
+%%TRACER%%lib/nhc98/ix86-FreeBSD/tprofprel3.z.o
+include/nhc98/Array.T.hi
+include/nhc98/Array.hi
+include/nhc98/BinArray.hi
+include/nhc98/Binary.T.hi
+include/nhc98/Binary.hi
+include/nhc98/Bit.hi
+include/nhc98/CPUTime.T.hi
+include/nhc98/CPUTime.hi
+include/nhc98/Char.T.hi
+include/nhc98/Char.hi
+include/nhc98/Complex.T.hi
+include/nhc98/Complex.hi
+include/nhc98/DPrelude.hi
+include/nhc98/DbgIface.hi
+include/nhc98/DbgStub.hi
+include/nhc98/Directory.T.hi
+include/nhc98/Directory.hi
+include/nhc98/FFI.T.hi
+include/nhc98/FFI.hi
+include/nhc98/FFIBuiltin.T.hi
+include/nhc98/FFIBuiltin.hi
+include/nhc98/GreenCard.T.hi
+include/nhc98/GreenCard.gc
+include/nhc98/GreenCard.hi
+include/nhc98/Haskell.hi
+include/nhc98/HatBuiltin.hi
+include/nhc98/HsFFI.h
+include/nhc98/IO.T.hi
+include/nhc98/IO.hi
+include/nhc98/IOExtras.T.hi
+include/nhc98/IOExtras.hi
+include/nhc98/Ix.T.hi
+include/nhc98/Ix.hi
+include/nhc98/List.T.hi
+include/nhc98/List.hi
+include/nhc98/Locale.hi
+include/nhc98/Maybe.T.hi
+include/nhc98/Maybe.hi
+include/nhc98/Monad.T.hi
+include/nhc98/Monad.hi
+include/nhc98/NonStdEval.hi
+include/nhc98/NonStdGetPID.hi
+include/nhc98/NonStdProfile.hi
+include/nhc98/NonStdTrace.T.hi
+include/nhc98/NonStdTrace.hi
+include/nhc98/NonStdUnsafeCoerce.T.hi
+include/nhc98/NonStdUnsafeCoerce.hi
+include/nhc98/Numeric.T.hi
+include/nhc98/Numeric.hi
+include/nhc98/Observe.hi
+include/nhc98/PackedString.T.hi
+include/nhc98/PackedString.hi
+include/nhc98/Prelude.T.hi
+include/nhc98/Prelude.hi
+include/nhc98/PreludeBuiltin.T.hi
+include/nhc98/PreludeBuiltin.hi
+include/nhc98/Random.T.hi
+include/nhc98/Random.hi
+include/nhc98/Ratio.T.hi
+include/nhc98/Ratio.hi
+include/nhc98/System.T.hi
+include/nhc98/System.hi
+include/nhc98/Time.hi
+include/nhc98/Warning.hi
+include/nhc98/bytecode.h
+include/nhc98/bytecode_o.h
+include/nhc98/cinterface.h
+include/nhc98/codemacros.h
+include/nhc98/flt.h
+include/nhc98/greencard.h
+include/nhc98/haskell2c.h
+include/nhc98/hat.h
+include/nhc98/localmalloc.h
+include/nhc98/macros_o.h
+include/nhc98/mk.h
+include/nhc98/mkByHand.h
+include/nhc98/mkByProg.h
+include/nhc98/mutlib.h
+include/nhc98/newbytecode.h
+include/nhc98/newmacros.h
+include/nhc98/node.h
+include/nhc98/runtime.h
+include/nhc98/stableptr.h
+include/nhc98/twopass.h
+@dirrm lib/nhc98/ix86-FreeBSD
+@dirrm lib/nhc98
+@dirrm include/nhc98
+%%PORTDOCS%%share/doc/nhc98/98.html
+%%PORTDOCS%%share/doc/nhc98/CcallingHaskell.html
+%%PORTDOCS%%share/doc/nhc98/bugs.html
+%%PORTDOCS%%share/doc/nhc98/compiler-options.html
+%%PORTDOCS%%share/doc/nhc98/config.html
+%%PORTDOCS%%share/doc/nhc98/contrib.html
+%%PORTDOCS%%share/doc/nhc98/copyright.html
+%%PORTDOCS%%share/doc/nhc98/cvs.html
+%%PORTDOCS%%share/doc/nhc98/download.html
+%%PORTDOCS%%share/doc/nhc98/errmsgs.html
+%%PORTDOCS%%share/doc/nhc98/ffi.html
+%%PORTDOCS%%share/doc/nhc98/fig2.html
+%%PORTDOCS%%share/doc/nhc98/fig3.html
+%%PORTDOCS%%share/doc/nhc98/fig4.html
+%%PORTDOCS%%share/doc/nhc98/greencard-york.html
+%%PORTDOCS%%share/doc/nhc98/greencard.html
+%%PORTDOCS%%share/doc/nhc98/heapprof.html
+%%PORTDOCS%%share/doc/nhc98/history.html
+%%PORTDOCS%%share/doc/nhc98/history98.html
+%%PORTDOCS%%share/doc/nhc98/hmake.html
+%%PORTDOCS%%share/doc/nhc98/index.html
+%%PORTDOCS%%share/doc/nhc98/install.html
+%%PORTDOCS%%share/doc/nhc98/libraries.html
+%%PORTDOCS%%share/doc/nhc98/limits.html
+%%PORTDOCS%%share/doc/nhc98/limits.html.inst
+%%PORTDOCS%%share/doc/nhc98/maillist.html
+%%PORTDOCS%%share/doc/nhc98/runtime-options.html
+%%PORTDOCS%%share/doc/nhc98/status.html
+%%PORTDOCS%%share/doc/nhc98/new_tiny.gif
+%%PORTDOCS%%share/doc/nhc98/todo.html
+%%PORTDOCS%%share/doc/nhc98/tprof.html
+%%PORTDOCS%%share/doc/nhc98/tracer.html
+%%PORTDOCS%%share/doc/nhc98/windows.html
+%%PORTDOCS%%share/doc/nhc98/york-release.html
+%%PORTDOCS%%share/doc/nhc98/fig1.gif
+%%PORTDOCS%%share/doc/nhc98/nhc13.gif
+%%PORTDOCS%%share/doc/nhc98/nhc98.gif
+%%PORTDOCS%%share/doc/nhc98/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test1.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test10.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/Nhc13Test13.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test1.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test10.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test11.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test12.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test13.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test14.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test15.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test16.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test17.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test18.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test19.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test2.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test20.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test3.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test4.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test5.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test6.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test7.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test8.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc13test9.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test19.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test20.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test21.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test22.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test23.hs
+%%PORTDOCS%%share/doc/nhc98/bugs/README
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/bugs/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/examples/ZooQuiz.hs
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/examples/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/hat/browser-detail.html
+%%PORTDOCS%%share/doc/nhc98/hat/faq.html
+%%PORTDOCS%%share/doc/nhc98/hat/feature-table.html
+%%PORTDOCS%%share/doc/nhc98/hat/frejaHatHood.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/hat-trail-1.eps
+%%PORTDOCS%%share/doc/nhc98/hat/hat-trail.gif
+%%PORTDOCS%%share/doc/nhc98/hat/hat.gif
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.tex
+%%PORTDOCS%%share/doc/nhc98/hat/index.html
+%%PORTDOCS%%share/doc/nhc98/hat/limitations-detail.html
+%%PORTDOCS%%share/doc/nhc98/hat/limitations.html
+%%PORTDOCS%%share/doc/nhc98/hat/maillist.html
+%%PORTDOCS%%share/doc/nhc98/hat/old-tracing.html
+%%PORTDOCS%%share/doc/nhc98/hat/paper.dvi
+%%PORTDOCS%%share/doc/nhc98/hat/proposal.html
+%%PORTDOCS%%share/doc/nhc98/hat/tracing.html
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.pdf
+%%PORTDOCS%%share/doc/nhc98/hat/hatuser.ps
+%%PORTDOCS%%share/doc/nhc98/hat/hw01-draft.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/newhat.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/hat/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/hmake/changes.html
+%%PORTDOCS%%share/doc/nhc98/hmake/hmake.html
+%%PORTDOCS%%share/doc/nhc98/hmake/index.html
+%%PORTDOCS%%share/doc/nhc98/hmake/interactive.html
+%%PORTDOCS%%share/doc/nhc98/hmake/lineedit.html
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/hmake/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/build-system
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/index.html
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/intro
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/phases
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/implementation-notes/space-efficient
+%%PORTDOCS%%share/doc/nhc98/libs/BinArray.html
+%%PORTDOCS%%share/doc/nhc98/libs/Binary.html
+%%PORTDOCS%%share/doc/nhc98/libs/Bit.html
+%%PORTDOCS%%share/doc/nhc98/libs/OldBinary.html
+%%PORTDOCS%%share/doc/nhc98/libs/Time.html
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Entries
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Repository
+%%PORTDOCS%%share/doc/nhc98/libs/CVS/Root
+%%PORTDOCS%%share/doc/nhc98/libs/index.html
+%%PORTDOCS%%@dirrm share/doc/nhc98/bugs/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/bugs
+%%PORTDOCS%%@dirrm share/doc/nhc98/examples/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/examples
+%%PORTDOCS%%@dirrm share/doc/nhc98/hat/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/hat
+%%PORTDOCS%%@dirrm share/doc/nhc98/hmake/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/hmake
+%%PORTDOCS%%@dirrm share/doc/nhc98/implementation-notes/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/implementation-notes
+%%PORTDOCS%%@dirrm share/doc/nhc98/libs/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98/libs
+%%PORTDOCS%%@dirrm share/doc/nhc98/CVS
+%%PORTDOCS%%@dirrm share/doc/nhc98