aboutsummaryrefslogtreecommitdiff
path: root/lang/hugs
diff options
context:
space:
mode:
Diffstat (limited to 'lang/hugs')
-rw-r--r--lang/hugs/Makefile51
-rw-r--r--lang/hugs/distinfo1
-rw-r--r--lang/hugs/pkg-comment1
-rw-r--r--lang/hugs/pkg-descr16
-rw-r--r--lang/hugs/pkg-plist291
-rw-r--r--lang/hugs/scripts/configure3
6 files changed, 363 insertions, 0 deletions
diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile
new file mode 100644
index 000000000000..e5dd4c70564f
--- /dev/null
+++ b/lang/hugs/Makefile
@@ -0,0 +1,51 @@
+# New ports collection makefile for: hugs
+# Version required: 1.4
+# Date created: 22 September 1997
+# Whom: Torsten Teg Grust (Torsten.Grust@uni-konstanz.de)
+#
+# $Id$
+#
+
+DISTNAME= hugs
+PKGNAME= hugs-1.4
+CATEGORIES= lang
+MASTER_SITES= ftp://haskell.org/pub/haskell/hugs/BETA/
+
+MAINTAINER= Torsten.Grust@uni-konstanz.de
+
+WRKSRC= ${WRKDIR}/hugs/src
+
+ALL_TARGET= default
+
+# how to install a directory
+INSTALL_DIR= ${INSTALL} -d -o bin -g bin -m 755
+# where the Hugs documentation (distribution) files live
+HUGS_DOC= ${WRKSRC}/../docs
+
+MAN1= hugs.1
+
+pre-configure:
+ ${MV} ${WRKSRC}/MkInstal.in ${WRKSRC}/MkInstal.in.orig
+ ${SED} -e "s#/bin/cp#${INSTALL_DATA}#" \
+ -e "s#unix/install-sh#${INSTALL_PROGRAM}#" \
+ -e 's#$$(INSTALL) -d#${INSTALL_DIR}#' \
+ < ${WRKSRC}/MkInstal.in.orig > ${WRKSRC}/MkInstal.in
+
+post-install:
+ ${MV} ${HUGS_DOC}/hugs.1 ${HUGS_DOC}/hugs.1.orig
+ ${SED} -e "s#^\.ds LB .*#.ds LB ${PREFIX}/share/hugs#" \
+ -e "s#^\.ds BN .*#.ds BN ${PREFIX}/bin#" \
+ -e "s#Prelude\.hs#lib/&#" \
+ < ${HUGS_DOC}/hugs.1.orig > ${HUGS_DOC}/hugs.1
+ ${INSTALL_MAN} ${HUGS_DOC}/hugs.1 ${PREFIX}/man/man1
+.if !defined(NOPORTDOCS)
+ ${INSTALL_DIR} ${PREFIX}/share/doc/hugs
+ ${INSTALL_DATA} ${HUGS_DOC}/README ${PREFIX}/share/doc/hugs
+ ${INSTALL_DATA} ${HUGS_DOC}/*.html ${PREFIX}/share/doc/hugs
+.for DOC in haskell-report-1.4 haskell-library-1.4 manual tutorial-1.4
+ ${INSTALL_DIR} ${PREFIX}/share/doc/hugs/${DOC}-html
+ ${INSTALL_DATA} ${HUGS_DOC}/${DOC}-html/* ${PREFIX}/share/doc/hugs/${DOC}-html
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/lang/hugs/distinfo b/lang/hugs/distinfo
new file mode 100644
index 000000000000..0e9343ef6d46
--- /dev/null
+++ b/lang/hugs/distinfo
@@ -0,0 +1 @@
+MD5 (hugs.tar.gz) = 176ad1fc7c3c90e3f19a2d52953afa7e
diff --git a/lang/hugs/pkg-comment b/lang/hugs/pkg-comment
new file mode 100644
index 000000000000..27ff5fb892d1
--- /dev/null
+++ b/lang/hugs/pkg-comment
@@ -0,0 +1 @@
+Nottingham's and Yale's Haskell interpreter/programming environment.
diff --git a/lang/hugs/pkg-descr b/lang/hugs/pkg-descr
new file mode 100644
index 000000000000..b86fba250a7c
--- /dev/null
+++ b/lang/hugs/pkg-descr
@@ -0,0 +1,16 @@
+This is a port of Nottingham's and Yale's new release of Hugs,
+a Haskell interpreter and programming environment for developing
+Haskell programs.
+
+This release is largely conformant with Haskell 1.4, including
+monad and record syntax, newtypes, strictness annotations, and
+modules. In addition, it comes packaged with the libraries defined
+in the most recent version of the Haskell Library Report.
+
+Available documentation includes HTML versions of the "Hugs Users
+Manual", the "Haskell 1.4 Report", the "Haskell Library Report" as
+well as a "Gentle Introduction to Haskell". More online information
+is available from http://www.haskell.org.
+
+- Teggy
+Torsten.Grust@uni-konstanz.de
diff --git a/lang/hugs/pkg-plist b/lang/hugs/pkg-plist
new file mode 100644
index 000000000000..57a8e29d92f2
--- /dev/null
+++ b/lang/hugs/pkg-plist
@@ -0,0 +1,291 @@
+bin/hugs
+bin/runhugs
+man/man1/hugs.1.gz
+share/doc/hugs/README
+share/doc/hugs/graphics.html
+share/doc/hugs/haskell-library-1.4-html/array.html
+share/doc/hugs/haskell-library-1.4-html/char.html
+share/doc/hugs/haskell-library-1.4-html/complex.html
+share/doc/hugs/haskell-library-1.4-html/cputime.html
+share/doc/hugs/haskell-library-1.4-html/directory.html
+share/doc/hugs/haskell-library-1.4-html/index.html
+share/doc/hugs/haskell-library-1.4-html/introduction.html
+share/doc/hugs/haskell-library-1.4-html/io.html
+share/doc/hugs/haskell-library-1.4-html/ix.html
+share/doc/hugs/haskell-library-1.4-html/libindex.html
+share/doc/hugs/haskell-library-1.4-html/list.html
+share/doc/hugs/haskell-library-1.4-html/locale.html
+share/doc/hugs/haskell-library-1.4-html/maybe.html
+share/doc/hugs/haskell-library-1.4-html/monad.html
+share/doc/hugs/haskell-library-1.4-html/numeric.html
+share/doc/hugs/haskell-library-1.4-html/random.html
+share/doc/hugs/haskell-library-1.4-html/ratio.html
+share/doc/hugs/haskell-library-1.4-html/system.html
+share/doc/hugs/haskell-library-1.4-html/time.html
+share/doc/hugs/haskell-library-1.4-html/title.gif
+share/doc/hugs/haskell-report-1.4-html/basic.html
+share/doc/hugs/haskell-report-1.4-html/class-fig.gif
+share/doc/hugs/haskell-report-1.4-html/decls.html
+share/doc/hugs/haskell-report-1.4-html/derived.html
+share/doc/hugs/haskell-report-1.4-html/exps.html
+share/doc/hugs/haskell-report-1.4-html/haskell.html
+share/doc/hugs/haskell-report-1.4-html/index.html
+share/doc/hugs/haskell-report-1.4-html/index14.html
+share/doc/hugs/haskell-report-1.4-html/intro.html
+share/doc/hugs/haskell-report-1.4-html/io-13.html
+share/doc/hugs/haskell-report-1.4-html/lambda.gif
+share/doc/hugs/haskell-report-1.4-html/lexemes.html
+share/doc/hugs/haskell-report-1.4-html/literate.html
+share/doc/hugs/haskell-report-1.4-html/modules.html
+share/doc/hugs/haskell-report-1.4-html/pragmas.html
+share/doc/hugs/haskell-report-1.4-html/preface-13.html
+share/doc/hugs/haskell-report-1.4-html/prelude-index.html
+share/doc/hugs/haskell-report-1.4-html/standard-prelude.html
+share/doc/hugs/haskell-report-1.4-html/syntax-iso.html
+share/doc/hugs/haskell-report-1.4-html/title.gif
+share/doc/hugs/index.html
+share/doc/hugs/manual-html/back.gif
+share/doc/hugs/manual-html/contents.gif
+share/doc/hugs/manual-html/forward.gif
+share/doc/hugs/manual-html/logo.gif
+share/doc/hugs/manual-html/manual1.html
+share/doc/hugs/manual-html/manual10.html
+share/doc/hugs/manual-html/manual11.html
+share/doc/hugs/manual-html/manual12.html
+share/doc/hugs/manual-html/manual13.html
+share/doc/hugs/manual-html/manual14.html
+share/doc/hugs/manual-html/manual15.html
+share/doc/hugs/manual-html/manual16.html
+share/doc/hugs/manual-html/manual17.html
+share/doc/hugs/manual-html/manual18.html
+share/doc/hugs/manual-html/manual19.html
+share/doc/hugs/manual-html/manual2.html
+share/doc/hugs/manual-html/manual20.html
+share/doc/hugs/manual-html/manual21.html
+share/doc/hugs/manual-html/manual22.html
+share/doc/hugs/manual-html/manual23.html
+share/doc/hugs/manual-html/manual24.html
+share/doc/hugs/manual-html/manual25.html
+share/doc/hugs/manual-html/manual26.html
+share/doc/hugs/manual-html/manual27.html
+share/doc/hugs/manual-html/manual28.html
+share/doc/hugs/manual-html/manual29.html
+share/doc/hugs/manual-html/manual3.html
+share/doc/hugs/manual-html/manual30.html
+share/doc/hugs/manual-html/manual31.html
+share/doc/hugs/manual-html/manual32.html
+share/doc/hugs/manual-html/manual33.html
+share/doc/hugs/manual-html/manual34.html
+share/doc/hugs/manual-html/manual35.html
+share/doc/hugs/manual-html/manual36.html
+share/doc/hugs/manual-html/manual37.html
+share/doc/hugs/manual-html/manual38.html
+share/doc/hugs/manual-html/manual39.html
+share/doc/hugs/manual-html/manual4.html
+share/doc/hugs/manual-html/manual40.html
+share/doc/hugs/manual-html/manual41.html
+share/doc/hugs/manual-html/manual42.html
+share/doc/hugs/manual-html/manual43.html
+share/doc/hugs/manual-html/manual44.html
+share/doc/hugs/manual-html/manual45.html
+share/doc/hugs/manual-html/manual46.html
+share/doc/hugs/manual-html/manual47.html
+share/doc/hugs/manual-html/manual48.html
+share/doc/hugs/manual-html/manual49.html
+share/doc/hugs/manual-html/manual5.html
+share/doc/hugs/manual-html/manual50.html
+share/doc/hugs/manual-html/manual51.html
+share/doc/hugs/manual-html/manual52.html
+share/doc/hugs/manual-html/manual53.html
+share/doc/hugs/manual-html/manual54.html
+share/doc/hugs/manual-html/manual55.html
+share/doc/hugs/manual-html/manual56.html
+share/doc/hugs/manual-html/manual57.html
+share/doc/hugs/manual-html/manual58.html
+share/doc/hugs/manual-html/manual59.html
+share/doc/hugs/manual-html/manual6.html
+share/doc/hugs/manual-html/manual60.html
+share/doc/hugs/manual-html/manual61.html
+share/doc/hugs/manual-html/manual62.html
+share/doc/hugs/manual-html/manual63.html
+share/doc/hugs/manual-html/manual64.html
+share/doc/hugs/manual-html/manual7.html
+share/doc/hugs/manual-html/manual8.html
+share/doc/hugs/manual-html/manual9.html
+share/doc/hugs/manual-html/manual_contents.html
+share/doc/hugs/manual-html/manual_fcontents.html
+share/doc/hugs/manual-html/up.gif
+share/doc/hugs/server.html
+share/doc/hugs/tutorial-1.4-html/arrays.html
+share/doc/hugs/tutorial-1.4-html/classes.html
+share/doc/hugs/tutorial-1.4-html/end.html
+share/doc/hugs/tutorial-1.4-html/fig1.gif
+share/doc/hugs/tutorial-1.4-html/fig2.gif
+share/doc/hugs/tutorial-1.4-html/fig3.gif
+share/doc/hugs/tutorial-1.4-html/functions.html
+share/doc/hugs/tutorial-1.4-html/goodies.html
+share/doc/hugs/tutorial-1.4-html/haskell-tutorial.html
+share/doc/hugs/tutorial-1.4-html/index.html
+share/doc/hugs/tutorial-1.4-html/indextutorial.html
+share/doc/hugs/tutorial-1.4-html/intro.html
+share/doc/hugs/tutorial-1.4-html/io.html
+share/doc/hugs/tutorial-1.4-html/modules.html
+share/doc/hugs/tutorial-1.4-html/moretypes.html
+share/doc/hugs/tutorial-1.4-html/patterns.html
+share/doc/hugs/tutorial-1.4-html/pitfalls.html
+share/doc/hugs/tutorial-1.4-html/stdclasses.html
+share/doc/hugs/tutorial-1.4-html/title.gif
+share/hugs/demos/AnsiDemo.hs
+share/hugs/demos/ArrayEx.hs
+share/hugs/demos/Calendar.hs
+share/hugs/demos/CommaInt.lhs
+share/hugs/demos/Demos.hs
+share/hugs/demos/Eliza.hs
+share/hugs/demos/EvalRed.hs
+share/hugs/demos/Examples.hs
+share/hugs/demos/Expr.hs
+share/hugs/demos/FastSort.hs
+share/hugs/demos/Gofer.hs
+share/hugs/demos/Lattice.hs
+share/hugs/demos/Ldfs.hs
+share/hugs/demos/Literate.lhs
+share/hugs/demos/Matrix.hs
+share/hugs/demos/Mersenne.hs
+share/hugs/demos/Minsrand.hs
+share/hugs/demos/Queens.hs
+share/hugs/demos/Random.hs
+share/hugs/demos/Say.hs
+share/hugs/demos/Stack.hs
+share/hugs/demos/Tree.hs
+share/hugs/demos/cgi/Assoc.hs
+share/hugs/demos/cgi/CgiOut.hs
+share/hugs/demos/cgi/Common.hs
+share/hugs/demos/cgi/Counter.hs
+share/hugs/demos/cgi/Demos.hs
+share/hugs/demos/cgi/DownloadPapers.hs
+share/hugs/demos/cgi/Greetings.hs
+share/hugs/demos/cgi/HTML.hs
+share/hugs/demos/cgi/HTMLWizard.hs
+share/hugs/demos/cgi/Mime.hs
+share/hugs/demos/cgi/Parsing.hs
+share/hugs/demos/cgi/Pretty.hs
+share/hugs/demos/cgi/PrettyHTML.hs
+share/hugs/demos/cgi/README
+share/hugs/demos/cgi/TextPlain.hs
+share/hugs/demos/cgi/UrlEncoded.hs
+share/hugs/demos/cgi/Wrapper.hs
+share/hugs/demos/cgi/counter.cgi
+share/hugs/demos/cgi/download_papers.cgi
+share/hugs/demos/cgi/envpassed.cgi
+share/hugs/demos/cgi/greetings.cgi
+share/hugs/demos/cgi/greetings.txt
+share/hugs/demos/cgi/hello_HTML.cgi
+share/hugs/demos/cgi/hello_plain.cgi
+share/hugs/demos/prolog/AndorraEngine.hs
+share/hugs/demos/prolog/CombParse.hs
+share/hugs/demos/prolog/Main.hs
+share/hugs/demos/prolog/Prolog.hs
+share/hugs/demos/prolog/PureEngine.hs
+share/hugs/demos/prolog/StackEngine.hs
+share/hugs/demos/prolog/Subst.hs
+share/hugs/demos/prolog/readme
+share/hugs/demos/prolog/stdlib
+share/hugs/lib/Array.hs
+share/hugs/lib/Char.hs
+share/hugs/lib/Complex.hs
+share/hugs/lib/Haskore/README-haskore.txt
+share/hugs/lib/Haskore/demos/ChildSong6.lhs
+share/hugs/lib/Haskore/demos/HaskoreExamples.lhs
+share/hugs/lib/Haskore/demos/SelfSim.lhs
+share/hugs/lib/Haskore/docs/basics.html
+share/hugs/lib/Haskore/docs/childsong6.html
+share/hugs/lib/Haskore/docs/chords.html
+share/hugs/lib/Haskore/docs/equiv.gif
+share/hugs/lib/Haskore/docs/equiv.html
+share/hugs/lib/Haskore/docs/generalmidi.html
+share/hugs/lib/Haskore/docs/haskore.gif
+share/hugs/lib/Haskore/docs/haskore.html
+share/hugs/lib/Haskore/docs/haskoreexamples.html
+share/hugs/lib/Haskore/docs/hasktomidi.html
+share/hugs/lib/Haskore/docs/index.html
+share/hugs/lib/Haskore/docs/intro.html
+share/hugs/lib/Haskore/docs/performance.html
+share/hugs/lib/Haskore/docs/poly.gif
+share/hugs/lib/Haskore/docs/related.html
+share/hugs/lib/Haskore/docs/selfsim.html
+share/hugs/lib/Haskore/docs/testhaskore.html
+share/hugs/lib/Haskore/docs/tutindex.html
+share/hugs/lib/Haskore/docs/tutorial.html
+share/hugs/lib/Haskore/src/BasicHaskToMidi.lhs
+share/hugs/lib/Haskore/src/BasicMidifile.lhs
+share/hugs/lib/Haskore/src/Basics.lhs
+share/hugs/lib/Haskore/src/Chords.lhs
+share/hugs/lib/Haskore/src/Fractals.hs
+share/hugs/lib/Haskore/src/GeneralMidi.lhs
+share/hugs/lib/Haskore/src/HaskToMidi.lhs
+share/hugs/lib/Haskore/src/HaskoreLoader.lhs
+share/hugs/lib/Haskore/src/HaskoreUtils.hs
+share/hugs/lib/Haskore/src/MidiFile.lhs
+share/hugs/lib/Haskore/src/Monads.hs
+share/hugs/lib/Haskore/src/Performance.lhs
+share/hugs/lib/Haskore/src/README-Haskore-src.txt
+share/hugs/lib/Haskore/src/TestHaskore.lhs
+share/hugs/lib/IO.hs
+share/hugs/lib/Ix.hs
+share/hugs/lib/List.hs
+share/hugs/lib/Maybe.hs
+share/hugs/lib/Monad.hs
+share/hugs/lib/Numeric.hs
+share/hugs/lib/Prelude.hs
+share/hugs/lib/Random.hs
+share/hugs/lib/Ratio.hs
+share/hugs/lib/System.hs
+share/hugs/lib/exts/Addr.hs
+share/hugs/lib/exts/Bits.hs
+share/hugs/lib/exts/Channel.lhs
+share/hugs/lib/exts/ChannelVar.lhs
+share/hugs/lib/exts/ConcBase.hs
+share/hugs/lib/exts/Concurrent.lhs
+share/hugs/lib/exts/IOExts.hs
+share/hugs/lib/exts/Int.hs
+share/hugs/lib/exts/LazyST.hs
+share/hugs/lib/exts/ST.hs
+share/hugs/lib/exts/STBase.hs
+share/hugs/lib/exts/SampleVar.lhs
+share/hugs/lib/exts/Semaphore.lhs
+share/hugs/lib/exts/Word.hs
+share/hugs/lib/hugs/AnsiInteract.hs
+share/hugs/lib/hugs/AnsiScreen.hs
+share/hugs/lib/hugs/CVHAssert.hs
+share/hugs/lib/hugs/Dynamic.hs
+share/hugs/lib/hugs/GenericPrint.hs
+share/hugs/lib/hugs/Graphics.hs
+share/hugs/lib/hugs/Haskore.hs
+share/hugs/lib/hugs/HugsInternals.hs
+share/hugs/lib/hugs/HugsLibs.hs
+share/hugs/lib/hugs/IOExtensions.hs
+share/hugs/lib/hugs/Interact.hs
+share/hugs/lib/hugs/ListUtils.hs
+share/hugs/lib/hugs/Number.hs
+share/hugs/lib/hugs/ParseLib.hs
+share/hugs/lib/hugs/Pretty.lhs
+share/hugs/lib/hugs/Sequence.hs
+share/hugs/lib/hugs/StdLibs.hs
+share/hugs/lib/hugs/Trace.hs
+share/hugs/lib/hugs/Trex.hs
+@dirrm share/hugs/lib/hugs
+@dirrm share/hugs/lib/exts
+@dirrm share/hugs/lib/Haskore/demos
+@dirrm share/hugs/lib/Haskore/docs
+@dirrm share/hugs/lib/Haskore/src
+@dirrm share/hugs/lib/Haskore
+@dirrm share/hugs/lib
+@dirrm share/hugs/demos/prolog
+@dirrm share/hugs/demos/cgi
+@dirrm share/hugs/demos
+@dirrm share/hugs
+@dirrm share/doc/hugs/haskell-report-1.4-html
+@dirrm share/doc/hugs/haskell-library-1.4-html
+@dirrm share/doc/hugs/manual-html
+@dirrm share/doc/hugs/tutorial-1.4-html
+@dirrm share/doc/hugs
diff --git a/lang/hugs/scripts/configure b/lang/hugs/scripts/configure
new file mode 100644
index 000000000000..90e708646cc4
--- /dev/null
+++ b/lang/hugs/scripts/configure
@@ -0,0 +1,3 @@
+#! /bin/sh
+cd ${WRKSRC}/unix
+CFLAGS=-O2 ./configure --with-readline