summaryrefslogtreecommitdiff
path: root/graphics/hs-soegtk
diff options
context:
space:
mode:
authorAshish SHUKLA <ashish@FreeBSD.org>2011-05-08 19:28:45 +0000
committerAshish SHUKLA <ashish@FreeBSD.org>2011-05-08 19:28:45 +0000
commite5df54152a4de8986f0a1e3f1029b4cb30a7dbe9 (patch)
treeee1b60e564558fad2b8d876ef2a963044bbf47bc /graphics/hs-soegtk
parentCairo is a library to render high quality vector graphics. There exist various (diff)
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
Notes
Notes: svn path=/head/; revision=273818
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/