summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-frantk
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2002-09-04 14:38:48 +0000
committerobraun <obraun@FreeBSD.org>2002-09-04 14:38:48 +0000
commit434ef7c6fe75b2f2ec6b9db65961b0d56304d8bf (patch)
tree87b9854d561ac210b489f2a5c39f4af4ca32352f /x11-toolkits/hs-frantk
parent910d9d66dbe7075b9a4f33086edd5364103c21f2 (diff)
downloadFreeBSD-ports-434ef7c6fe75b2f2ec6b9db65961b0d56304d8bf.zip
FreeBSD-ports-434ef7c6fe75b2f2ec6b9db65961b0d56304d8bf.tar.gz
Add prefix `hs-' for Haskell related ports.
Diffstat (limited to 'x11-toolkits/hs-frantk')
-rw-r--r--x11-toolkits/hs-frantk/Makefile35
-rw-r--r--x11-toolkits/hs-frantk/distinfo1
-rw-r--r--x11-toolkits/hs-frantk/files/patch-src::Makefile73
-rw-r--r--x11-toolkits/hs-frantk/pkg-comment1
-rw-r--r--x11-toolkits/hs-frantk/pkg-descr8
-rw-r--r--x11-toolkits/hs-frantk/pkg-message5
-rw-r--r--x11-toolkits/hs-frantk/pkg-plist74
7 files changed, 197 insertions, 0 deletions
diff --git a/x11-toolkits/hs-frantk/Makefile b/x11-toolkits/hs-frantk/Makefile
new file mode 100644
index 0000000..ace53b3
--- /dev/null
+++ b/x11-toolkits/hs-frantk/Makefile
@@ -0,0 +1,35 @@
+# 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/./_/}
+PKGNAMEPREFIX= hs-
+
+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/hs-frantk/distinfo b/x11-toolkits/hs-frantk/distinfo
new file mode 100644
index 0000000..5f6b536
--- /dev/null
+++ b/x11-toolkits/hs-frantk/distinfo
@@ -0,0 +1 @@
+MD5 (FranTk1_1.tar.gz) = eb7137696a9e736fff4731c635063f9f
diff --git a/x11-toolkits/hs-frantk/files/patch-src::Makefile b/x11-toolkits/hs-frantk/files/patch-src::Makefile
new file mode 100644
index 0000000..fc2e8f6
--- /dev/null
+++ b/x11-toolkits/hs-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/hs-frantk/pkg-comment b/x11-toolkits/hs-frantk/pkg-comment
new file mode 100644
index 0000000..ea5b2dd
--- /dev/null
+++ b/x11-toolkits/hs-frantk/pkg-comment
@@ -0,0 +1 @@
+A GUI library for Haskell on top of Tcl-Tk
diff --git a/x11-toolkits/hs-frantk/pkg-descr b/x11-toolkits/hs-frantk/pkg-descr
new file mode 100644
index 0000000..20df431
--- /dev/null
+++ b/x11-toolkits/hs-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/hs-frantk/pkg-message b/x11-toolkits/hs-frantk/pkg-message
new file mode 100644
index 0000000..b5c6ec6
--- /dev/null
+++ b/x11-toolkits/hs-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/hs-frantk/pkg-plist b/x11-toolkits/hs-frantk/pkg-plist
new file mode 100644
index 0000000..1529b22
--- /dev/null
+++ b/x11-toolkits/hs-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
OpenPOWER on IntegriCloud