summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-gtk2hs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/hs-gtk2hs/Makefile')
-rw-r--r--x11-toolkits/hs-gtk2hs/Makefile38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-toolkits/hs-gtk2hs/Makefile b/x11-toolkits/hs-gtk2hs/Makefile
new file mode 100644
index 000000000..b7f701fc9
--- /dev/null
+++ b/x11-toolkits/hs-gtk2hs/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: gtk2hs
+# Date created: 03 June 2002
+# Whom: Oliver Braun <obraun@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtk2hs
+PORTVERSION= 0.9.10
+PORTREVISION= 3
+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 \
+ ${LOCALBASE}/lib/mozilla/libxpcom.so:${PORTSDIR}/www/mozilla
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GNOME= gtk20 libglade2 gtksourceview gconf2
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+SUB_FILES= pkg-install
+PKGDEINSTALL= ${PKGINSTALL}
+
+GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version`
+PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"
+SUB_LIST+= GHC_VERSION="${GHC_VERSION}" \
+ PORTVERSION=${PORTVERSION} \
+ PKGS="${PKGS}"
+
+PKGS= cairo glib gtk mogul glade gconf sourceview mozembed
+
+.include <bsd.port.mk>