2012-09-02 17:21:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2012/09/02 21:21:05 kili Exp $
|
2010-04-12 07:31:29 -04:00
|
|
|
|
|
|
|
COMMENT = Haskell binding for the OpenGL Utility Toolkit
|
|
|
|
|
|
|
|
DISTNAME = GLUT-2.1.2.1
|
2012-09-02 17:21:05 -04:00
|
|
|
REVISION = 9
|
2010-04-12 07:31:29 -04:00
|
|
|
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
|
|
|
|
|
2012-09-02 17:21:05 -04:00
|
|
|
# Haddock vomits on this.
|
|
|
|
MODGHC_BUILD = cabal hackage register
|
2010-04-12 07:31:29 -04:00
|
|
|
|
|
|
|
# Should be changed to LIB_DEPENDS as soon as we have a GHC with
|
|
|
|
# shared libs.
|
2011-04-11 10:46:29 -04:00
|
|
|
RUN_DEPENDS = graphics/freeglut \
|
|
|
|
graphics/hs-OpenGL>=2.2
|
2010-04-12 07:31:29 -04:00
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
|
|
|
|
|
|
|
|
|
|
MODGHC_SETUP_CONF_ENV = CPPFLAGS=-I${LOCALBASE}/include \
|
2010-06-15 14:01:57 -04:00
|
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
2010-04-12 07:31:29 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|