FreeBSD Bugzilla – Attachment 22176 Details for
Bug 38555
New port: x11-toolkits/frantk (A GUI library for Haskell on top of Tcl-Tk)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 13.84 KB, created by
obraun
on 2002-05-25 23:10:01 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
obraun
Created:
2002-05-25 23:10:01 UTC
Size:
13.84 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># frantk ># frantk/pkg-descr ># frantk/Makefile ># frantk/distinfo ># frantk/pkg-comment ># frantk/pkg-plist ># frantk/files ># frantk/files/patch-src::Makefile ># frantk/files/patch-src::frantk.conf ># frantk/pkg-message ># >echo c - frantk >mkdir -p frantk > /dev/null 2>&1 >echo x - frantk/pkg-descr >sed 's/^X//' >frantk/pkg-descr << 'END-of-frantk/pkg-descr' >XFranTk (pronounced "frantic") is a library for building GUIs in Haskell. Its >Xhigh level, provides good support for developing complex dynamic systems, and >Xis built on top of Tcl-Tk. >X >XFranTk works with ghc and hugs98. >X >XWWW: http://haskell.cs.yale.edu/FranTk/ >X >X- Oliver Braun >Xobraun@informatik.unibw-muenchen.de >END-of-frantk/pkg-descr >echo x - frantk/Makefile >sed 's/^X//' >frantk/Makefile << 'END-of-frantk/Makefile' >X# New ports collection makefile for: frantk >X# Date created: 25 May 2002 >X# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de> >X# >X# $FreeBSD$ >X# >X >XPORTNAME= frantk >XPORTVERSION= 1.1 >XCATEGORIES= x11-toolkits >XMASTER_SITES= http://www.dcs.gla.ac.uk/~meurig/FranTk/ >XDISTNAME= FranTk1_1 >X >XMAINTAINER= obraun@informatik.unibw-muenchen.de >X >XLIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 >X.if !defined(NOGHC) >XBUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc >XRUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc >X.endif >X >XUSE_GMAKE= yes >XWRKSRC= ${WRKDIR}/FranTk1.1/src >X >X.if defined(HUGS) >XALL_TARGET= hugs >XINSTALL_TARGET= install_hugs >XPLIST_SUB+= HUGS="" >X.else >XPLIST_SUB+= HUGS="@comment " >X.endif >X >X.if !defined(NOGHC) >XALL_TARGET+= all >XINSTALL_TARGET+=install_ghc pkg >XPLIST_SUB+= GHC="" >X.else >XPLIST_SUB+= GHC="@comment " >X.endif >X >Xpre-fetch: >X @${ECHO} "" >X.if !defined(NOGHC) && !defined(HUGS) >X @${ECHO} " FranTk will be build and installed for ghc by default" >X @${ECHO} " Define NOGHC to build not for ghc" >X @${ECHO} " Define HUGS to build for hugs" >X @${ECHO} "" >X.endif >X.if defined(NOGHC) && !defined(HUGS) >X @${ECHO} " You have defined NOGHC and you have not defined HUGS" >X @${ECHO} " This means FranTk will not be installed" >X @${ECHO} "" >X @${FALSE} >X.elif !defined(NOGHC) >X @${ECHO} " Building for ghc" >X.endif >X.if defined(HUGS) >X @${ECHO} " Building for hugs" >X.endif >X @${ECHO} "" >X >Xpost-patch: >X ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/frantk.conf >X >Xpost-install: >X.if !defined(NOPORTDOCS) >X ${MKDIR} ${PREFIX}/share/doc/frantk >X ${CP} ${WRKDIR}/FranTk1.1/doc/frantk.pdf ${PREFIX}/share/doc/frantk >X.endif >X.if defined(HUGS) >X @${CAT} ${PKGMESSAGE} >X.endif >X >X.include <bsd.port.mk> >END-of-frantk/Makefile >echo x - frantk/distinfo >sed 's/^X//' >frantk/distinfo << 'END-of-frantk/distinfo' >XMD5 (FranTk1_1.tar.gz) = eb7137696a9e736fff4731c635063f9f >END-of-frantk/distinfo >echo x - frantk/pkg-comment >sed 's/^X//' >frantk/pkg-comment << 'END-of-frantk/pkg-comment' >XA GUI library for Haskell on top of Tcl-Tk >END-of-frantk/pkg-comment >echo x - frantk/pkg-plist >sed 's/^X//' >frantk/pkg-plist << 'END-of-frantk/pkg-plist' >X%%HUGS%%lib/frantk/hugs/FranTkSrc/AbstractInterface.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/BVar.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/BVars.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/CItem.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/CollectionB.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/CollectionBVar.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/Component.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/ComponentWidgets.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/Conf.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplayCItem.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplayPItem.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplaySimple.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/DisplayWidget.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/FM.hs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/FMGhc.hs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/FRPWrap.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/FranTk.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/FranTkConc.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/GFRP.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/GUI.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/GUIDef.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/Group.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/HasInput.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/Identify.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/ListB.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/MItem.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/MapG.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/PileArray.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/PrimWidget.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/RectInfo.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/SetB.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/Style.hs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/TreeIO.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/WH.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/Widget.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetConf.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetExports.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetSet.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/WidgetSetImpl.lhs >X%%HUGS%%lib/frantk/hugs/FranTkSrc/Widgets.lhs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/ConcTcl.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/ExtArray.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/GUIMonad.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/PlacePos.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/Remover.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/Tcl.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclCompatibility.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclCompatibilityGhc.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclCompatibilityGhcSupportsConcurrency.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclConf.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclConfB.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclGUI.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclHandle.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrim.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimCore.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimExports.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimGhc.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimImpl.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclPrimWidgets.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.NT.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.independent.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTime.linux.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclTrie.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TclWidgets.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/TrieIO.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/Utils.hs >X%%HUGS%%lib/frantk/hugs/TclHaskellSrc/tclhaskell.o >X%%GHC%%lib/frantk/HSFranTk.o >X%%GHC%%lib/frantk/libHSFranTk.a >X%%GHC%%lib/frantk/imports/AbstractInterface.hi >X%%GHC%%lib/frantk/imports/BPrim.hi >X%%GHC%%lib/frantk/imports/BVar.hi >X%%GHC%%lib/frantk/imports/BVars.hi >X%%GHC%%lib/frantk/imports/BaseTypes.hi >X%%GHC%%lib/frantk/imports/Behavior.hi >X%%GHC%%lib/frantk/imports/BehaviorIO.hi >X%%GHC%%lib/frantk/imports/BehaviorTypes.hi >X%%GHC%%lib/frantk/imports/CItem.hi >X%%GHC%%lib/frantk/imports/CollectionB.hi >X%%GHC%%lib/frantk/imports/CollectionBVar.hi >X%%GHC%%lib/frantk/imports/ColorCore.hi >X%%GHC%%lib/frantk/imports/ColorCoreB.hi >X%%GHC%%lib/frantk/imports/Compatibility.hi >X%%GHC%%lib/frantk/imports/Component.hi >X%%GHC%%lib/frantk/imports/ComponentWidgets.hi >X%%GHC%%lib/frantk/imports/ConcTcl.hi >X%%GHC%%lib/frantk/imports/Conf.hi >X%%GHC%%lib/frantk/imports/Delayed.hi >X%%GHC%%lib/frantk/imports/DisplayCItem.hi >X%%GHC%%lib/frantk/imports/DisplayPItem.hi >X%%GHC%%lib/frantk/imports/DisplaySimple.hi >X%%GHC%%lib/frantk/imports/DisplayWidget.hi >X%%GHC%%lib/frantk/imports/Event.hi >X%%GHC%%lib/frantk/imports/EventPrim.hi >X%%GHC%%lib/frantk/imports/ExtArray.hi >X%%GHC%%lib/frantk/imports/FM.hi >X%%GHC%%lib/frantk/imports/FRPImpl.hi >X%%GHC%%lib/frantk/imports/FRPWrap.hi >X%%GHC%%lib/frantk/imports/Force.hi >X%%GHC%%lib/frantk/imports/FranCore.hi >X%%GHC%%lib/frantk/imports/FranPrim.hi >X%%GHC%%lib/frantk/imports/FranTime.hi >X%%GHC%%lib/frantk/imports/FranTk.hi >X%%GHC%%lib/frantk/imports/FranTkConc.hi >X%%GHC%%lib/frantk/imports/GFRP.hi >X%%GHC%%lib/frantk/imports/GUI.hi >X%%GHC%%lib/frantk/imports/GUIDef.hi >X%%GHC%%lib/frantk/imports/Group.hi >X%%GHC%%lib/frantk/imports/HasInput.hi >X%%GHC%%lib/frantk/imports/Identify.hi >X%%GHC%%lib/frantk/imports/ListB.hi >X%%GHC%%lib/frantk/imports/Listener.hi >X%%GHC%%lib/frantk/imports/ListenerOps.hi >X%%GHC%%lib/frantk/imports/ListenerPrim.hi >X%%GHC%%lib/frantk/imports/MItem.hi >X%%GHC%%lib/frantk/imports/MapG.hi >X%%GHC%%lib/frantk/imports/MutSet.hi >X%%GHC%%lib/frantk/imports/PileArray.hi >X%%GHC%%lib/frantk/imports/PlacePos.hi >X%%GHC%%lib/frantk/imports/Point2.hi >X%%GHC%%lib/frantk/imports/Point2B.hi >X%%GHC%%lib/frantk/imports/Point3.hi >X%%GHC%%lib/frantk/imports/Point3B.hi >X%%GHC%%lib/frantk/imports/PrimWidget.hi >X%%GHC%%lib/frantk/imports/Rect.hi >X%%GHC%%lib/frantk/imports/RectB.hi >X%%GHC%%lib/frantk/imports/RectInfo.hi >X%%GHC%%lib/frantk/imports/Remover.hi >X%%GHC%%lib/frantk/imports/SetB.hi >X%%GHC%%lib/frantk/imports/StaticTypes.hi >X%%GHC%%lib/frantk/imports/TclCompatibility.hi >X%%GHC%%lib/frantk/imports/TclGUI.hi >X%%GHC%%lib/frantk/imports/TclPrim.hi >X%%GHC%%lib/frantk/imports/TclPrimCore.hi >X%%GHC%%lib/frantk/imports/TclPrimImpl.hi >X%%GHC%%lib/frantk/imports/TclPrimWidgets.hi >X%%GHC%%lib/frantk/imports/TclTime.hi >X%%GHC%%lib/frantk/imports/TclTrie.hi >X%%GHC%%lib/frantk/imports/TermE.hi >X%%GHC%%lib/frantk/imports/Transform2.hi >X%%GHC%%lib/frantk/imports/Transform2B.hi >X%%GHC%%lib/frantk/imports/Transform3.hi >X%%GHC%%lib/frantk/imports/Transform3B.hi >X%%GHC%%lib/frantk/imports/TreeIO.hi >X%%GHC%%lib/frantk/imports/TrieIO.hi >X%%GHC%%lib/frantk/imports/Utils.hi >X%%GHC%%lib/frantk/imports/Vector2.hi >X%%GHC%%lib/frantk/imports/Vector2B.hi >X%%GHC%%lib/frantk/imports/Vector3.hi >X%%GHC%%lib/frantk/imports/Vector3B.hi >X%%GHC%%lib/frantk/imports/VectorSpace.hi >X%%GHC%%lib/frantk/imports/VectorSpaceB.hi >X%%GHC%%lib/frantk/imports/WH.hi >X%%GHC%%lib/frantk/imports/Widget.hi >X%%GHC%%lib/frantk/imports/WidgetConf.hi >X%%GHC%%lib/frantk/imports/WidgetExports.hi >X%%GHC%%lib/frantk/imports/WidgetSet.hi >X%%GHC%%lib/frantk/imports/WidgetSetImpl.hi >X%%GHC%%lib/frantk/imports/Widgets.hi >X%%GHC%%lib/frantk/imports/WirePrim.hi >X%%GHC%%lib/frantk/imports/WorkPool.hi >X%%PORTDOCS%%share/doc/frantk/frantk.pdf >X%%PORTDOCS%%@dirrm share/doc/frantk >X%%HUGS%%@dirrm lib/frantk/hugs/FranTkSrc >X%%HUGS%%@dirrm lib/frantk/hugs/TclHaskellSrc >X%%HUGS%%@dirrm lib/frantk/hugs >X%%GHC%%@dirrm lib/frantk/imports >X%%GHC%%@dirrm lib/frantk >X%%HUGS%%@unexec rmdir %D/lib/frantk || true >X%%GHC%%@unexec ghc-pkg -r FranTk >END-of-frantk/pkg-plist >echo c - frantk/files >mkdir -p frantk/files > /dev/null 2>&1 >echo x - frantk/files/patch-src::Makefile >sed 's/^X//' >frantk/files/patch-src::Makefile << 'END-of-frantk/files/patch-src::Makefile' >X--- Makefile.orig Thu Sep 27 20:20:30 2001 >X+++ Makefile Sat May 25 21:55:54 2002 >X@@ -5,13 +5,13 @@ >X # >X ####################################################################### >X >X-PREFIX = /local/www.people/personal/meurig/haskell/built/frantk >X+#PREFIX = /local/www.people/personal/meurig/haskell/built/frantk >X >X # where to install libHSFranTk.a library and friends >X-LIBDIR = $(PREFIX) >X+LIBDIR = $(PREFIX)/lib/frantk >X >X # where to install the FranTk interface files >X-IMPORTS = $(PREFIX)/imports >X+IMPORTS = $(PREFIX)/lib/frantk/imports >X >X >X # the library files to use - change for different version >X@@ -38,12 +38,12 @@ >X # >X ####################################################################### >X >X-CC = gcc >X-CC_OPTS = -O >X-CC_INC = -I/usr/X11/include -I/usr/local/include >X+#CC = gcc >X+CC_OPTS = ${CFLAGS} >X+CC_INC = -I/usr/X11R6/include -I/usr/local/include/tk8.3 -I/usr/local/include/tcl8.3 >X >X-GHC = ghc-5.00.2 >X-GHC-PKG=ghc-pkg-5.00.2 >X+GHC = ghc >X+GHC-PKG=ghc-pkg >X >X ####################################################################### >X # >X@@ -81,8 +81,9 @@ >X >X all : $(LIBS) >X >X+install : >X >X-install : libHSFranTk.a >X+install_ghc : libHSFranTk.a >X mkdir -p $(LIBDIR) >X mkdir -p $(IMPORTS) >X cp -p $(LIBS) $(LIBDIR)/ >X@@ -150,13 +151,13 @@ >X >X # The directories containing the X11, Tcl and Tk (binary) libraries: >X >X-CCLIB = -L /usr/lib/X11 -L /usr/local/lib >X+CCLIB = -L /usr/X11R6/lib/X11 -L /usr/local/lib >X >X >X # the libraries required by Tcl/Tk: >X >X #TCLREQ = -ltk8.3 -ltcl8.3 -lX11 -lm -lsocket -lnsl -lintl -lw # (Solaris) >X-TCL_REQ = -ltk8.3 -ltcl8.3 -lm -lc # (OSF/1+Linux) >X+TCL_REQ = -ltk83 -ltcl83 -lm -lc # (OSF/1+Linux) >X >X >X hugs: TclHaskellSrc/TclPrim.so >X@@ -169,3 +170,8 @@ >X $(TCL_REQ) >X $(RM) TclHaskellSrc/TclPrim.o >X >X+install_hugs : >X+ mkdir -p ${PREFIX}/lib/frantk/hugs/TclHaskellSrc >X+ mkdir -p ${PREFIX}/lib/frantk/hugs/FranTkSrc >X+ cp TclHaskellSrc/*.hs TclHaskellSrc/tclhaskell.o ${PREFIX}/lib/frantk/hugs/TclHaskellSrc >X+ cp FranTkSrc/*.lhs FranTkSrc/*.hs ${PREFIX}/lib/frantk/hugs/FranTkSrc >END-of-frantk/files/patch-src::Makefile >echo x - frantk/files/patch-src::frantk.conf >sed 's/^X//' >frantk/files/patch-src::frantk.conf << 'END-of-frantk/files/patch-src::frantk.conf' >X--- frantk.conf.orig Sat May 25 18:27:08 2002 >X+++ frantk.conf Sat May 25 18:27:51 2002 >X@@ -1,8 +1,8 @@ >X Package >X {name = "FranTk", >X- import_dirs = ["/local/www.people/personal/meurig/haskell/built/frantk/imports"], >X+ import_dirs = ["%%PREFIX%%/lib/frantk/imports"], >X source_dirs = [], >X- library_dirs = ["/local/www.people/personal/meurig/haskell/built/frantk"], >X+ library_dirs = ["%%PREFIX%%/lib/frantk","/usr/local/lib"], >X hs_libraries = ["HSFranTk"], >X- extra_libraries = ["tcl8.3","tk8.3"], >X+ extra_libraries = ["tcl83","tk83"], >X include_dirs = [], >END-of-frantk/files/patch-src::frantk.conf >echo x - frantk/pkg-message >sed 's/^X//' >frantk/pkg-message << 'END-of-frantk/pkg-message' >X********************************************************************** >X >X To use FranTk with hugs you have to set TK_LIBRARY and TCL_LIBRARY >X >X********************************************************************** >END-of-frantk/pkg-message >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 38555
: 22176