aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-01-06 03:38:32 +0800
committerpgj <pgj@FreeBSD.org>2010-01-06 03:38:32 +0800
commit81680cac3e7c09363fa77264d8a276656de49be4 (patch)
tree9e321e23d6519bdf112dec070396d1b313366168 /x11-toolkits
parent7ffaed40eb90f3713126a0b0fe4c13d0234f5591 (diff)
downloadfreebsd-ports-gnome-81680cac3e7c09363fa77264d8a276656de49be4.tar.gz
freebsd-ports-gnome-81680cac3e7c09363fa77264d8a276656de49be4.tar.zst
freebsd-ports-gnome-81680cac3e7c09363fa77264d8a276656de49be4.zip
OpenGLRaw is a raw Haskell binding for the OpenGL 3.2 graphics system and
lots of OpenGL extensions. It is basically a 1:1 mapping of OpenGL's C API, intended as a basis for a nicer interface. OpenGLRaw offers access to all necessary functions, tokens and types plus a general facility for loading extension entries. The module hierarchy closely mirrors the naming structure of the OpenGL extensions, making it easy to find the right module to import. All API entries are loaded dynamically, so no special C header files are needed for building this package. If an API entry is not found at runtime, a userError is thrown. WWW: http://www.haskell.org/HOpenGL/ PR: ports/142125 Submitted by: Jacula Modyun <jacula(at)gmail.com>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/hs-OpenGLRaw-ghc/Makefile80
-rw-r--r--x11-toolkits/hs-OpenGLRaw-ghc/distinfo3
-rw-r--r--x11-toolkits/hs-OpenGLRaw-ghc/pkg-descr11
-rw-r--r--x11-toolkits/hs-OpenGLRaw-ghc/pkg-plist205
-rw-r--r--x11-toolkits/hs-OpenGLRaw/Makefile80
-rw-r--r--x11-toolkits/hs-OpenGLRaw/distinfo3
-rw-r--r--x11-toolkits/hs-OpenGLRaw/pkg-descr11
-rw-r--r--x11-toolkits/hs-OpenGLRaw/pkg-plist205
9 files changed, 599 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 6994b84c8a56..1096ed74be4a 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -91,6 +91,7 @@
SUBDIR += gtoolkit
SUBDIR += guile-gtk
SUBDIR += hippo-canvas
+ SUBDIR += hs-OpenGLRaw-ghc
SUBDIR += hs-frantk
SUBDIR += hs-glut-ghc
SUBDIR += hs-gtk2hs
diff --git a/x11-toolkits/hs-OpenGLRaw-ghc/Makefile b/x11-toolkits/hs-OpenGLRaw-ghc/Makefile
new file mode 100644
index 000000000000..cd76823cc077
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw-ghc/Makefile
@@ -0,0 +1,80 @@
+# New ports collection makefile for: hs-OpenGLRaw-ghc
+# Date created: December 20 2009
+# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= OpenGLRaw
+PORTVERSION= 1.1.0.1
+CATEGORIES= x11-toolkits haskell
+MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
+PKGNAMEPREFIX= hs-
+PKGNAMESUFFIX= -ghc
+
+MAINTAINER= jacula@gmail.com
+COMMENT= A raw Haskell binding for the OpenGL graphics system
+
+BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
+RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
+
+USE_GL= gl
+
+GHC_VERSION= 6.10.4
+HSOPENGLRAW_VERSION= ${PORTVERSION}
+
+GHC_CMD= ${LOCALBASE}/bin/ghc
+SETUP_CMD= ./setup
+
+DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
+HSOPENGLRAW_LIBDIR_REL= lib/${DISTNAME}
+
+PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
+ HSOPENGLRAW_VERSION=${HSOPENGLRAW_VERSION} \
+ HSOPENGLRAW_LIBDIR_REL=${HSOPENGLRAW_LIBDIR_REL}
+
+.if defined(NOPORTDOCS)
+PLIST_SUB+= NOPORTDOCS=""
+.else
+PLIST_SUB+= NOPORTDOCS="@comment "
+.endif
+
+.if !defined(NOPORTDOCS)
+
+PORT_HADDOCK!= (cd ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
+.if !empty(PORT_HADDOCK:M?0)
+BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
+.endif
+BUILD_DEPENDS+= HsColour:${PORTSDIR}/print/hs-hscolour
+
+HSCOLOUR_VERSION= 1.15
+HSCOLOUR_DATADIR= ${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
+
+PORTDOCS= *
+.endif
+
+.SILENT:
+
+do-configure:
+ cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
+ && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX} \
+ --extra-include-dirs=${LOCALBASE}/include \
+ --extra-lib-dirs=${LOCALBASE}/lib
+
+do-build:
+ cd ${WRKSRC} && ${SETUP_CMD} build \
+ && ${SETUP_CMD} register --gen-script
+
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
+ --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
+.endif
+
+do-install:
+ cd ${WRKSRC} && ${SETUP_CMD} install \
+ && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HSOPENGLRAW_LIBDIR_REL}/register.sh
+
+post-install:
+ ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/hs-OpenGLRaw-ghc/distinfo b/x11-toolkits/hs-OpenGLRaw-ghc/distinfo
new file mode 100644
index 000000000000..4d78d058b8e1
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw-ghc/distinfo
@@ -0,0 +1,3 @@
+MD5 (OpenGLRaw-1.1.0.1.tar.gz) = efe968cf32e46ae61b7b19edc2711044
+SHA256 (OpenGLRaw-1.1.0.1.tar.gz) = cee27bab424717bac8eed663bda76b295aa0a1815af27c467845cadd8967df6c
+SIZE (OpenGLRaw-1.1.0.1.tar.gz) = 73758
diff --git a/x11-toolkits/hs-OpenGLRaw-ghc/pkg-descr b/x11-toolkits/hs-OpenGLRaw-ghc/pkg-descr
new file mode 100644
index 000000000000..3945b3cdbff0
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw-ghc/pkg-descr
@@ -0,0 +1,11 @@
+OpenGLRaw is a raw Haskell binding for the OpenGL 3.2 graphics system and
+lots of OpenGL extensions. It is basically a 1:1 mapping of OpenGL's C API,
+intended as a basis for a nicer interface. OpenGLRaw offers access to all
+necessary functions, tokens and types plus a general facility for loading
+extension entries. The module hierarchy closely mirrors the naming structure
+of the OpenGL extensions, making it easy to find the right module to import.
+All API entries are loaded dynamically, so no special C header files are
+needed for building this package. If an API entry is not found at runtime, a
+userError is thrown.
+
+WWW: http://www.haskell.org/HOpenGL/
diff --git a/x11-toolkits/hs-OpenGLRaw-ghc/pkg-plist b/x11-toolkits/hs-OpenGLRaw-ghc/pkg-plist
new file mode 100644
index 000000000000..65e4714ebc3b
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw-ghc/pkg-plist
@@ -0,0 +1,205 @@
+@comment $FreeBSD$
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ColorBufferFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility/Functions.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility/Tokens.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/CopyBuffer.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/CreateContextProfile.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DepthBufferFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DepthClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DepthTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawBuffers.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawBuffersBlend.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawElementsBaseVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawInstanced.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FragmentProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FragmentShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FramebufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FramebufferSRGB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/GeometryShader4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/HalfFloatPixel.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/HalfFloatVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/InstancedArrays.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/MapBufferRange.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/MatrixPalette.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Multisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Multitexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/OcclusionQuery.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/PixelBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/PointParameters.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/PointSprite.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ProvokingVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/SampleShading.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/SeamlessCubeMap.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ShaderObjects.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ShadingLanguage100.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Shadow.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ShadowAmbient.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Sync.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureBorderClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCompression.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCompressionRGTC.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCubeMap.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCubeMapArray.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvAdd.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvCombine.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvCrossbar.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvDot3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureGather.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureMirroredRepeat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureMultisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureRG.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureRectangle.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TransposeMatrix.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/UniformBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexArrayObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexBlend.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/WindowPos.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/Functions.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/Tokens.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/Types.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/TypesInternal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core32.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Abgr.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Bgra.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BindableUniform.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendEquationSeparate.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendFuncSeparate.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendMinmax.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendSubtract.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/ClipVolumeHint.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Cmyka.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/ColorSubtable.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CompiledVertexArray.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Convolution.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CoordinateFrame.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CopyTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CullVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/DepthBoundsTest.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/DirectStateAccess.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/DrawRangeElements.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FogCoord.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FourTwoTwoPixels.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FragmentLighting.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FramebufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FramebufferSRGB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/GeometryShader4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/GpuProgramParameters.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Histogram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/IndexArrayFormats.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/IndexFunc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/IndexMaterial.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/LightTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/MultiDrawArrays.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Multisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PackedFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PackedPixels.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PalettedTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PixelTransform.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PointParameters.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PolygonOffset.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/ProvokingVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/RescaleNormal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SceneMarker.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SecondaryColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SeparateSpecularColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SharedTexturePalette.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/StencilClearTag.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/StencilTwoSide.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/StencilWrap.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Subtexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Texture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Texture3D.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureCompressionDxt1.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureCompressionLatc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureCompressionS3tc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureEnvAdd.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureEnvCombine.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureEnvDot3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureFilterAnisotropic.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureInteger.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureLodBias.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureMirrorClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TexturePerturbNormal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureSRGB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureSwizzle.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TimerQuery.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/VertexArray.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/VertexShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/VertexWeighting.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Extensions.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/GetProcAddress.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/ConditionalRender.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/CopyDepthToColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/DepthBufferFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/DepthClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/ExplicitMultisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/Fence.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FloatBuffer.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FogDistance.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FragmentProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FragmentProgram2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FramebufferMultisampleCoverage.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/GeometryProgram4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/GpuProgram4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/HalfFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/LightMaxExponent.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/MultisampleFilterHint.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/OcclusionQuery.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PackedDepthStencil.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/ParameterBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PixelDataRange.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PointSprite.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PresentVideo.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PrimitiveRestart.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/RegisterCombiners.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/RegisterCombiners2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TexgenEmboss.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TexgenReflection.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureCompressionVtc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureEnvCombine4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureExpandNormal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureRectangle.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureShader2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureShader3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TransformFeedback.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TransformFeedback2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexArrayRange.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexArrayRange2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram2Option.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSOpenGLRaw-%%HSOPENGLRAW_VERSION%%.o
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSOpenGLRaw-%%HSOPENGLRAW_VERSION%%.a
+%%HSOPENGLRAW_LIBDIR_REL%%/register.sh
+%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
+%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%
+@exec /bin/sh %D/%%HSOPENGLRAW_LIBDIR_REL%%/register.sh
+@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec %D/bin/ghc-pkg unregister OpenGLRaw
+@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
diff --git a/x11-toolkits/hs-OpenGLRaw/Makefile b/x11-toolkits/hs-OpenGLRaw/Makefile
new file mode 100644
index 000000000000..cd76823cc077
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw/Makefile
@@ -0,0 +1,80 @@
+# New ports collection makefile for: hs-OpenGLRaw-ghc
+# Date created: December 20 2009
+# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= OpenGLRaw
+PORTVERSION= 1.1.0.1
+CATEGORIES= x11-toolkits haskell
+MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
+PKGNAMEPREFIX= hs-
+PKGNAMESUFFIX= -ghc
+
+MAINTAINER= jacula@gmail.com
+COMMENT= A raw Haskell binding for the OpenGL graphics system
+
+BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
+RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
+
+USE_GL= gl
+
+GHC_VERSION= 6.10.4
+HSOPENGLRAW_VERSION= ${PORTVERSION}
+
+GHC_CMD= ${LOCALBASE}/bin/ghc
+SETUP_CMD= ./setup
+
+DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
+HSOPENGLRAW_LIBDIR_REL= lib/${DISTNAME}
+
+PLIST_SUB= GHC_VERSION=${GHC_VERSION} \
+ HSOPENGLRAW_VERSION=${HSOPENGLRAW_VERSION} \
+ HSOPENGLRAW_LIBDIR_REL=${HSOPENGLRAW_LIBDIR_REL}
+
+.if defined(NOPORTDOCS)
+PLIST_SUB+= NOPORTDOCS=""
+.else
+PLIST_SUB+= NOPORTDOCS="@comment "
+.endif
+
+.if !defined(NOPORTDOCS)
+
+PORT_HADDOCK!= (cd ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
+.if !empty(PORT_HADDOCK:M?0)
+BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
+.endif
+BUILD_DEPENDS+= HsColour:${PORTSDIR}/print/hs-hscolour
+
+HSCOLOUR_VERSION= 1.15
+HSCOLOUR_DATADIR= ${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
+
+PORTDOCS= *
+.endif
+
+.SILENT:
+
+do-configure:
+ cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
+ && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX} \
+ --extra-include-dirs=${LOCALBASE}/include \
+ --extra-lib-dirs=${LOCALBASE}/lib
+
+do-build:
+ cd ${WRKSRC} && ${SETUP_CMD} build \
+ && ${SETUP_CMD} register --gen-script
+
+.if !defined(NOPORTDOCS)
+ cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
+ --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
+.endif
+
+do-install:
+ cd ${WRKSRC} && ${SETUP_CMD} install \
+ && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${HSOPENGLRAW_LIBDIR_REL}/register.sh
+
+post-install:
+ ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/hs-OpenGLRaw/distinfo b/x11-toolkits/hs-OpenGLRaw/distinfo
new file mode 100644
index 000000000000..4d78d058b8e1
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw/distinfo
@@ -0,0 +1,3 @@
+MD5 (OpenGLRaw-1.1.0.1.tar.gz) = efe968cf32e46ae61b7b19edc2711044
+SHA256 (OpenGLRaw-1.1.0.1.tar.gz) = cee27bab424717bac8eed663bda76b295aa0a1815af27c467845cadd8967df6c
+SIZE (OpenGLRaw-1.1.0.1.tar.gz) = 73758
diff --git a/x11-toolkits/hs-OpenGLRaw/pkg-descr b/x11-toolkits/hs-OpenGLRaw/pkg-descr
new file mode 100644
index 000000000000..3945b3cdbff0
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw/pkg-descr
@@ -0,0 +1,11 @@
+OpenGLRaw is a raw Haskell binding for the OpenGL 3.2 graphics system and
+lots of OpenGL extensions. It is basically a 1:1 mapping of OpenGL's C API,
+intended as a basis for a nicer interface. OpenGLRaw offers access to all
+necessary functions, tokens and types plus a general facility for loading
+extension entries. The module hierarchy closely mirrors the naming structure
+of the OpenGL extensions, making it easy to find the right module to import.
+All API entries are loaded dynamically, so no special C header files are
+needed for building this package. If an API entry is not found at runtime, a
+userError is thrown.
+
+WWW: http://www.haskell.org/HOpenGL/
diff --git a/x11-toolkits/hs-OpenGLRaw/pkg-plist b/x11-toolkits/hs-OpenGLRaw/pkg-plist
new file mode 100644
index 000000000000..65e4714ebc3b
--- /dev/null
+++ b/x11-toolkits/hs-OpenGLRaw/pkg-plist
@@ -0,0 +1,205 @@
+@comment $FreeBSD$
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ColorBufferFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility/Functions.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility/Tokens.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/CopyBuffer.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/CreateContextProfile.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DepthBufferFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DepthClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DepthTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawBuffers.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawBuffersBlend.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawElementsBaseVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/DrawInstanced.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FragmentProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FragmentShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FramebufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/FramebufferSRGB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/GeometryShader4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/HalfFloatPixel.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/HalfFloatVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/InstancedArrays.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/MapBufferRange.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/MatrixPalette.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Multisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Multitexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/OcclusionQuery.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/PixelBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/PointParameters.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/PointSprite.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ProvokingVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/SampleShading.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/SeamlessCubeMap.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ShaderObjects.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ShadingLanguage100.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Shadow.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/ShadowAmbient.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Sync.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureBorderClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCompression.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCompressionRGTC.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCubeMap.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureCubeMapArray.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvAdd.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvCombine.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvCrossbar.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureEnvDot3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureGather.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureMirroredRepeat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureMultisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureRG.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TextureRectangle.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/TransposeMatrix.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/UniformBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexArrayObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexBlend.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/VertexShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/WindowPos.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/Functions.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/Tokens.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/Types.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31/TypesInternal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core32.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Abgr.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Bgra.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BindableUniform.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendEquationSeparate.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendFuncSeparate.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendMinmax.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/BlendSubtract.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/ClipVolumeHint.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Cmyka.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/ColorSubtable.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CompiledVertexArray.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Convolution.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CoordinateFrame.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CopyTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/CullVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/DepthBoundsTest.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/DirectStateAccess.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/DrawRangeElements.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FogCoord.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FourTwoTwoPixels.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FragmentLighting.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FramebufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/FramebufferSRGB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/GeometryShader4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/GpuProgramParameters.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Histogram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/IndexArrayFormats.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/IndexFunc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/IndexMaterial.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/LightTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/MultiDrawArrays.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Multisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PackedFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PackedPixels.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PalettedTexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PixelTransform.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PointParameters.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/PolygonOffset.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/ProvokingVertex.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/RescaleNormal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SceneMarker.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SecondaryColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SeparateSpecularColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/SharedTexturePalette.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/StencilClearTag.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/StencilTwoSide.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/StencilWrap.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Subtexture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Texture.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/Texture3D.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureCompressionDxt1.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureCompressionLatc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureCompressionS3tc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureEnvAdd.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureEnvCombine.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureEnvDot3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureFilterAnisotropic.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureInteger.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureLodBias.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureMirrorClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TexturePerturbNormal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureSRGB.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TextureSwizzle.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/TimerQuery.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/VertexArray.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/VertexShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT/VertexWeighting.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Extensions.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/GetProcAddress.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/ConditionalRender.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/CopyDepthToColor.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/DepthBufferFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/DepthClamp.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/ExplicitMultisample.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/Fence.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FloatBuffer.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FogDistance.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FragmentProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FragmentProgram2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/FramebufferMultisampleCoverage.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/GeometryProgram4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/GpuProgram4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/HalfFloat.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/LightMaxExponent.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/MultisampleFilterHint.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/OcclusionQuery.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PackedDepthStencil.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/ParameterBufferObject.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PixelDataRange.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PointSprite.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PresentVideo.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/PrimitiveRestart.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/RegisterCombiners.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/RegisterCombiners2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TexgenEmboss.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TexgenReflection.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureCompressionVtc.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureEnvCombine4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureExpandNormal.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureRectangle.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureShader.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureShader2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TextureShader3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TransformFeedback.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/TransformFeedback2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexArrayRange.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexArrayRange2.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram2Option.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram3.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV/VertexProgram4.hi
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSOpenGLRaw-%%HSOPENGLRAW_VERSION%%.o
+%%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSOpenGLRaw-%%HSOPENGLRAW_VERSION%%.a
+%%HSOPENGLRAW_LIBDIR_REL%%/register.sh
+%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
+%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/NV
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/EXT
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/Core31
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB/Compatibility
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw/ARB
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL/Raw
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/OpenGL
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
+@dirrm %%HSOPENGLRAW_LIBDIR_REL%%
+@exec /bin/sh %D/%%HSOPENGLRAW_LIBDIR_REL%%/register.sh
+@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec %D/bin/ghc-pkg unregister OpenGLRaw
+@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old