summaryrefslogtreecommitdiff
path: root/x11-toolkits/hs-gtk2hs/Makefile
blob: 79be8edd5ec4bb20039e6d4e8a43f0003287c5a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Created by: Oliver Braun <obraun@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gtk2hs
PORTVERSION=	0.12.4
PORTREVISION=	2
PORTEPOCH=	1
CATEGORIES=	x11-toolkits haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	GTK2 Binding for Haskell

METAPORT=	yes
USE_CABAL=	glib gio cairo pango gtk

OPTIONS_DEFINE=		GCONF GLADE GSTREAMER GTKGLEXT GTKSOURCEVIEW2 SVGCAIRO VTE WEBKIT SOEGTK

GCONF_DESC=		GConf2 configuration system
GLADE_DESC=		libglade UI loader
GSTREAMER_DESC=		Media codec library
GTKGLEXT_DESC=		Gtk+ OpenGL extension
GTKSOURCEVIEW2_DESC=	Source code editor
SVGCAIRO_DESC=		Cairo SVG loader
VTE_DESC=		Terminal emulator
WEBKIT_DESC=		WebKit rendering engine
SOEGTK_DESC=		Examples for Haskell SoE

NO_STAGE=	yes
.include "../../lang/ghc/bsd.cabal.options.mk"

.if ${PORT_OPTIONS:MGCONF}
USE_CABAL+=		gconf
.endif

.if ${PORT_OPTIONS:MGLADE}
USE_CABAL+=		glade
.endif

.if ${PORT_OPTIONS:MGSTREAMER}
USE_CABAL+=		gstreamer
.endif

.if ${PORT_OPTIONS:MGTKGLEXT}
USE_CABAL+=		gtkglext
.endif

.if ${PORT_OPTIONS:MGSOURCEVIEW2}
USE_CABAL+=		gsourceview2
.endif

.if ${PORT_OPTIONS:MSVGCAIRO}
USE_CABAL+=		svgcairo
.endif

.if ${PORT_OPTIONS:MVTE}
USE_CABAL+=		vte
.endif

.if ${PORT_OPTIONS:MWEBKIT}
USE_CABAL+=		webkit
.endif

.if ${PORT_OPTIONS:MSOEGTK}
USE_CABAL+=		soegtk
.endif

.include "../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>