openbsd-ports/graphics/hs-GLUT/Makefile
kili 205d4391a4 Add LIB_DEPENDS to RUN_DEPENDS.
Switch to REVISION.
Bump.
2010-07-17 13:43:36 +00:00

36 lines
813 B
Makefile

# $OpenBSD: Makefile,v 1.6 2010/07/17 13:43:37 kili Exp $
COMMENT = Haskell binding for the OpenGL Utility Toolkit
DISTNAME = GLUT-2.1.2.1
REVISION = 4
CATEGORIES = graphics devel
HOMEPAGE = http://www.haskell.org/HOpenGL/
MAINTAINER = Matthias Kilian <kili@openbsd.org>
# BSD3
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
LIB_DEPENDS = :hs-OpenGL->=2.2:graphics/hs-OpenGL
# Should be changed to LIB_DEPENDS as soon as we have a GHC with
# shared libs.
RUN_DEPENDS = ${LIB_DEPENDS} \
::graphics/freeglut
BUILD_DEPENDS = ${RUN_DEPENDS}
USE_X11 = Yes
MODGHC_SETUP_CONF_ENV = CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.include <bsd.port.mk>