aboutsummaryrefslogtreecommitdiff
path: root/lang/nhc98
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2003-03-23 22:31:20 +0000
committerOliver Braun <obraun@FreeBSD.org>2003-03-23 22:31:20 +0000
commite4b3f02906b5cf7bfcba83ae0e512cda113af344 (patch)
tree6b8e03455c517358c817c694f4094af93c1289c7 /lang/nhc98
parent3db720224b19b75aa205e381897785b3633d7761 (diff)
downloadports-e4b3f02906b5cf7bfcba83ae0e512cda113af344.tar.gz
ports-e4b3f02906b5cf7bfcba83ae0e512cda113af344.zip
Notes
Diffstat (limited to 'lang/nhc98')
-rw-r--r--lang/nhc98/Makefile9
-rw-r--r--lang/nhc98/distinfo3
-rw-r--r--lang/nhc98/files/patch-Makefile46
-rw-r--r--lang/nhc98/pkg-plist119
4 files changed, 136 insertions, 41 deletions
diff --git a/lang/nhc98/Makefile b/lang/nhc98/Makefile
index 99538fcb6829..6feef1f75b52 100644
--- a/lang/nhc98/Makefile
+++ b/lang/nhc98/Makefile
@@ -5,16 +5,12 @@
# $FreeBSD$
PORTNAME= nhc98
-PORTVERSION= 1.14a
-PORTREVISION= 1
+PORTVERSION= 1.16
CATEGORIES= lang haskell
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/${PORTNAME}/
DISTNAME= ${PORTNAME}src-${PORTVERSION}
DIST_SUBDIR= nhc98
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= patch-1.14-Time
-
MAINTAINER= obraun@FreeBSD.org
COMMENT= A fully-fledged compiler for Haskell 98
@@ -68,9 +64,6 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/man/nhc98.1.fix ${PREFIX}/man/man1/nhc98.1
${RM} ${WRKSRC}/man/nhc98.1.fix
.if !defined(NOPORTDOCS)
-.for ending in aux log
- ${RM} ${PREFIX}/share/doc/nhc98/hat/tutorial1.${ending}
-.endfor
.for ending in aux log out toc
${RM} ${PREFIX}/share/doc/nhc98/hat/hatuser.${ending}
.endfor
diff --git a/lang/nhc98/distinfo b/lang/nhc98/distinfo
index 8d846240cd3c..40ce5fbeecaa 100644
--- a/lang/nhc98/distinfo
+++ b/lang/nhc98/distinfo
@@ -1,2 +1 @@
-MD5 (nhc98/nhc98src-1.14a.tar.gz) = 6d72bb5a931a31d3ac2311f4fd1e3f6b
-MD5 (nhc98/patch-1.14-Time) = ac5f58be77801e53f5de15b5888a9e05
+MD5 (nhc98/nhc98src-1.16.tar.gz) = 2cd04f83ea9c02f4188ec0d6a8035c17
diff --git a/lang/nhc98/files/patch-Makefile b/lang/nhc98/files/patch-Makefile
index 944bdf4a06de..66321b3206df 100644
--- a/lang/nhc98/files/patch-Makefile
+++ b/lang/nhc98/files/patch-Makefile
@@ -1,9 +1,9 @@
---- Makefile.orig Fri Jun 14 18:23:12 2002
-+++ Makefile Fri Jun 14 18:24:00 2002
-@@ -141,15 +141,15 @@
+--- Makefile.orig Tue Mar 11 10:20:35 2003
++++ Makefile Tue Mar 11 10:21:23 2003
+@@ -155,14 +155,14 @@
TARGDIR= targets
- TARGETS= runtime prelude greencard hp2graph hattools \
+ TARGETS= runtime prelude libraries greencard hp2graph hattools \
- profruntime profprelude profprelude-$(CC) \
- timeruntime timeprelude timeprelude-$(CC) \
+ profruntime profprelude profprelude-gcc \
@@ -13,28 +13,27 @@
- 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) libraries-$(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 \
- hat-nhc hat-ghc \
-- prelude-$(CC) pragma-$(CC)
-+ prelude-gcc pragma-gcc
++ prelude-gcc pragma-gcc libraries-gcc \
+ hat-nhc hat-ghc hat-trans-ghc hat-trans-nhc hat-lib-ghc hat-lib-nhc \
+ hat-tools-ghc hat-tools-nhc
- .PHONY: default basic all tracer compiler help config install hat hattools
-
-@@ -183,8 +183,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
+@@ -203,8 +203,8 @@
+ libraries
+ basic-ghc: $(PRAGMA) runtime hmake-ghc greencard-ghc compiler-ghc prelude \
+ libraries
-basic-$(CC): runtime prelude-$(CC) pragma-$(CC) compiler-$(CC) \
-- greencard-$(CC) hmake-$(CC)
+- greencard-$(CC) hmake-$(CC) libraries-$(CC)
+basic-gcc: runtime prelude-gcc pragma-gcc compiler-gcc \
-+ greencard-gcc hmake-gcc
++ greencard-gcc hmake-gcc libraries-gcc
all-$(BUILDCOMP): basic-$(BUILDCOMP) heapprofile timeprofile #tracer #hoodui
-@@ -204,9 +204,9 @@
+@@ -224,9 +224,9 @@
compiler-ghc traceruntime traceprelude hattools hat-ghc
tracer-hbc: $(PRAGMA) runtime hmake-hbc greencard-hbc \
compiler-hbc traceruntime traceprelude hattools
@@ -47,7 +46,7 @@
timetraceprofile: timetraceruntime timetraceprelude
$(TARGETS): % : $(TARGDIR)/$(MACHINE)/%
-@@ -328,44 +328,44 @@
+@@ -328,47 +328,47 @@
touch $(TARGDIR)/$(MACHINE)/timeprelude
@@ -60,7 +59,7 @@
-$(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/$(MACHINE)/NHC; $(MAKE) CFG=T clean all
cd src/prelude; $(MAKE) CFG=T relink
- touch $(TARGDIR)/$(MACHINE)/traceprelude-$(CC)
+ touch $(TARGDIR)/$(MACHINE)/traceprelude-gcc
@@ -68,7 +67,7 @@
-$(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/$(MACHINE)/NHC; $(MAKE) CFG=z clean all
cd src/prelude; $(MAKE) CFG=z relink
- touch $(TARGDIR)/$(MACHINE)/timeprelude-$(CC)
+ touch $(TARGDIR)/$(MACHINE)/timeprelude-gcc
@@ -76,7 +75,7 @@
-$(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/$(MACHINE)/NHC; $(MAKE) CFG=p clean all
cd src/prelude; $(MAKE) CFG=p relink
- touch $(TARGDIR)/$(MACHINE)/profprelude-$(CC)
+ touch $(TARGDIR)/$(MACHINE)/profprelude-gcc
@@ -84,7 +83,7 @@
-$(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/$(MACHINE)/NHC; $(MAKE) clean all # Patch machine-specific parts.
cd src/prelude; $(MAKE) relink
cd src/compiler98; $(MAKE) relink
- touch $(TARGDIR)/$(MACHINE)/compiler-$(CC)
@@ -104,7 +103,12 @@
cd src/hmake; $(MAKE) fromC config
cd src/interpreter; $(MAKE) fromC
- touch $(TARGDIR)/$(MACHINE)/hmake-$(CC)
+-$(TARGDIR)/$(MACHINE)/libraries-$(CC): $(LIBRARIES)
+ touch $(TARGDIR)/$(MACHINE)/hmake-gcc
++$(TARGDIR)/$(MACHINE)/libraries-gcc: $(LIBRARIES)
+ cd src/libraries/base; $(MAKE) -f Makefile.nhc98 fromC
+- touch $(TARGDIR)/$(MACHINE)/libraries-$(CC)
++ touch $(TARGDIR)/$(MACHINE)/libraries-gcc
script/errnogen.c: script/GenerateErrNo.hs
diff --git a/lang/nhc98/pkg-plist b/lang/nhc98/pkg-plist
index b435ec5be4af..8cbd20ede3a2 100644
--- a/lang/nhc98/pkg-plist
+++ b/lang/nhc98/pkg-plist
@@ -9,10 +9,7 @@ bin/tprofprel
bin/hp2graph
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
@@ -25,19 +22,14 @@ 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
@@ -56,7 +48,6 @@ 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
@@ -92,6 +83,84 @@ include/nhc98/node.h
include/nhc98/runtime.h
include/nhc98/stableptr.h
include/nhc98/twopass.h
+include/nhc98/NHC/BinArray.hi
+include/nhc98/NHC/Binary.hi
+include/nhc98/NHC/Bit.hi
+include/nhc98/NHC/FFI.hi
+include/nhc98/NHC/GreenCard.gc
+include/nhc98/NHC/GreenCard.hi
+include/nhc98/NHC/IOExtras.hi
+include/nhc98/NHC/Internal.hi
+include/nhc98/NHC/Observe.hi
+include/nhc98/NHC/PackedString.hi
+include/nhc98/NHC/Prelude.hi
+include/nhc98/base/Control/Arrow.hi
+include/nhc98/base/Control/Monad/Fix.hi
+include/nhc98/base/Control/Monad/Identity.hi
+include/nhc98/base/Control/Monad/Trans.hi
+include/nhc98/base/Control/Monad.hi
+include/nhc98/base/Data/Array.hi
+include/nhc98/base/Data/Bits.hi
+include/nhc98/base/Data/Bool.hi
+include/nhc98/base/Data/Char.hi
+include/nhc98/base/Data/Complex.hi
+include/nhc98/base/Data/Dynamic.hi
+include/nhc98/base/Data/Either.hi
+include/nhc98/base/Data/FiniteMap.hi
+include/nhc98/base/Data/IORef.hi
+include/nhc98/base/Data/Int.hi
+include/nhc98/base/Data/Ix.hi
+include/nhc98/base/Data/List.hi
+include/nhc98/base/Data/Maybe.hi
+include/nhc98/base/Data/PackedString.hi
+include/nhc98/base/Data/Ratio.hi
+include/nhc98/base/Data/Set.hi
+include/nhc98/base/Data/Tuple.hi
+include/nhc98/base/Data/Word.hi
+include/nhc98/base/Debug/Trace.hi
+include/nhc98/base/Foreign/C/Error.hi
+include/nhc98/base/Foreign/C/String.hi
+include/nhc98/base/Foreign/C/Types.hi
+include/nhc98/base/Foreign/C/TypesISO.hi
+include/nhc98/base/Foreign/C.hi
+include/nhc98/base/Foreign/ForeignPtr.hi
+include/nhc98/base/Foreign/Marshal/Alloc.hi
+include/nhc98/base/Foreign/Marshal/Array.hi
+include/nhc98/base/Foreign/Marshal/Error.hi
+include/nhc98/base/Foreign/Marshal/Pool.hi
+include/nhc98/base/Foreign/Marshal/Utils.hi
+include/nhc98/base/Foreign/Marshal.hi
+include/nhc98/base/Foreign/Ptr.hi
+include/nhc98/base/Foreign/StablePtr.hi
+include/nhc98/base/Foreign/Storable.hi
+include/nhc98/base/Foreign.hi
+include/nhc98/base/System/Cmd.hi
+include/nhc98/base/System/Console/GetOpt.hi
+include/nhc98/base/System/Directory.hi
+include/nhc98/base/System/Environment.hi
+include/nhc98/base/System/Exit.hi
+include/nhc98/base/System/IO/Error.hi
+include/nhc98/base/System/IO/Unsafe.hi
+include/nhc98/base/System/IO.hi
+include/nhc98/base/System/Info.hi
+include/nhc98/base/System/Locale.hi
+include/nhc98/base/System/Mem.hi
+include/nhc98/base/System/Random.hi
+include/nhc98/base/Text/Html/BlockTable.hi
+include/nhc98/base/Text/Html.hi
+include/nhc98/base/Text/ParserCombinators/Parsec/Char.hi
+include/nhc98/base/Text/ParserCombinators/Parsec/Combinator.hi
+include/nhc98/base/Text/ParserCombinators/Parsec/Error.hi
+include/nhc98/base/Text/ParserCombinators/Parsec/Expr.hi
+include/nhc98/base/Text/ParserCombinators/Parsec/Perm.hi
+include/nhc98/base/Text/ParserCombinators/Parsec/Pos.hi
+include/nhc98/base/Text/ParserCombinators/Parsec/Prim.hi
+include/nhc98/base/Text/ParserCombinators/Parsec.hi
+include/nhc98/base/Text/PrettyPrint/HughesPJ.hi
+include/nhc98/base/Text/PrettyPrint.hi
+include/nhc98/base/Text/Read.hi
+include/nhc98/base/Text/Show/Functions.hi
+include/nhc98/base/Text/Show.hi
lib/nhc98/hood.jar
lib/nhc98/ix86-FreeBSD/Array.z.a
lib/nhc98/ix86-FreeBSD/BinArray.z.a
@@ -139,6 +208,7 @@ lib/nhc98/ix86-FreeBSD/config
lib/nhc98/ix86-FreeBSD/greencard-nhc98
lib/nhc98/ix86-FreeBSD/hmake-PRAGMA
lib/nhc98/ix86-FreeBSD/hp2graph
+lib/nhc98/ix86-FreeBSD/libHSbase.a
lib/nhc98/ix86-FreeBSD/main.o
lib/nhc98/ix86-FreeBSD/main.p.o
lib/nhc98/ix86-FreeBSD/main.z.o
@@ -225,22 +295,29 @@ lib/hmake/ix86-FreeBSD/hmakerc
%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test22.hs
%%PORTDOCS%%share/doc/nhc98/bugs/nhc98test23.hs
%%PORTDOCS%%share/doc/nhc98/examples/ZooQuiz.hs
+%%PORTDOCS%%share/doc/nhc98/hat/.xvpics/hat.bmp
+%%PORTDOCS%%share/doc/nhc98/hat/.xvpics/hat.png
%%PORTDOCS%%share/doc/nhc98/hat/BadInsort.hs
%%PORTDOCS%%share/doc/nhc98/hat/Insort.hs
+%%PORTDOCS%%share/doc/nhc98/hat/afp2002.ps.gz
%%PORTDOCS%%share/doc/nhc98/hat/browser-detail.html
%%PORTDOCS%%share/doc/nhc98/hat/bugs-tools.html
%%PORTDOCS%%share/doc/nhc98/hat/bugs.html
%%PORTDOCS%%share/doc/nhc98/hat/config.html
%%PORTDOCS%%share/doc/nhc98/hat/copyright.html
+%%PORTDOCS%%share/doc/nhc98/hat/cvs.html
%%PORTDOCS%%share/doc/nhc98/hat/download.html
%%PORTDOCS%%share/doc/nhc98/hat/faq.html
%%PORTDOCS%%share/doc/nhc98/hat/feature-table.html
%%PORTDOCS%%share/doc/nhc98/hat/fest-0202.bugs
%%PORTDOCS%%share/doc/nhc98/hat/frejaHatHood.ps.gz
%%PORTDOCS%%share/doc/nhc98/hat/hat-reference.tex
+%%PORTDOCS%%share/doc/nhc98/hat/hat-tools.html
+%%PORTDOCS%%share/doc/nhc98/hat/hat-trans.html
%%PORTDOCS%%share/doc/nhc98/hat/hat-trail-1.eps
%%PORTDOCS%%share/doc/nhc98/hat/hat-trail-1.pdf
%%PORTDOCS%%share/doc/nhc98/hat/hat-trail.gif
+%%PORTDOCS%%share/doc/nhc98/hat/hat.bmp
%%PORTDOCS%%share/doc/nhc98/hat/hat.gif
%%PORTDOCS%%share/doc/nhc98/hat/hatuser-old.html
%%PORTDOCS%%share/doc/nhc98/hat/hatuser.dvi
@@ -250,6 +327,7 @@ lib/hmake/ix86-FreeBSD/hmakerc
%%PORTDOCS%%share/doc/nhc98/hat/hatuser.tex
%%PORTDOCS%%share/doc/nhc98/hat/hatuser001.gif
%%PORTDOCS%%share/doc/nhc98/hat/hw01-draft.ps.gz
+%%PORTDOCS%%share/doc/nhc98/hat/ifl2002.ps.gz
%%PORTDOCS%%share/doc/nhc98/hat/index.html
%%PORTDOCS%%share/doc/nhc98/hat/install.html
%%PORTDOCS%%share/doc/nhc98/hat/libraries.html
@@ -263,14 +341,16 @@ lib/hmake/ix86-FreeBSD/hmakerc
%%PORTDOCS%%share/doc/nhc98/hat/publications.html
%%PORTDOCS%%share/doc/nhc98/hat/requirements.html
%%PORTDOCS%%share/doc/nhc98/hat/status.html
+%%PORTDOCS%%share/doc/nhc98/hat/todo.html
%%PORTDOCS%%share/doc/nhc98/hat/toolkitThesis.ps.gz
%%PORTDOCS%%share/doc/nhc98/hat/tracing.html
-%%PORTDOCS%%share/doc/nhc98/hat/tutorial1.dvi
%%PORTDOCS%%share/doc/nhc98/hat/tutorial1.html
%%PORTDOCS%%share/doc/nhc98/hat/tutorial1.hva
%%PORTDOCS%%share/doc/nhc98/hat/tutorial1.pdf
%%PORTDOCS%%share/doc/nhc98/hat/tutorial1.ps
%%PORTDOCS%%share/doc/nhc98/hat/tutorial1.tex
+%%PORTDOCS%%share/doc/nhc98/hat/tutorial1-old.html
+%%PORTDOCS%%share/doc/nhc98/hmake/bugs.html
%%PORTDOCS%%share/doc/nhc98/hmake/changes.html
%%PORTDOCS%%share/doc/nhc98/hmake/hi-commands.html
%%PORTDOCS%%share/doc/nhc98/hmake/hmake-config.html
@@ -294,11 +374,30 @@ lib/hmake/ix86-FreeBSD/hmakerc
%%PORTDOCS%%share/doc/nhc98/libs/index.html
%%PORTDOCS%%@dirrm share/doc/nhc98/bugs
%%PORTDOCS%%@dirrm share/doc/nhc98/examples
+%%PORTDOCS%%@dirrm share/doc/nhc98/hat/.xvpics
%%PORTDOCS%%@dirrm share/doc/nhc98/hat
%%PORTDOCS%%@dirrm share/doc/nhc98/hmake
%%PORTDOCS%%@dirrm share/doc/nhc98/implementation-notes
%%PORTDOCS%%@dirrm share/doc/nhc98/libs
%%PORTDOCS%%@dirrm share/doc/nhc98
+@dirrm include/nhc98/base/Control/Monad
+@dirrm include/nhc98/base/Control
+@dirrm include/nhc98/base/Data
+@dirrm include/nhc98/base/Debug
+@dirrm include/nhc98/base/Foreign/C
+@dirrm include/nhc98/base/Foreign/Marshal
+@dirrm include/nhc98/base/Foreign
+@dirrm include/nhc98/base/System/Console
+@dirrm include/nhc98/base/System/IO
+@dirrm include/nhc98/base/System
+@dirrm include/nhc98/base/Text/Html
+@dirrm include/nhc98/base/Text/ParserCombinators/Parsec
+@dirrm include/nhc98/base/Text/ParserCombinators
+@dirrm include/nhc98/base/Text/PrettyPrint
+@dirrm include/nhc98/base/Text/Show
+@dirrm include/nhc98/base/Text
+@dirrm include/nhc98/base
+@dirrm include/nhc98/NHC
@dirrm include/nhc98
@dirrm lib/hmake/ix86-FreeBSD
@dirrm lib/hmake