aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-GLUT
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-01-06 03:55:23 +0800
committerpgj <pgj@FreeBSD.org>2010-01-06 03:55:23 +0800
commit3f8d0cf319ccf4adf8f06cf4df3b2c93673177ae (patch)
tree2b945b33a479ea45b6e7504a09f9023fa8492181 /x11-toolkits/hs-GLUT
parent4f948c678bb4d914f29277ac8aba2d4ff7ed64ef (diff)
downloadfreebsd-ports-gnome-3f8d0cf319ccf4adf8f06cf4df3b2c93673177ae.tar.gz
freebsd-ports-gnome-3f8d0cf319ccf4adf8f06cf4df3b2c93673177ae.tar.zst
freebsd-ports-gnome-3f8d0cf319ccf4adf8f06cf4df3b2c93673177ae.zip
- Update to 2.2.2.0
PR: ports/142131 Submitted by: Jacula Modyun <jacula(at)gmail.com>
Diffstat (limited to 'x11-toolkits/hs-GLUT')
-rw-r--r--x11-toolkits/hs-GLUT/Makefile21
-rw-r--r--x11-toolkits/hs-GLUT/distinfo6
-rw-r--r--x11-toolkits/hs-GLUT/pkg-plist11
3 files changed, 21 insertions, 17 deletions
diff --git a/x11-toolkits/hs-GLUT/Makefile b/x11-toolkits/hs-GLUT/Makefile
index 0a44ab7e41bd..cc9da831682d 100644
--- a/x11-toolkits/hs-GLUT/Makefile
+++ b/x11-toolkits/hs-GLUT/Makefile
@@ -5,8 +5,7 @@
# $FreeBSD$
PORTNAME= glut
-PORTVERSION= 2.1.2.1
-PORTREVISION= 1
+PORTVERSION= 2.2.2.0
CATEGORIES= x11-toolkits haskell
MASTER_SITES= http://hackage.haskell.org/packages/archive/GLUT/${PORTVERSION}/
PKGNAMEPREFIX= hs-
@@ -19,10 +18,14 @@ COMMENT= A Haskell binding for the OpenGL Utility Toolkit
USE_GL= glut
BUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
- hs-opengl-ghc>=2.2:${PORTSDIR}/x11-toolkits/hs-opengl-ghc
+ hs-opengl-ghc>=2.3:${PORTSDIR}/x11-toolkits/hs-opengl-ghc \
+ hs-StateVar>=1.0.0.0:${PORTSDIR}/devel/hs-StateVar \
+ hs-Tensor>=1.0.0.1:${PORTSDIR}/devel/hs-Tensor
+
RUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
- hs-opengl-ghc>=2.2:${PORTSDIR}/x11-toolkits/hs-opengl-ghc
-LIB_DEPENDS+= gmp.8:${PORTSDIR}/math/libgmp4
+ hs-opengl-ghc>=2.3:${PORTSDIR}/x11-toolkits/hs-opengl-ghc \
+ hs-StateVar>=1.0.0.0:${PORTSDIR}/devel/hs-StateVar \
+ hs-Tensor>=1.0.0.1:${PORTSDIR}/devel/hs-Tensor
GHC_VERSION= 6.10.4
HSGLUT_VERSION= ${PORTVERSION}
@@ -59,13 +62,11 @@ PORTDOCS= *
.SILENT:
-post-patch:
- @${REINPLACE_CMD} 's|/usr/local/include|${LOCALBASE}/include|g' \
- ${WRKSRC}/configure
-
do-configure:
cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
- && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
+ && ${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 \
diff --git a/x11-toolkits/hs-GLUT/distinfo b/x11-toolkits/hs-GLUT/distinfo
index 06900d54f25c..c0e2734cf51a 100644
--- a/x11-toolkits/hs-GLUT/distinfo
+++ b/x11-toolkits/hs-GLUT/distinfo
@@ -1,3 +1,3 @@
-MD5 (GLUT-2.1.2.1.tar.gz) = b97f476a04098701e330e86c1f89ed52
-SHA256 (GLUT-2.1.2.1.tar.gz) = 0230bfacbfb85c126f1fba45fcd8d02f20da9ee19180b5ada698224362d17264
-SIZE (GLUT-2.1.2.1.tar.gz) = 720222
+MD5 (GLUT-2.2.2.0.tar.gz) = e11912f50b76950b0d9e27d25127e391
+SHA256 (GLUT-2.2.2.0.tar.gz) = 3d7febc48af4688b6b10a7356c25f33e54d4eb3643e10fbe26ff6e39b9bc3442
+SIZE (GLUT-2.2.2.0.tar.gz) = 650235
diff --git a/x11-toolkits/hs-GLUT/pkg-plist b/x11-toolkits/hs-GLUT/pkg-plist
index b2f9337ffce5..c68dab137090 100644
--- a/x11-toolkits/hs-GLUT/pkg-plist
+++ b/x11-toolkits/hs-GLUT/pkg-plist
@@ -6,10 +6,8 @@
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Callbacks/Registration.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Callbacks/Window.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Colormap.hi
-%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Constants.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Debugging.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/DeviceControl.hi
-%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Extensions.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Fonts.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/GameMode.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Initialization.hi
@@ -17,17 +15,22 @@
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Objects.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Overlay.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/QueryUtils.hi
+%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Raw.hi
+%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Raw/APIEntry.hi
+%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Raw/Callbacks.hi
+%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Raw/Fonts.hi
+%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Raw/Functions.hi
+%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Raw/Tokens.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/State.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Types.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Window.hi
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSGLUT-%%HSGLUT_VERSION%%.o
-%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/include/HsGLUT.h
%%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSGLUT-%%HSGLUT_VERSION%%.a
%%HSGLUT_LIBDIR_REL%%/register.sh
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
-@dirrm %%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/include
@dirrm %%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Callbacks
+@dirrm %%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT/Raw
@dirrm %%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI/GLUT
@dirrm %%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/UI
@dirrm %%HSGLUT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics