1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

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
This commit is contained in:
Ashish SHUKLA 2011-05-08 19:15:20 +00:00
parent f8e2d628f1
commit b3b140f838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=273807
4 changed files with 44 additions and 0 deletions

View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (cabal/gtk2hs-buildtools-0.12.0.tar.gz) = 4819b3270d0b5e4775808679815764e7a86ac0866c7c200304ecc39fb2aff4b3
SIZE (cabal/gtk2hs-buildtools-0.12.0.tar.gz) = 211213

View File

@ -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/

View File

@ -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%%