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

PORTNAME=   gtk2hs
PORTVERSION=    0.9.4
PORTREVISION=   2
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-5.04.3:${PORTSDIR}/lang/ghc5
RUN_DEPENDS=    ghc-5.04.3:${PORTSDIR}/lang/ghc5

USE_GNOME=  gtk20
HAS_CONFIGURE=  yes
CONFIGURE_ARGS+=    --with-c2hs=no
USE_GMAKE=  yes
MAKE_ENV+=  BUILDDOCS=no

GHC_VERSION=    `${LOCALBASE}/bin/ghc --numeric-version`
PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"

.include <bsd.port.mk>