aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2011-05-09 03:15:20 +0800
committerashish <ashish@FreeBSD.org>2011-05-09 03:15:20 +0800
commit56760dff249a1be04fa04e1af3e7360432a772c4 (patch)
tree4b421ae2a77167e6c7e270b39c97ffeab21cf924 /devel
parentdbf8a0ca0cc7fdace1454fab2b5286aeae76475e (diff)
downloadfreebsd-ports-gnome-56760dff249a1be04fa04e1af3e7360432a772c4.tar.gz
freebsd-ports-gnome-56760dff249a1be04fa04e1af3e7360432a772c4.tar.zst
freebsd-ports-gnome-56760dff249a1be04fa04e1af3e7360432a772c4.zip
This package provides a set of helper programs necessary to build the Gtk2Hs
suite of libraries. These tools include a modified c2hs binding tool that is used to generated FFI declarations, a tool to build a type hiearchy that mirrors the C type hiearchy of GObjects found in glib, and a generator for signal declarations that are used to call back from C to Haskell. These tools are not needed to actually run Gtk2Hs programs. WWW: http://www.haskell.org/gtk2hs/ Approved by: pgj (mentor) Obtained from: FreeBSD Haskell
Diffstat (limited to 'devel')
-rw-r--r--devel/hs-gtk2hs-buildtools/Makefile27
-rw-r--r--devel/hs-gtk2hs-buildtools/distinfo2
-rw-r--r--devel/hs-gtk2hs-buildtools/pkg-descr8
-rw-r--r--devel/hs-gtk2hs-buildtools/pkg-plist7
4 files changed, 44 insertions, 0 deletions
diff --git a/devel/hs-gtk2hs-buildtools/Makefile b/devel/hs-gtk2hs-buildtools/Makefile
new file mode 100644
index 000000000000..3674077288d2
--- /dev/null
+++ b/devel/hs-gtk2hs-buildtools/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: hs-gtk2hs-buildtools
+# Date created: March 13, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtk2hs-buildtools
+PORTVERSION= 0.12.0
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Tools to build the Gtk2Hs suite of User Interface Libraries
+
+LICENSE= GPLv2
+FILE_LICENSE= COPYING
+
+CABAL_SETUP= Setup.hs
+
+USE_ALEX= yes
+USE_HAPPY= yes
+
+STANDALONE= yes
+EXECUTABLE= gtk2hsTypeGen gtk2hsHookGenerator gtk2hsC2hs
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-gtk2hs-buildtools/distinfo b/devel/hs-gtk2hs-buildtools/distinfo
new file mode 100644
index 000000000000..cabc4f13a4ea
--- /dev/null
+++ b/devel/hs-gtk2hs-buildtools/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/gtk2hs-buildtools-0.12.0.tar.gz) = 4819b3270d0b5e4775808679815764e7a86ac0866c7c200304ecc39fb2aff4b3
+SIZE (cabal/gtk2hs-buildtools-0.12.0.tar.gz) = 211213
diff --git a/devel/hs-gtk2hs-buildtools/pkg-descr b/devel/hs-gtk2hs-buildtools/pkg-descr
new file mode 100644
index 000000000000..5886066ca240
--- /dev/null
+++ b/devel/hs-gtk2hs-buildtools/pkg-descr
@@ -0,0 +1,8 @@
+This package provides a set of helper programs necessary to build the Gtk2Hs
+suite of libraries. These tools include a modified c2hs binding tool that
+is used to generated FFI declarations, a tool to build a type hiearchy that
+mirrors the C type hiearchy of GObjects found in glib, and a generator for
+signal declarations that are used to call back from C to Haskell. These tools
+are not needed to actually run Gtk2Hs programs.
+
+WWW: http://www.haskell.org/gtk2hs/
diff --git a/devel/hs-gtk2hs-buildtools/pkg-plist b/devel/hs-gtk2hs-buildtools/pkg-plist
new file mode 100644
index 000000000000..49b8f0ea288f
--- /dev/null
+++ b/devel/hs-gtk2hs-buildtools/pkg-plist
@@ -0,0 +1,7 @@
+@comment $FreeBSD$
+%%DATADIR%%/callbackGen/Signal.chs.template
+%%DATADIR%%/hierarchyGen/Hierarchy.chs.template
+%%DATADIR%%/hierarchyGen/hierarchy.list
+@dirrmtry %%DATADIR%%/callbackGen
+@dirrmtry %%DATADIR%%/hierarchyGen
+@dirrmtry %%DATADIR%%