1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Remove some outdated Haskell ports

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2014-01-09 21:45:15 +00:00
parent a5a89803b9
commit fbafb287b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=339290
29 changed files with 4 additions and 756 deletions

4
MOVED
View File

@ -5367,3 +5367,7 @@ www/qt4-webkit|www/webkit-qt4|2014-01-06|Renamed to unify with Qt 5
x11/qt4-opengl|graphics/qt4-opengl|2014-01-06|Moved to unify with Qt 5
graphics/wings-devel|graphics/wings|2014-01-07|Obsoleted by the main port
devel/llvm|devel/llvm32|2014-01-08|Has expired: Migrate to devel/llvm32 or newer
devel/hs-hat||2014-01-09|Upstream has vanished
devel/hs-hdoc||2014-01-09|Removed
devel/hs-idoc||2014-01-09|Removed
x11-toolkits/hs-frantk||2014-01-09|Outdated and bitrotted

View File

@ -754,8 +754,6 @@
SUBDIR += hs-haskell-src-exts
SUBDIR += hs-hasktags
SUBDIR += hs-hastache
SUBDIR += hs-hat
SUBDIR += hs-hdoc
SUBDIR += hs-hinotify
SUBDIR += hs-hint
SUBDIR += hs-hlibev
@ -764,7 +762,6 @@
SUBDIR += hs-hslogger
SUBDIR += hs-hspec
SUBDIR += hs-hspec-expectations
SUBDIR += hs-idoc
SUBDIR += hs-kqueue
SUBDIR += hs-language-c
SUBDIR += hs-language-javascript

View File

