aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-gtk2hs/Makefile
blob: dece854acbf2e7a0d8ffd2b5a0ad7fd919cae1e7 (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
# New ports collection makefile for:   gtk2hs
# Date created:        03 June 2002
# Whom:                Oliver Braun <obraun@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   gtk2hs
PORTVERSION=    0.10.0
PORTEPOCH=  1
CATEGORIES= x11-toolkits haskell
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX=  hs-

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

BUILD_DEPENDS=  ghc:${PORTSDIR}/lang/ghc \
        xulrunner:${PORTSDIR}/www/xulrunner \
        gstreamer-plugins>=0.10:${PORTSDIR}/multimedia/gstreamer-plugins
LIB_DEPENDS=    gstreamer-0.10:${PORTSDIR}/multimedia/gstreamer \
        gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext
RUN_DEPENDS=    ${BUILD_DEPENDS}

USE_GNOME=  gnomelibs gtk20 libglade2 gtksourceview2 gconf2 librsvg2 gnomevfs2
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
SUB_FILES=  pkg-install
PKGDEINSTALL=   ${PKGINSTALL}

GHC_VERSION=    6.8.3
PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"
SUB_LIST+=  GHC_VERSION="${GHC_VERSION}" \
        PORTVERSION=${PORTVERSION} \
        PKGS="${PKGS}"

PKGS=       glib gio gtk glade cairo svgcairo gtkglext gconf \
        gtksourceview2 mozembed soegtk gstreamer \
        gnomevfs

.include <bsd.port.mk>