openbsd-ports/x11/hs-gtk/Makefile

38 lines
932 B
Makefile
Raw Normal View History

2011-04-11 10:57:52 -04:00
# $OpenBSD: Makefile,v 1.6 2011/04/11 14:57:52 kili Exp $
COMMENT = Haskell bindings to gtk+2
2011-04-11 10:57:52 -04:00
DISTNAME = gtk-0.12.0
CATEGORIES = devel x11
HOMEPAGE = http://www.haskell.org/gtk2hs/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# LGPLv2.1
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MODULES = lang/ghc
MODGHC_BUILD = cabal hackage haddock register
2011-04-11 10:57:52 -04:00
BUILD_DEPENDS = devel/gtk2hs-buildtools \
${RUN_DEPENDS}
LIB_DEPENDS = x11/gtk+2
RUN_DEPENDS = hs-glib->=0.12,<0.13:devel/hs-glib \
hs-gio->=0.12,<0.13:devel/hs-gio \
hs-pango->=0.12,<0.13:devel/hs-pango \
hs-cairo->=0.12,<0.13:graphics/hs-cairo \
# tiny 2 GB are enough on amd64.... we need a BLOAT_WARNING
VMEM_WARNING = Yes
2011-04-11 10:57:52 -04:00
# This is much simpler than fiddling with MODGHC_SETUP_CONF_ARGS:
post-install:
mv ${PREFIX}/share/${PKGNAME} ${PREFIX}/share/examples
.include <bsd.port.mk>