diff --git a/graphics/hs-GLURaw/Makefile b/graphics/hs-GLURaw/Makefile new file mode 100644 index 00000000000..4bf693accab --- /dev/null +++ b/graphics/hs-GLURaw/Makefile @@ -0,0 +1,26 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2013/07/18 21:02:02 kili Exp $ + +COMMENT = raw Haskell binding for the OpenGL utility library + +DISTNAME = GLURaw-1.3.0.0 +CATEGORIES = graphics devel +HOMEPAGE = http://www.haskell.org/haskellwiki/Opengl + +MAINTAINER = Matthias Kilian + +# BSD3 +PERMIT_PACKAGE_CDROM = Yes + +MODULES = lang/ghc + +MODGHC_BUILD = cabal hackage haddock register + +MODGHC_SETUP_CONF_ARGS = \ + --extra-include-dirs=${X11BASE}/include \ + --extra-lib-dirs=${X11BASE}/lib + +RUN_DEPENDS = graphics/hs-OpenGLRaw>=1.3,<1.4 + +BUILD_DEPENDS = ${RUN_DEPENDS} + +.include diff --git a/graphics/hs-GLURaw/distinfo b/graphics/hs-GLURaw/distinfo new file mode 100644 index 00000000000..4f914007979 --- /dev/null +++ b/graphics/hs-GLURaw/distinfo @@ -0,0 +1,2 @@ +SHA256 (ghc/GLURaw-1.3.0.0.tar.gz) = 4DkFcQBD6y6YeOX8dflpxPEgMhvGp3Cc3jqYkL48COo= +SIZE (ghc/GLURaw-1.3.0.0.tar.gz) = 7779 diff --git a/graphics/hs-GLURaw/patches/patch-GLURaw_cabal b/graphics/hs-GLURaw/patches/patch-GLURaw_cabal new file mode 100644 index 00000000000..cb12fc3b6fc --- /dev/null +++ b/graphics/hs-GLURaw/patches/patch-GLURaw_cabal @@ -0,0 +1,12 @@ +$OpenBSD: patch-GLURaw_cabal,v 1.1.1.1 2013/07/18 21:02:02 kili Exp $ +--- GLURaw.cabal.orig Sun Nov 4 20:17:44 2012 ++++ GLURaw.cabal Mon Jul 8 15:01:05 2013 +@@ -54,7 +54,7 @@ library + if os(darwin) + frameworks: OpenGL + else +- extra-libraries: GLU ++ extra-libraries: GLU GL + + source-repository head + type: git diff --git a/graphics/hs-GLURaw/pkg/DESCR b/graphics/hs-GLURaw/pkg/DESCR new file mode 100644 index 00000000000..b1711eb1f53 --- /dev/null +++ b/graphics/hs-GLURaw/pkg/DESCR @@ -0,0 +1,3 @@ +GLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility +library. It is basically a 1:1 mapping of GLU's C API, intended as +a basis for a nicer interface. diff --git a/graphics/hs-GLURaw/pkg/PLIST b/graphics/hs-GLURaw/pkg/PLIST new file mode 100644 index 00000000000..caefeacf05e --- /dev/null +++ b/graphics/hs-GLURaw/pkg/PLIST @@ -0,0 +1,57 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2013/07/18 21:02:02 kili Exp $ +lib/ghc/${DISTNAME}/ +lib/ghc/${DISTNAME}/Graphics/ +lib/ghc/${DISTNAME}/Graphics/Rendering/ +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/ +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/ +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw.hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw.p_hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/APIEntry.hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/APIEntry.p_hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Callbacks.hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Callbacks.p_hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Functions.hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Functions.p_hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Tokens.hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Tokens.p_hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Types.hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/Types.p_hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/TypesInternal.hi +lib/ghc/${DISTNAME}/Graphics/Rendering/GLU/Raw/TypesInternal.p_hi +lib/ghc/${DISTNAME}/HS${DISTNAME}.o +lib/ghc/${DISTNAME}/libHS${DISTNAME}.a +lib/ghc/${DISTNAME}/libHS${DISTNAME}_p.a +lib/ghc/${DISTNAME}/register.sh +share/doc/hs-${DISTNAME}/ +share/doc/hs-${DISTNAME}/LICENSE +share/doc/hs-${DISTNAME}/html/ +share/doc/hs-${DISTNAME}/html/GLURaw.haddock +share/doc/hs-${DISTNAME}/html/Graphics-Rendering-GLU-Raw-Callbacks.html +share/doc/hs-${DISTNAME}/html/Graphics-Rendering-GLU-Raw-Functions.html +share/doc/hs-${DISTNAME}/html/Graphics-Rendering-GLU-Raw-Tokens.html +share/doc/hs-${DISTNAME}/html/Graphics-Rendering-GLU-Raw-Types.html +share/doc/hs-${DISTNAME}/html/Graphics-Rendering-GLU-Raw.html +share/doc/hs-${DISTNAME}/html/doc-index-All.html +share/doc/hs-${DISTNAME}/html/doc-index-G.html +share/doc/hs-${DISTNAME}/html/doc-index-M.html +share/doc/hs-${DISTNAME}/html/doc-index-N.html +share/doc/hs-${DISTNAME}/html/doc-index-Q.html +share/doc/hs-${DISTNAME}/html/doc-index-T.html +share/doc/hs-${DISTNAME}/html/doc-index.html +share/doc/hs-${DISTNAME}/html/frames.html +share/doc/hs-${DISTNAME}/html/haddock-util.js +share/doc/hs-${DISTNAME}/html/hslogo-16.png +share/doc/hs-${DISTNAME}/html/index-frames.html +share/doc/hs-${DISTNAME}/html/index.html +share/doc/hs-${DISTNAME}/html/mini_Graphics-Rendering-GLU-Raw-Callbacks.html +share/doc/hs-${DISTNAME}/html/mini_Graphics-Rendering-GLU-Raw-Functions.html +share/doc/hs-${DISTNAME}/html/mini_Graphics-Rendering-GLU-Raw-Tokens.html +share/doc/hs-${DISTNAME}/html/mini_Graphics-Rendering-GLU-Raw-Types.html +share/doc/hs-${DISTNAME}/html/mini_Graphics-Rendering-GLU-Raw.html +share/doc/hs-${DISTNAME}/html/minus.gif +share/doc/hs-${DISTNAME}/html/ocean.css +share/doc/hs-${DISTNAME}/html/plus.gif +share/doc/hs-${DISTNAME}/html/synopsis.png +@exec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/register.sh -v0 +@unexec /usr/bin/env HOME=/nonexistent %D/lib/ghc/${DISTNAME}/unregister.sh -v0 --force +lib/ghc/${DISTNAME}/unregister.sh