@ -1,128 +0,0 @@
# Created by: Gabor Pali <pgj@FreeBSD.org>
# $FreeBSD$
PORTNAME= hat
PORTVERSION= 2.06
PORTREVISION= 1
CATEGORIES= devel haskell
MASTER_SITES= ftp://ftp.cs.york.ac.uk/pub/haskell/${PORTNAME}/
PKGNAMEPREFIX= hs-
MAINTAINER= haskell@FreeBSD.org
COMMENT= Source-level tracer for Haskell 98
USE_GMAKE= yes
HAS_CONFIGURE= yes
USE_GNOME= glib12
OPTIONS_SINGLE= SG1
OPTIONS_SINGLE_SG1= GHC NHC98
GHC_DESC= GHC support
NHC98_DESC= NHC98 support
OPTIONS_DEFAULT= NHC98
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNHC98} && ${ARCH} == "amd64"
IGNORE= is not supported on AMD64 by NHC98.
.endif
.if ${PORT_OPTIONS:MGHC}
IGNORE= is only supported by NHC98. Please (re)run 'make config' and choose NHC98
.endif
.if ${ARCH} == "i386"
ARCHITECTURE=ix86
.elif ${ARCH} == "amd64"
ARCHITECTURE=amd64
.else
IGNORE= is not supported on your architecture as there is no compiler for it
.endif
PLIST_SUB+= ARCH=${ARCHITECTURE}
.if ${PORT_OPTIONS:MNHC98}
BUILD_DEPENDS+= nhc98:${PORTSDIR}/lang/nhc98
RUN_DEPENDS= nhc98:${PORTSDIR}/lang/nhc98
PKGNAMESUFFIX= -nhc98
.endif
.if ${PORT_OPTIONS:MGHC}
BUILD_DEPENDS+= hs-hmake>=3.0:${PORTSDIR}/devel/hs-hmake \
ghc:${PORTSDIR}/lang/ghc
RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
PKGNAMESUFFIX= -ghc
.endif
.if ${PORT_OPTIONS:MNHC98}
ALL_TARGET= hat-nhc
ALL_TARGET+= hat-lib-nhc
.endif
.if ${PORT_OPTIONS:MGHC}
ALL_TARGET= hat-ghc
ALL_TARGET+= hat-lib-ghc
.endif
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if ${PORT_OPTIONS:MNHC98}
PLIST_SUB+= NHC98=""
PLIST_SUB+= GHC="@comment "
.endif
.if ${PORT_OPTIONS:MGHC}
GHC_VERSION= 6.10.4
PLIST_SUB+= NHC98="@comment "
PLIST_SUB+= GHC=""
PLIST_SUB+= GHC_VER="608"
PLIST_SUB+= GHC_VERSION=${GHC_VERSION}
.endif
CONFIGURE_ARGS= --prefix=${PREFIX} --libdir=${PREFIX}/lib
.if ${PORT_OPTIONS:MNHC98}
CONFIGURE_ARGS+= --buildwith=nhc98
.endif
.if ${PORT_OPTIONS:MGHC}
CONFIGURE_ARGS+= --buildwith=ghc
.endif
.if !defined(NOPORTDOCS)
CONFIGURE_ARGS+= --docdir=${DOCSDIR} +docs
PORTDOCS= *
.endif
MAN1= black-hat.1 hat-anim.1 hat-cover.1 hat-delta.1 hat-detect.1 hat-nonterm.1 hat-observe.1 \
hat-stack.1 hat-trail.1 hat-trans.1 pretty-hat.1
pre-everything::
@${ECHO_CMD} ""
.if ${PORT_OPTIONS:MGHC}
@${ECHO_CMD} " HAT will be built and installed with ghc."
@${ECHO_CMD} " Define NHC98 to install with nhc98."
.endif
.if ${PORT_OPTIONS:MNHC98}
@${ECHO_CMD} " HAT will be built and installed with nhc98."
@${ECHO_CMD} " Define GHC to install with ghc."
.endif
@${ECHO_CMD} ""
post-patch:
.if ${PORT_OPTIONS:MNHC98}
@${REINPLACE_CMD} -e "s/-package containers//" ${WRKSRC}/src/tools/Makefile
.endif
post-install:
.if ${PORT_OPTIONS:MGHC}
@${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
.endif
@${INSTALL_DATA} ${WRKSRC}/src/lib/hat.cabal \
${PREFIX}/lib/${ARCHITECTURE}-FreeBSD
@${RM} -rf ${PREFIX}/share/doc/hat/private
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (hat-2.06.tar.gz) = ce8d8f5831da5bd1968b00cd207f521f76094f90f4aea3389923c6c24b5ae6ab
SIZE (hat-2.06.tar.gz) = 1363936

View File

@ -1,13 +0,0 @@
--- script/harch.orig Mon May 27 10:30:55 2002
+++ script/harch Mon May 27 10:31:11 2002
@@ -13,8 +13,8 @@
if uname >/dev/null 2>&1
then
- if uname -p >/dev/null 2>&1
- then PROCESSOR=`uname -p`
+ if uname -m >/dev/null 2>&1
+ then PROCESSOR=`uname -m`
case "$PROCESSOR" in
unknown|*\ *)
PROCESSOR=`uname -m`

View File

@ -1,7 +0,0 @@
Hat is a source-level tracer for Haskell 98, the standard lazy functional
programming language. Hat is a tool that gives the user access to otherwise
invisible information about a computation.
Hat works with both ghc and nhc98.
WWW: http://www.haskell.org/hat/

View File

