aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/hs-soegtk
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-05-09 03:28:45 +0800
committerashish <ashish@FreeBSD.org>2011-05-09 03:28:45 +0800
commitde054e89ef2742f093943b079aeba6e58f9b0593 (patch)
tree17f8945b3d60256d6a90b425e5edff3f49c4b110 /graphics/hs-soegtk
parenteee78467c4eaaf28eed3c8b326d3456495bbb3c6 (diff)
downloadfreebsd-ports-gnome-de054e89ef2742f093943b079aeba6e58f9b0593.tar.gz
freebsd-ports-gnome-de054e89ef2742f093943b079aeba6e58f9b0593.tar.zst
freebsd-ports-gnome-de054e89ef2742f093943b079aeba6e58f9b0593.zip
An alternative implementation of the graphics library used in the book The
Haskell School of Expression, by Paul Hudak, <http://www.haskell.org/soe/> This library builds on top of Gtk+. WWW: http://www.haskell.org/gtk2hs/ Approved by: pgj (mentor) Obtained from: FreeBSD Haskell
Diffstat (limited to 'graphics/hs-soegtk')
-rw-r--r--graphics/hs-soegtk/Makefile26
-rw-r--r--graphics/hs-soegtk/distinfo2
-rw-r--r--graphics/hs-soegtk/files/patch-soegtk.cabal15
-rw-r--r--graphics/hs-soegtk/pkg-descr5
4 files changed, 48 insertions, 0 deletions
diff --git a/graphics/hs-soegtk/Makefile b/graphics/hs-soegtk/Makefile
new file mode 100644
index 000000000000..4419d6fd0c5b
--- /dev/null
+++ b/graphics/hs-soegtk/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: hs-soegtk
+# Date created: March 13, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= soegtk
+PORTVERSION= 0.11.1
+CATEGORIES= graphics haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= GUI functions as used in the book "The Haskell School of Expression"
+
+LICENSE= LGPL21
+FILE_LICENSE= COPYING
+
+CABAL_SETUP= Setup.hs
+
+USE_CABAL= cairo>=0.11 glib>=0.11 gtk>=0.11 mtl
+USE_GNOME= gtk20
+
+PORTDATA= *
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/graphics/hs-soegtk/distinfo b/graphics/hs-soegtk/distinfo
new file mode 100644
index 000000000000..f8a876ca3b63
--- /dev/null
+++ b/graphics/hs-soegtk/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/soegtk-0.11.1.tar.gz) = b48e03359305a8d7b3b18f49e45dff15f6220f30aeef5a956187c566b5ca69da
+SIZE (cabal/soegtk-0.11.1.tar.gz) = 22594
diff --git a/graphics/hs-soegtk/files/patch-soegtk.cabal b/graphics/hs-soegtk/files/patch-soegtk.cabal
new file mode 100644
index 000000000000..6cd666243aee
--- /dev/null
+++ b/graphics/hs-soegtk/files/patch-soegtk.cabal
@@ -0,0 +1,15 @@
+--- ./soegtk.cabal.orig 2010-07-29 20:46:54.000000000 +0200
++++ ./soegtk.cabal 2011-03-13 22:34:40.086502660 +0100
+@@ -31,9 +31,9 @@
+
+ Library
+ build-depends: base >= 4 && < 5, array, containers, haskell98, mtl,
+- glib >= 0.11 && < 0.12,
+- cairo >= 0.11 && < 0.12,
+- gtk >= 0.11 && < 0.12,
++ glib >= 0.11,
++ cairo >= 0.11,
++ gtk >= 0.11,
+ old-time >= 1.0.0.2
+
+ exposed-modules:
diff --git a/graphics/hs-soegtk/pkg-descr b/graphics/hs-soegtk/pkg-descr
new file mode 100644
index 000000000000..c9e0622f719c
--- /dev/null
+++ b/graphics/hs-soegtk/pkg-descr
@@ -0,0 +1,5 @@
+An alternative implementation of the graphics library used in the book The
+Haskell School of Expression, by Paul Hudak, <http://www.haskell.org/soe/>
+This library builds on top of Gtk+.
+
+WWW: http://www.haskell.org/gtk2hs/