From acf4a248a6f8ef67413c9ecb15fbdd531ad67ee4 Mon Sep 17 00:00:00 2001 From: Oliver Braun Date: Thu, 5 Jun 2003 21:48:20 +0000 Subject: [PATCH] gtk2hs is a GTK2 binding for Haskell. WWW: http://gtk2hs.sourceforge.net/ --- x11-toolkits/Makefile | 1 + x11-toolkits/hs-gtk2hs/Makefile | 28 +++++++ x11-toolkits/hs-gtk2hs/distinfo | 1 + x11-toolkits/hs-gtk2hs/pkg-descr | 14 ++++ x11-toolkits/hs-gtk2hs/pkg-plist | 130 +++++++++++++++++++++++++++++++ 5 files changed, 174 insertions(+) create mode 100644 x11-toolkits/hs-gtk2hs/Makefile create mode 100644 x11-toolkits/hs-gtk2hs/distinfo create mode 100644 x11-toolkits/hs-gtk2hs/pkg-descr create mode 100644 x11-toolkits/hs-gtk2hs/pkg-plist diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index ec6c99814b91..96f3bd2929af 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -79,6 +79,7 @@ SUBDIR += guile-gtk SUBDIR += hs-frantk SUBDIR += hs-gtk+hs + SUBDIR += hs-gtk2hs SUBDIR += icegradient SUBDIR += itk SUBDIR += iv diff --git a/x11-toolkits/hs-gtk2hs/Makefile b/x11-toolkits/hs-gtk2hs/Makefile new file mode 100644 index 000000000000..218cad3f18ab --- /dev/null +++ b/x11-toolkits/hs-gtk2hs/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: gtk2hs +# Date created: 03 June 2002 +# Whom: Oliver Braun +# +# $FreeBSD$ +# + +PORTNAME= gtk2hs +PORTVERSION= 0.9.3 +CATEGORIES= x11-toolkits haskell +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= hs- + +MAINTAINER= obraun@FreeBSD.org +COMMENT= A GTK2 Binding for Haskell + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc +RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc + +USE_GNOME= gtk20 + +HAS_CONFIGURE= yes +CONFIGURE_ARGS+= --with-c2hs=no +USE_GMAKE= yes +MAKE_ENV+= BUILDDOCS=no + +.include diff --git a/x11-toolkits/hs-gtk2hs/distinfo b/x11-toolkits/hs-gtk2hs/distinfo new file mode 100644 index 000000000000..0c806e20ab23 --- /dev/null +++ b/x11-toolkits/hs-gtk2hs/distinfo @@ -0,0 +1 @@ +MD5 (gtk2hs-0.9.3.tar.gz) = 7d3b79a4b5be03d0da81a2a33aa42914 diff --git a/x11-toolkits/hs-gtk2hs/pkg-descr b/x11-toolkits/hs-gtk2hs/pkg-descr new file mode 100644 index 000000000000..ed4cc8cad3fd --- /dev/null +++ b/x11-toolkits/hs-gtk2hs/pkg-descr @@ -0,0 +1,14 @@ +Gtk2Hs is a GTK2 binding for Haskell. It is a rewrite of gtk+hs with a couple +of improvements: + + * Automatic memory management. + * Nearly complete coverage of widget functions and their signals, including + the new text and list widgets. + * The convenience wrapper MoGuL (Monad Gui Library) makes it possible to + create and lookup named widgets in a type safe way. + * Unicode support. + +WWW: http://gtk2hs.sourceforge.net/ + +-- Oliver Braun +obraun@FreeBSD.org diff --git a/x11-toolkits/hs-gtk2hs/pkg-plist b/x11-toolkits/hs-gtk2hs/pkg-plist new file mode 100644 index 000000000000..a5a3b86daa64 --- /dev/null +++ b/x11-toolkits/hs-gtk2hs/pkg-plist @@ -0,0 +1,130 @@ +lib/gtk2hs/gtk2.conf +lib/gtk2hs/hi/AccelLabel.hi +lib/gtk2hs/hi/Adjustment.hi +lib/gtk2hs/hi/Alignment.hi +lib/gtk2hs/hi/Arrow.hi +lib/gtk2hs/hi/AspectFrame.hi +lib/gtk2hs/hi/Box.hi +lib/gtk2hs/hi/Button.hi +lib/gtk2hs/hi/Calendar.hi +lib/gtk2hs/hi/CellRenderer.hi +lib/gtk2hs/hi/CellRendererPixbuf.hi +lib/gtk2hs/hi/CellRendererText.hi +lib/gtk2hs/hi/CellRendererToggle.hi +lib/gtk2hs/hi/CheckButton.hi +lib/gtk2hs/hi/CheckMenuItem.hi +lib/gtk2hs/hi/Combo.hi +lib/gtk2hs/hi/Container.hi +lib/gtk2hs/hi/Container_stub.h +lib/gtk2hs/hi/Dialog.hi +lib/gtk2hs/hi/DrawWindow.hi +lib/gtk2hs/hi/Drawable.hi +lib/gtk2hs/hi/DrawingArea.hi +lib/gtk2hs/hi/Embedding.hi +lib/gtk2hs/hi/Entry.hi +lib/gtk2hs/hi/Enums.hi +lib/gtk2hs/hi/EventBox.hi +lib/gtk2hs/hi/Events.hi +lib/gtk2hs/hi/FileSel.hi +lib/gtk2hs/hi/Frame.hi +lib/gtk2hs/hi/GC.hi +lib/gtk2hs/hi/GList.hi +lib/gtk2hs/hi/GObject.hi +lib/gtk2hs/hi/GObject_stub.h +lib/gtk2hs/hi/GType.hi +lib/gtk2hs/hi/GValue.hi +lib/gtk2hs/hi/GValueTypes.hi +lib/gtk2hs/hi/GdkEnums.hi +lib/gtk2hs/hi/General.hi +lib/gtk2hs/hi/General_stub.h +lib/gtk2hs/hi/Gtk.hi +lib/gtk2hs/hi/HBox.hi +lib/gtk2hs/hi/HPaned.hi +lib/gtk2hs/hi/HScale.hi +lib/gtk2hs/hi/HScrollbar.hi +lib/gtk2hs/hi/HSeparator.hi +lib/gtk2hs/hi/HandleBox.hi +lib/gtk2hs/hi/Hierarchy.hi +lib/gtk2hs/hi/IconFactory.hi +lib/gtk2hs/hi/Image.hi +lib/gtk2hs/hi/ImageMenuItem.hi +lib/gtk2hs/hi/Keys.hi +lib/gtk2hs/hi/Label.hi +lib/gtk2hs/hi/Layout.hi +lib/gtk2hs/hi/ListStore.hi +lib/gtk2hs/hi/LocalControl.hi +lib/gtk2hs/hi/LocalData.hi +lib/gtk2hs/hi/Markup.hi +lib/gtk2hs/hi/Menu.hi +lib/gtk2hs/hi/MenuBar.hi +lib/gtk2hs/hi/MenuItem.hi +lib/gtk2hs/hi/MenuShell.hi +lib/gtk2hs/hi/Misc.hi +lib/gtk2hs/hi/Notebook.hi +lib/gtk2hs/hi/Object.hi +lib/gtk2hs/hi/OptionMenu.hi +lib/gtk2hs/hi/Paned.hi +lib/gtk2hs/hi/PangoLayout.hi +lib/gtk2hs/hi/PangoTypes.hi +lib/gtk2hs/hi/Pixbuf.hi +lib/gtk2hs/hi/Plug.hi +lib/gtk2hs/hi/ProgressBar.hi +lib/gtk2hs/hi/RadioButton.hi +lib/gtk2hs/hi/RadioMenuItem.hi +lib/gtk2hs/hi/Range.hi +lib/gtk2hs/hi/Region.hi +lib/gtk2hs/hi/Rendering.hi +lib/gtk2hs/hi/Scale.hi +lib/gtk2hs/hi/Scrollbar.hi +lib/gtk2hs/hi/ScrolledWindow.hi +lib/gtk2hs/hi/Separator.hi +lib/gtk2hs/hi/Signal.hi +lib/gtk2hs/hi/Signal_stub.h +lib/gtk2hs/hi/Socket.hi +lib/gtk2hs/hi/SpinButton.hi +lib/gtk2hs/hi/Statusbar.hi +lib/gtk2hs/hi/StockItems.hi +lib/gtk2hs/hi/StoreValue.hi +lib/gtk2hs/hi/Structs.hi +lib/gtk2hs/hi/Style.hi +lib/gtk2hs/hi/Table.hi +lib/gtk2hs/hi/TearoffMenuItem.hi +lib/gtk2hs/hi/TextBuffer.hi +lib/gtk2hs/hi/TextIter.hi +lib/gtk2hs/hi/TextIter_stub.h +lib/gtk2hs/hi/TextMark.hi +lib/gtk2hs/hi/TextTag.hi +lib/gtk2hs/hi/TextTagTable.hi +lib/gtk2hs/hi/TextView.hi +lib/gtk2hs/hi/ToggleButton.hi +lib/gtk2hs/hi/Toolbar.hi +lib/gtk2hs/hi/Tooltips.hi +lib/gtk2hs/hi/TreeModel.hi +lib/gtk2hs/hi/TreeModelSort.hi +lib/gtk2hs/hi/TreeSelection.hi +lib/gtk2hs/hi/TreeSelection_stub.h +lib/gtk2hs/hi/TreeStore.hi +lib/gtk2hs/hi/TreeView.hi +lib/gtk2hs/hi/TreeViewColumn.hi +lib/gtk2hs/hi/TreeView_stub.h +lib/gtk2hs/hi/UTFCForeign.hi +lib/gtk2hs/hi/VBox.hi +lib/gtk2hs/hi/VPaned.hi +lib/gtk2hs/hi/VScale.hi +lib/gtk2hs/hi/VScrollbar.hi +lib/gtk2hs/hi/VSeparator.hi +lib/gtk2hs/hi/Viewport.hi +lib/gtk2hs/hi/Widget.hi +lib/gtk2hs/hi/Window.hi +lib/gtk2hs/libgtk2hs.a +lib/hi/GetWidget.hi +lib/hi/MDialog.hi +lib/hi/Mogul.hi +lib/hi/NewWidget.hi +lib/hi/TreeList.hi +lib/hi/WidgetTable.hi +lib/libmogul.a +lib/mogul.conf +@dirrm lib/hi +@dirrm lib/gtk2hs/hi +@dirrm lib/gtk2hs