@ -1,136 +0,0 @@
bin/black-hat
bin/hat-anim
bin/hat-check
bin/hat-cover
bin/hat-delta
bin/hat-detect
bin/hat-explore
bin/hat-graph
bin/hat-nonterm
bin/hat-observe
bin/hat-stack
bin/hat-trail
bin/hat-trans
bin/hat-view
bin/pretty-hat
include/hat-%%PORTVERSION%%/Array.hx
include/hat-%%PORTVERSION%%/CPUTime.hx
include/hat-%%PORTVERSION%%/Char.hx
include/hat-%%PORTVERSION%%/Complex.hx
include/hat-%%PORTVERSION%%/Directory.hx
include/hat-%%PORTVERSION%%/DirectoryBuiltin.hx
include/hat-%%PORTVERSION%%/DirectoryBuiltinTypes.hx
include/hat-%%PORTVERSION%%/IO.hx
include/hat-%%PORTVERSION%%/IOBuiltin.hx
include/hat-%%PORTVERSION%%/IOBuiltinTypes.hx
include/hat-%%PORTVERSION%%/Ix.hx
include/hat-%%PORTVERSION%%/List.hx
include/hat-%%PORTVERSION%%/Locale.hx
include/hat-%%PORTVERSION%%/Maybe.hx
include/hat-%%PORTVERSION%%/Monad.hx
include/hat-%%PORTVERSION%%/Numeric.hx
include/hat-%%PORTVERSION%%/Prelude.hx
include/hat-%%PORTVERSION%%/PreludeBasic.hx
include/hat-%%PORTVERSION%%/PreludeBuiltin.hx
include/hat-%%PORTVERSION%%/PreludeBuiltinTypes.hx
include/hat-%%PORTVERSION%%/Random.hx
include/hat-%%PORTVERSION%%/RandomBuiltin.hx
include/hat-%%PORTVERSION%%/Ratio.hx
include/hat-%%PORTVERSION%%/System.hx
include/hat-%%PORTVERSION%%/SystemBuiltin.hx
include/hat-%%PORTVERSION%%/SystemBuiltinTypes.hx
include/hat-%%PORTVERSION%%/Time.hx
include/hat-%%PORTVERSION%%/TimeBuiltin.hx
include/hat-%%PORTVERSION%%/TimeBuiltinTypes.hx
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Array.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/CPUTime.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Char.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Complex.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Directory.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/DirectoryBuiltin.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/DirectoryBuiltinTypes.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Hack.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Hat.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/IO.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/IOBuiltin.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/IOBuiltinTypes.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Ix.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/List.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Locale.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Maybe.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Monad.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Numeric.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Prelude.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/PreludeBasic.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/PreludeBuiltin.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/PreludeBuiltinTypes.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Random.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/RandomBuiltin.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Ratio.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/System.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/SystemBuiltin.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/SystemBuiltinTypes.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/Time.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/TimeBuiltin.hi
%%GHC%%imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat/TimeBuiltinTypes.hi
%%GHC%%lib/hat-%%PORTVERSION%%/%%ARCH%%-FreeBSD/ghc-%%GHC_VER%%/libHShat.a
%%NHC98%%include/nhc98/packages/hat/Hat/Array.hi
%%NHC98%%include/nhc98/packages/hat/Hat/CPUTime.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Char.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Complex.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Directory.hi
%%NHC98%%include/nhc98/packages/hat/Hat/DirectoryBuiltin.hi
%%NHC98%%include/nhc98/packages/hat/Hat/DirectoryBuiltinTypes.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Hack.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Hat.hi
%%NHC98%%include/nhc98/packages/hat/Hat/IO.hi
%%NHC98%%include/nhc98/packages/hat/Hat/IOBuiltin.hi
%%NHC98%%include/nhc98/packages/hat/Hat/IOBuiltinTypes.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Ix.hi
%%NHC98%%include/nhc98/packages/hat/Hat/List.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Locale.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Maybe.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Monad.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Numeric.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Prelude.hi
%%NHC98%%include/nhc98/packages/hat/Hat/PreludeBasic.hi
%%NHC98%%include/nhc98/packages/hat/Hat/PreludeBuiltin.hi
%%NHC98%%include/nhc98/packages/hat/Hat/PreludeBuiltinTypes.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Random.hi
%%NHC98%%include/nhc98/packages/hat/Hat/RandomBuiltin.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Ratio.hi
%%NHC98%%include/nhc98/packages/hat/Hat/System.hi
%%NHC98%%include/nhc98/packages/hat/Hat/SystemBuiltin.hi
%%NHC98%%include/nhc98/packages/hat/Hat/SystemBuiltinTypes.hi
%%NHC98%%include/nhc98/packages/hat/Hat/Time.hi
%%NHC98%%include/nhc98/packages/hat/Hat/TimeBuiltin.hi
%%NHC98%%include/nhc98/packages/hat/Hat/TimeBuiltinTypes.hi
%%NHC98%%@dirrm include/nhc98/packages/hat/Hat
%%NHC98%%@dirrm include/nhc98/packages/hat
@dirrm include/hat-%%PORTVERSION%%
%%GHC%%@dirrm imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%/Hat
%%GHC%%@dirrm imports/hat-%%PORTVERSION%%/ghc-%%GHC_VER%%
%%GHC%%@dirrm imports/hat-%%PORTVERSION%%
%%GHC%%@dirrm imports
%%GHC%%@dirrm lib/hat-%%PORTVERSION%%/%%ARCH%%-FreeBSD/ghc-%%GHC_VER%%
%%GHC%%@dirrm lib/hat-%%PORTVERSION%%/%%ARCH%%-FreeBSD
%%GHC%%@dirrm lib/hat-%%PORTVERSION%%
lib/%%ARCH%%-FreeBSD/black-hat
lib/%%ARCH%%-FreeBSD/config
lib/%%ARCH%%-FreeBSD/hat-anim
lib/%%ARCH%%-FreeBSD/hat-check
lib/%%ARCH%%-FreeBSD/hat-cover
lib/%%ARCH%%-FreeBSD/hat-delta
lib/%%ARCH%%-FreeBSD/hat-detect
lib/%%ARCH%%-FreeBSD/hat-explore
lib/%%ARCH%%-FreeBSD/hat-nonterm
lib/%%ARCH%%-FreeBSD/hat-observe
lib/%%ARCH%%-FreeBSD/hat-stack
lib/%%ARCH%%-FreeBSD/hat-trail
lib/%%ARCH%%-FreeBSD/hat-trans
lib/%%ARCH%%-FreeBSD/hat-view
lib/%%ARCH%%-FreeBSD/hat.cabal
lib/%%ARCH%%-FreeBSD/pretty-hat
@dirrm lib/%%ARCH%%-FreeBSD
%%NHC98%%lib/nhc98/%%ARCH%%-FreeBSD/libHShat.a
%%GHC%%@unexec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old

