aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-08-26 21:30:21 +0800
committerobraun <obraun@FreeBSD.org>2002-08-26 21:30:21 +0800
commit972a9932daa1d0fbbd69817ed38fed3a79776b10 (patch)
tree5b28515244da106789f2335ef3b4dc7298e1f901 /x11-toolkits
parentb19aa60cea02b4bab250a660b3a1c01124679a1f (diff)
downloadfreebsd-ports-graphics-972a9932daa1d0fbbd69817ed38fed3a79776b10.tar.gz
freebsd-ports-graphics-972a9932daa1d0fbbd69817ed38fed3a79776b10.tar.zst
freebsd-ports-graphics-972a9932daa1d0fbbd69817ed38fed3a79776b10.zip
Add frantk 1.1, a GUI library for Haskell on top of Tcl-Tk.
PR: ports/38555 Approved by: dwcjr (mentor)
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/frantk/Makefile34
-rw-r--r--x11-toolkits/frantk/distinfo1
-rw-r--r--x11-toolkits/frantk/files/patch-src::Makefile73
-rw-r--r--x11-toolkits/frantk/pkg-comment1
-rw-r--r--x11-toolkits/frantk/pkg-descr8
-rw-r--r--x11-toolkits/frantk/pkg-message5
-rw-r--r--x11-toolkits/frantk/pkg-plist74
8 files changed, 197 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index cfa480dcc02..09ab7dbef08 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -22,6 +22,7 @@
SUBDIR += flvw
SUBDIR += fox
SUBDIR += fox-xunicode
+ SUBDIR += frantk
SUBDIR += gail
SUBDIR += gal
SUBDIR += gdl
diff --git a/x11-toolkits/frantk/Makefile b/x11-toolkits/frantk/Makefile
new file mode 100644
index 00000000000..bcd59c2f610
--- /dev/null
+++ b/x11-toolkits/frantk/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: frantk
+# Date created: 25 May 2002
+# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= frantk
+PORTVERSION= 1.1
+CATEGORIES= x11-toolkits
+MASTER_SITES= http://www.dcs.gla.ac.uk/~meurig/FranTk/
+DISTNAME= FranTk${PORTVERSION:S/./_/}
+
+MAINTAINER= obraun@FreeBSD.org
+
+LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83
+
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/FranTk1.1/src
+
+ALL_TARGET= hugs
+INSTALL_TARGET= install_hugs
+
+post-patch:
+ ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/frantk.conf
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${CP} ${WRKDIR}/FranTk1.1/doc/frantk.pdf ${DOCSDIR}
+.endif
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/frantk/distinfo b/x11-toolkits/frantk/distinfo
new file mode 100644
index 00000000000..5f6b53661d9
--- /dev/null
+++ b/x11-toolkits/frantk/distinfo
@@ -0,0 +1 @@
+MD5 (FranTk1_1.tar.gz) = eb7137696a9e736fff4731c635063f9f
diff --git a/x11-toolkits/frantk/files/patch-src::Makefile b/x11-toolkits/frantk/files/patch-src::Makefile
new file mode 100644
index 00000000000..fc2e8f63997
--- /dev/null
+++ b/x11-toolkits/frantk/files/patch-src::Makefile
@@ -0,0 +1,73 @@
+--- 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/usr/X11R6/include -I/usr/local/include/tk8.3 -I/usr/local/include/tcl8.3
+
+-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,13 +151,13 @@
+
+ # The directories containing the X11, Tcl and Tk (binary) libraries:
+
+-CCLIB = -L /usr/lib/X11 -L /usr/local/lib
++CCLIB = -L /usr/X11R6/lib/X11 -L /usr/local/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 = -ltk83 -ltcl83 -lm -lc # (OSF/1+Linux)
+
+
+ hugs: TclHaskellSrc/TclPrim.so
+@@ -169,3 +170,8 @@
+ $(TCL_REQ)
+ $(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
diff --git a/x11-toolkits/frantk/pkg-comment b/x11-toolkits/frantk/pkg-comment
new file mode 100644
index 00000000000..ea5b2dd015c
--- /dev/null
+++ b/x11-toolkits/frantk/pkg-comment
@@ -0,0 +1 @@
+A GUI library for Haskell on top of Tcl-Tk
diff --git a/x11-toolkits/frantk/pkg-descr b/x11-toolkits/frantk/pkg-descr
new file mode 100644
index 00000000000..20df43126e1
--- /dev/null
+++ b/x11-toolkits/frantk/pkg-descr
@@ -0,0 +1,8 @@
+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.
+
+WWW: http://haskell.cs.yale.edu/FranTk/
+
+- Oliver Braun
+obraun@informatik.unibw-muenchen.de
diff --git a/x11-toolkits/frantk/pkg-message b/x11-toolkits/frantk/pkg-message
new file mode 100644
index 00000000000..b5c6ec65e36
--- /dev/null
+++ b/x11-toolkits/frantk/pkg-message
@@ -0,0 +1,5 @@
+**********************************************************************
+
+ To use FranTk with hugs you have to set TK_LIBRARY and TCL_LIBRARY
+
+**********************************************************************
diff --git a/x11-toolkits/frantk/pkg-plist b/x11-toolkits/frantk/pkg-plist
new file mode 100644
index 00000000000..1529b22506c
--- /dev/null
+++ b/x11-toolkits/frantk/pkg-plist
@@ -0,0 +1,74 @@
+lib/frantk/hugs/FranTkSrc/AbstractInterface.lhs
+lib/frantk/hugs/FranTkSrc/BVar.lhs
+lib/frantk/hugs/FranTkSrc/BVars.lhs
+lib/frantk/hugs/FranTkSrc/CItem.lhs
+lib/frantk/hugs/FranTkSrc/CollectionB.lhs
+lib/frantk/hugs/FranTkSrc/CollectionBVar.lhs
+lib/frantk/hugs/FranTkSrc/Component.lhs
+lib/frantk/hugs/FranTkSrc/ComponentWidgets.lhs
+lib/frantk/hugs/FranTkSrc/Conf.lhs
+lib/frantk/hugs/FranTkSrc/DisplayCItem.lhs
+lib/frantk/hugs/FranTkSrc/DisplayPItem.lhs
+lib/frantk/hugs/FranTkSrc/DisplaySimple.lhs
+lib/frantk/hugs/FranTkSrc/DisplayWidget.lhs
+lib/frantk/hugs/FranTkSrc/FM.hs
+lib/frantk/hugs/FranTkSrc/FMGhc.hs
+lib/frantk/hugs/FranTkSrc/FRPWrap.lhs
+lib/frantk/hugs/FranTkSrc/FranTk.lhs
+lib/frantk/hugs/FranTkSrc/FranTkConc.lhs
+lib/frantk/hugs/FranTkSrc/GFRP.lhs
+lib/frantk/hugs/FranTkSrc/GUI.lhs
+lib/frantk/hugs/FranTkSrc/GUIDef.lhs
+lib/frantk/hugs/FranTkSrc/Group.lhs
+lib/frantk/hugs/FranTkSrc/HasInput.lhs
+lib/frantk/hugs/FranTkSrc/Identify.lhs
+lib/frantk/hugs/FranTkSrc/ListB.lhs
+lib/frantk/hugs/FranTkSrc/MItem.lhs
+lib/frantk/hugs/FranTkSrc/MapG.lhs
+lib/frantk/hugs/FranTkSrc/PileArray.lhs
+lib/frantk/hugs/FranTkSrc/PrimWidget.lhs
+lib/frantk/hugs/FranTkSrc/RectInfo.lhs
+lib/frantk/hugs/FranTkSrc/SetB.lhs
+lib/frantk/hugs/FranTkSrc/Style.hs
+lib/frantk/hugs/FranTkSrc/TreeIO.lhs
+lib/frantk/hugs/FranTkSrc/WH.lhs
+lib/frantk/hugs/FranTkSrc/Widget.lhs
+lib/frantk/hugs/FranTkSrc/WidgetConf.lhs
+lib/frantk/hugs/FranTkSrc/WidgetExports.lhs
+lib/frantk/hugs/FranTkSrc/WidgetSet.lhs
+lib/frantk/hugs/FranTkSrc/WidgetSetImpl.lhs
+lib/frantk/hugs/FranTkSrc/Widgets.lhs
+lib/frantk/hugs/TclHaskellSrc/ConcTcl.hs
+lib/frantk/hugs/TclHaskellSrc/ExtArray.hs
+lib/frantk/hugs/TclHaskellSrc/GUIMonad.hs
+lib/frantk/hugs/TclHaskellSrc/PlacePos.hs
+lib/frantk/hugs/TclHaskellSrc/Remover.hs
+lib/frantk/hugs/TclHaskellSrc/Tcl.hs
+lib/frantk/hugs/TclHaskellSrc/TclCompatibility.hs
+lib/frantk/hugs/TclHaskellSrc/TclCompatibilityGhc.hs
+lib/frantk/hugs/TclHaskellSrc/TclCompatibilityGhcSupportsConcurrency.hs
+lib/frantk/hugs/TclHaskellSrc/TclConf.hs
+lib/frantk/hugs/TclHaskellSrc/TclConfB.hs
+lib/frantk/hugs/TclHaskellSrc/TclGUI.hs
+lib/frantk/hugs/TclHaskellSrc/TclHandle.hs
+lib/frantk/hugs/TclHaskellSrc/TclPrim.hs
+lib/frantk/hugs/TclHaskellSrc/TclPrimCore.hs
+lib/frantk/hugs/TclHaskellSrc/TclPrimExports.hs
+lib/frantk/hugs/TclHaskellSrc/TclPrimGhc.hs
+lib/frantk/hugs/TclHaskellSrc/TclPrimImpl.hs
+lib/frantk/hugs/TclHaskellSrc/TclPrimWidgets.hs
+lib/frantk/hugs/TclHaskellSrc/TclTime.NT.hs
+lib/frantk/hugs/TclHaskellSrc/TclTime.hs
+lib/frantk/hugs/TclHaskellSrc/TclTime.independent.hs
+lib/frantk/hugs/TclHaskellSrc/TclTime.linux.hs
+lib/frantk/hugs/TclHaskellSrc/TclTrie.hs
+lib/frantk/hugs/TclHaskellSrc/TclWidgets.hs
+lib/frantk/hugs/TclHaskellSrc/TrieIO.hs
+lib/frantk/hugs/TclHaskellSrc/Utils.hs
+lib/frantk/hugs/TclHaskellSrc/tclhaskell.o
+%%PORTDOCS%%share/doc/frantk/frantk.pdf
+%%PORTDOCS%%@dirrm share/doc/frantk
+@dirrm lib/frantk/hugs/FranTkSrc
+@dirrm lib/frantk/hugs/TclHaskellSrc
+@dirrm lib/frantk/hugs
+@dirrm lib/frantk