openbsd-ports/graphics/hs-GLUT/Makefile
kili 2acb3c8385 Move the @exec and @unexec lines running the {,un}register.sh scripts
and the line with the unregister.sh script down to the bottom of
the plist. Silences all the blurb about ".../*.haddock doesn't exist
or isn't a file."
2012-10-28 23:24:28 +00:00

34 lines
773 B
Makefile

# $OpenBSD: Makefile,v 1.14 2012/10/28 23:30:15 kili Exp $
COMMENT = Haskell binding for the OpenGL Utility Toolkit
DISTNAME = GLUT-2.1.2.1
REVISION = 10
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
# Haddock vomits on this.
MODGHC_BUILD = cabal hackage register
# Should be changed to LIB_DEPENDS as soon as we have a GHC with
# shared libs.
RUN_DEPENDS = graphics/freeglut \
graphics/hs-OpenGL>=2.2
BUILD_DEPENDS = ${RUN_DEPENDS}
MODGHC_SETUP_CONF_ENV = CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.include <bsd.port.mk>