View File

@ -1,53 +0,0 @@
# Created by: Oliver Braun <obraun@FreeBSD.org>
# $FreeBSD$
PORTNAME= hdoc
PORTVERSION= 0.8.3
PORTREVISION= 8
CATEGORIES= devel haskell
MASTER_SITES= http://staff.fmi.uni-passau.de/~groessli/hdoc/
PKGNAMEPREFIX= hs-
MAINTAINER= haskell@FreeBSD.org
COMMENT= HTML documentation tool for Haskell
LICENSE= GPLv2
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp \
ffi.6:${PORTSDIR}/devel/libffi
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
PLIST_FILES= bin/hdoc
.if !defined(NOPORTDOCS)
PLIST_DIRS= share/doc/${DISTNAME}
PLIST_FILES+= share/doc/${DISTNAME}/hdoc.pdf
.endif
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
ALL_TARGET= # empty
NO_STAGE= yes
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR} && \
cd ${WRKSRC}/docs && ${INSTALL_DATA} hdoc.pdf ${DOCSDIR}
.endif
post-patch:
@${REINPLACE_CMD} 's|import List|import Data.List| ; \
s|import Char|import Data.Char| ; \
s|import Ratio|import Data.Ratio| ; \
s|import Monad|import Control.Monad| ; \
s|import IO|import System.IO.Error| ; \
s|import Directory|import System.Directory| ; \
s|import Maybe|import Data.Maybe| ; \
s|import Array|import Data.Array| ; \
s|import System[^\.]|import System.Exit|' \
`${FIND} ${WRKSRC} -name '*.*hs'`
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (hdoc-0.8.3.tar.gz) = eeaedeefd93dc2b4d21f71dce025dff493b38e7a3c1610485f256a8a8b62b07d
SIZE (hdoc-0.8.3.tar.gz) = 215193

View File

@ -1,21 +0,0 @@
--- ./Main.hs.orig 2004-05-18 00:27:27.000000000 +0200
+++ ./Main.hs 2013-04-30 23:59:28.000000000 +0200
@@ -5,7 +5,8 @@
import List
import Maybe
import Monad
-import System
+import System.Environment
+import System.IO.Error
import GetOpt
import Parser
@@ -338,7 +339,7 @@
case preProc of
Nothing -> return $ Left (NoPreprocessor file)
Just (msg, action) ->
- do res <- try (readFile file)
+ do res <- tryIOError (readFile file)
case res of
Left _ -> return $ Left NotFound
Right cont -> return $ Right (action cont,msg)

View File

@ -1,11 +0,0 @@
--- ./hsparser/HsLexer.lhs.orig 2004-05-18 01:40:34.000000000 +0200
+++ ./hsparser/HsLexer.lhs 2012-05-13 11:20:41.000000000 +0200
@@ -19,7 +19,7 @@
import HsParseUtils
import HsSyn(SrcLoc(..))
-import Char
+import Char hiding (isSymbol)
import Ratio
import Numeric
\end{code}

View File

@ -1,5 +0,0 @@
HDoc generates documentation in HTML format for Haskell modules. The generated
documents are cross linked and include summaries and detailed descriptions for
the documented functions, data types, type classes and instance declarations.
WWW: http://staff.fmi.uni-passau.de/~groessli/hdoc/

View File

@ -1,30 +0,0 @@
# Created by: Oliver Braun <obraun@FreeBSD.org>
# $FreeBSD$
PORTNAME= idoc
PORTVERSION= 0.2.6
PORTREVISION= 9
CATEGORIES= devel haskell
MASTER_SITES= http://www.cse.unsw.edu.au/~chak/haskell/idoc/
PKGNAMEPREFIX= hs-
MAINTAINER= haskell@FreeBSD.org
COMMENT= No Frills Haskell Interface Documentation System
LICENSE= GPLv2
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS+= gmp.10:${PORTSDIR}/math/gmp \
ffi.6:${PORTSDIR}/devel/libffi
PLIST_FILES= bin/idoc
USE_GMAKE= yes
MAKE_ARGS= PREFIX="${PREFIX}"
ALL_TARGET= # empty
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|IOExts|Debug.Trace|' ${WRKSRC}/IDoc.hs
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (idoc-0.2.6.tar.gz) = 9ef75016bc74b17e959d64e2542441605aeaeba394fa7a8e134ef8ee23ccef8d
SIZE (idoc-0.2.6.tar.gz) = 27594

View File

@ -1,11 +0,0 @@
--- ./GetOpt.hs.orig 2002-02-18 01:54:06.000000000 +0100
+++ ./GetOpt.hs 2012-05-13 00:56:23.000000000 +0200
@@ -19,7 +19,7 @@
module GetOpt (ArgOrder(..), OptDescr(..), ArgDescr(..), usageInfo, getOpt) where
-import List(isPrefixOf)
+import Data.List(isPrefixOf)
data ArgOrder a -- what to do with options following non-options:
= RequireOrder -- no option processing after first non-option

View File

@ -1,18 +0,0 @@
--- ./IDoc.hs.orig 2004-05-14 08:54:08.000000000 +0200
+++ ./IDoc.hs 2012-05-13 00:56:43.000000000 +0200
@@ -181,10 +181,11 @@
where
-- standard libraries
-import Char (isAlpha, isDigit, toUpper, isSpace, isDigit)
-import List (isPrefixOf, intersperse)
-import IO (stderr, hPutStr)
-import System (ExitCode(..), getArgs, exitWith)
+import Data.Char (isAlpha, isDigit, toUpper, isSpace, isDigit)
+import Data.List (isPrefixOf, intersperse)
+import System.IO (stderr, hPutStr)
+import System.Environment (getArgs)
+import System.Exit (ExitCode(..), exitWith)
-- extra library
import GetOpt (ArgOrder(..), OptDescr(..), ArgDescr(..), usageInfo,

View File

@ -1,40 +0,0 @@
--- ./Makefile.orig 2002-02-28 07:33:03.000000000 +0100
+++ ./Makefile 2012-05-13 00:56:24.000000000 +0200
@@ -56,7 +56,6 @@
#
PACKAGE = idoc
SRCS = GetOpt.hs IDoc.hs
-OBJS = $(patsubst %.hs,%.o,$(filter %.hs,$(SRCS)))
# file that contains a `versnum = "x.y.z"' line
#
@@ -78,18 +77,10 @@
#
default: idoc
-# compile rules
-#
-%.o: %.hs
- $(RM) $@
- $(HC) -c $(HCFLAGS) $<
-%.hi: %.o
- @:
-
# link target
#
-idoc: $(OBJS)
- $(HC) $(HCFLAGS) -o $@ $^
+idoc: $(SRCS)
+ $(HC) --make $(HCFLAGS) -o $@ $^
# install target
#
@@ -116,8 +107,3 @@
tar czf $(PACKAGE)-$(VERSION).tar.gz\
$(addprefix $(PACKAGE)-$(VERSION)/,$(DISTFILES))
$(RM) $(PACKAGE)-$(VERSION)
-
-# dependencies
-#
-IDoc.o : IDoc.hs GetOpt.hi
-GetOpt.o: GetOpt.hs

View File

@ -1,8 +0,0 @@
IDoc extracts interface documentation and declarations from Haskell modules
based on standard Haskell layout rules and a small number of clues that the
programmer embeds in interface comments. These clues have been designed to be
visually non-imposing when displaying the source in a text editor. Interface
documentation is rendered in standard markup languages (currently, only HTML is
supported). IDoc has been designed to be simple to use and install.
WWW: http://www.cse.unsw.edu.au/~chak/haskell/idoc/

View File

@ -75,7 +75,6 @@
SUBDIR += hs-GLUT
SUBDIR += hs-OpenGL
SUBDIR += hs-OpenGLRaw
SUBDIR += hs-frantk
SUBDIR += hs-gtk
SUBDIR += hs-gtk2hs
SUBDIR += hs-gtkglext

View File

@ -1,49 +0,0 @@
# Created by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
# $FreeBSD$
PORTNAME= frantk
PORTVERSION= 1.1
PORTREVISION= 4
CATEGORIES= x11-toolkits haskell
MASTER_SITES= http://www.dcs.gla.ac.uk/~meurig/FranTk/
PKGNAMEPREFIX= hs-
DISTNAME= FranTk${PORTVERSION:S/./_/}
MAINTAINER= haskell@FreeBSD.org
COMMENT= GUI library for Haskell on top of Tcl/Tk
USES= gmake
USE_TK= 84
ALL_TARGET= hugs
INSTALL_TARGET= install_hugs
WRKSRC= ${WRKDIR}/FranTk${PORTVERSION}/src
PLIST_SUB+= HUGS=""
PLIST_SUB+= GHC="@comment "
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.elif ${ARCH} == "ia64"
BROKEN= Does not compile
.endif
post-patch:
@${REINPLACE_CMD} "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/frantk.conf
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/../doc/frantk.pdf ${DOCSDIR}
.endif
@${ECHO_MSG}
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (FranTk1_1.tar.gz) = 25333ef5baae0371fe5d00d10b4394125de1094aee2d0d391d1ba70789add7ca
SIZE (FranTk1_1.tar.gz) = 498670

View File

@ -1,10 +0,0 @@
--- FRPSrc/StaticTypes/Compatibility.ghc.hs.orig Fri Aug 23 11:36:12 2002
+++ FRPSrc/StaticTypes/Compatibility.ghc.hs Fri Aug 23 11:36:36 2002
@@ -15,6 +15,7 @@
import IOExts
import Concurrent
import Exception
+import Int
double2Float = doubleToFloat

View File

@ -1,10 +0,0 @@
--- FranTkSrc/FranTkConc.lhs.orig Tue Sep 17 10:46:35 2002
+++ FranTkSrc/FranTkConc.lhs Tue Sep 17 10:47:34 2002
@@ -6,6 +6,7 @@
import Listener
import Concurrent
import IOExts
+import CVar
addCVarListener :: CVar a -> Listener a -> GUI (IO ())
addCVarListener cv l =

View File

@ -1,84 +0,0 @@
--- Makefile.orig Thu Sep 27 20:20:30 2001
+++ Makefile Sat May 25 21:55:54 2002
@@ -5,13 +5,13 @@
#
#######################################################################
-PREFIX = /local/www.people/personal/meurig/haskell/built/frantk
+#PREFIX = /local/www.people/personal/meurig/haskell/built/frantk
# where to install libHSFranTk.a library and friends
-LIBDIR = $(PREFIX)
+LIBDIR = $(PREFIX)/lib/frantk
# where to install the FranTk interface files
-IMPORTS = $(PREFIX)/imports
+IMPORTS = $(PREFIX)/lib/frantk/imports
# the library files to use - change for different version
@@ -38,12 +38,12 @@
#
#######################################################################
-CC = gcc
-CC_OPTS = -O
-CC_INC = -I/usr/X11/include -I/usr/local/include
+#CC = gcc
+CC_OPTS = ${CFLAGS}
+CC_INC = -I${LOCALBASE}/include -I${LOCALBASE}/include/tk8.4 -I${LOCALBASE}/include/tcl8.4
-GHC = ghc-5.00.2
-GHC-PKG=ghc-pkg-5.00.2
+GHC = ghc
+GHC-PKG=ghc-pkg
#######################################################################
#
@@ -81,8 +81,9 @@
all : $(LIBS)
+install :
-install : libHSFranTk.a
+install_ghc : libHSFranTk.a
mkdir -p $(LIBDIR)
mkdir -p $(IMPORTS)
cp -p $(LIBS) $(LIBDIR)/
@@ -150,22 +151,29 @@
# The directories containing the X11, Tcl and Tk (binary) libraries:
-CCLIB = -L /usr/lib/X11 -L /usr/local/lib
+CCLIB = -L ${LOCALBASE}/lib/X11 -L ${LOCALBASE}/lib
# the libraries required by Tcl/Tk:
#TCLREQ = -ltk8.3 -ltcl8.3 -lX11 -lm -lsocket -lnsl -lintl -lw # (Solaris)
-TCL_REQ = -ltk8.3 -ltcl8.3 -lm -lc # (OSF/1+Linux)
+TCL_REQ = -ltk84 -ltcl84 -lm -lc # (OSF/1+Linux)
hugs: TclHaskellSrc/TclPrim.so
-TclHaskellSrc/TclPrim.so: TclHaskellSrc/TclPrim.c TclHaskellSrc/tclhaskell.o TclHaskellSrc/tclhaskell.h
- $(CC) -c $(CC_OPTS) $(CC_INC) -o TclHaskellSrc/TclPrim.o -c TclHaskellSrc/TclPrim.c
+TclHaskellSrc/TclPrim_.o: TclHaskellSrc/TclPrim.c TclHaskellSrc/tclhaskell.h
+ $(CC) -c $(CC_OPTS) $(CC_INC) -o TclHaskellSrc/TclPrim_.o -c TclHaskellSrc/TclPrim.c
+
+TclHaskellSrc/TclPrim.so: TclHaskellSrc/TclPrim_.o TclHaskellSrc/tclhaskell.o
$(LD) $(SLD_OPTS) \
$(CCLIB) \
- -o TclHaskellSrc/TclPrim.so TclHaskellSrc/TclPrim.o TclHaskellSrc/tclhaskell.o \
+ -o TclHaskellSrc/TclPrim.so TclHaskellSrc/TclPrim_.o TclHaskellSrc/tclhaskell.o \
$(TCL_REQ)
- $(RM) TclHaskellSrc/TclPrim.o
+ $(RM) TclHaskellSrc/TclPrim_.o
+install_hugs :
+ mkdir -p ${PREFIX}/lib/frantk/hugs/TclHaskellSrc
+ mkdir -p ${PREFIX}/lib/frantk/hugs/FranTkSrc
+ cp TclHaskellSrc/*.hs TclHaskellSrc/tclhaskell.o ${PREFIX}/lib/frantk/hugs/TclHaskellSrc
+ cp FranTkSrc/*.lhs FranTkSrc/*.hs ${PREFIX}/lib/frantk/hugs/FranTkSrc

View File

@ -1,10 +0,0 @@
--- TclHaskellSrc/ConcTcl.hs.orig Fri Aug 23 11:42:21 2002
+++ TclHaskellSrc/ConcTcl.hs Fri Aug 23 11:42:33 2002
@@ -4,6 +4,7 @@
import IOExts
import IO
import TclCompatibility
+import CVar
-- Some functions used by FranTk to support worker threads.

View File

@ -1,14 +0,0 @@
--- frantk.conf.orig Sat May 25 18:27:08 2002
+++ frantk.conf Sat May 25 18:27:51 2002
@@ -1,8 +1,8 @@
Package
{name = "FranTk",
- import_dirs = ["/local/www.people/personal/meurig/haskell/built/frantk/imports"],
+ import_dirs = ["%%PREFIX%%/lib/frantk/imports"],
source_dirs = [],
- library_dirs = ["/local/www.people/personal/meurig/haskell/built/frantk"],
+ library_dirs = ["%%PREFIX%%/lib/frantk","/usr/local/lib"],
hs_libraries = ["HSFranTk"],
- extra_libraries = ["tcl8.3","tk8.3"],
+ extra_libraries = ["tcl84","tk84"],
include_dirs = [],

View File

@ -1,7 +0,0 @@
FranTk (pronounced "frantic") is a library for building GUIs in Haskell. Its
high level, provides good support for developing complex dynamic systems, and
is built on top of Tcl/Tk.
FranTk works with GHC and Hugs 98.
WWW: http://haskell.cs.yale.edu/FranTk/

View File

@ -1,5 +0,0 @@
**********************************************************************
To use FranTk with hugs you have to set TK_LIBRARY and TCL_LIBRARY
**********************************************************************

View File

@ -1,74 +0,0 @@
%%HUGS%%lib/frantk/hugs/FranTkSrc/AbstractInterface.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/BVar.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/BVars.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/CItem.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/CollectionB.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/CollectionBVar.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/Component.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/ComponentWidgets.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/Conf.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplayCItem.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplayPItem.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplaySimple.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplayWidget.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/FM.hs
%%HUGS%%lib/frantk/hugs/FranTkSrc/FMGhc.hs
%%HUGS%%lib/frantk/hugs/FranTkSrc/FRPWrap.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/FranTk.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/FranTkConc.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/GFRP.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/GUI.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/GUIDef.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/Group.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/HasInput.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/Identify.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/ListB.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/MItem.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/MapG.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/PileArray.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/PrimWidget.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/RectInfo.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/SetB.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/Style.hs
%%HUGS%%lib/frantk/hugs/FranTkSrc/TreeIO.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/WH.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/Widget.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetConf.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetExports.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetSet.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetSetImpl.lhs
%%HUGS%%lib/frantk/hugs/FranTkSrc/Widgets.lhs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/ConcTcl.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/ExtArray.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/GUIMonad.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/PlacePos.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/Remover.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/Tcl.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclCompatibility.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclCompatibilityGhc.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclCompatibilityGhcSupportsConcurrency.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclConf.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclConfB.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclGUI.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclHandle.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrim.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimCore.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimExports.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimGhc.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimImpl.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimWidgets.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.NT.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.independent.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.linux.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTrie.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclWidgets.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TrieIO.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/Utils.hs
%%HUGS%%lib/frantk/hugs/TclHaskellSrc/tclhaskell.o
%%PORTDOCS%%share/doc/frantk/frantk.pdf
%%PORTDOCS%%@dirrm share/doc/frantk
%%HUGS%%@dirrm lib/frantk/hugs/FranTkSrc
%%HUGS%%@dirrm lib/frantk/hugs/TclHaskellSrc
%%HUGS%%@dirrm lib/frantk/hugs
%%HUGS%%@dirrmtry lib/frantk