aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/hs-wxcore
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2012-06-03 22:58:54 +0000
committerGabor Pali <pgj@FreeBSD.org>2012-06-03 22:58:54 +0000
commit8166d2e31bf64b0f351d9e9e102e86a86f4bff92 (patch)
tree1a9f967bfb4e0d08a345ceba3814af4b28de6a19 /x11-toolkits/hs-wxcore
parent1b3695a1920d60ce4b6969c1fd74ef6d55e6318c (diff)
downloadports-8166d2e31bf64b0f351d9e9e102e86a86f4bff92.tar.gz
ports-8166d2e31bf64b0f351d9e9e102e86a86f4bff92.zip
Notes
Diffstat (limited to 'x11-toolkits/hs-wxcore')
-rw-r--r--x11-toolkits/hs-wxcore/Makefile11
-rw-r--r--x11-toolkits/hs-wxcore/distinfo4
-rw-r--r--x11-toolkits/hs-wxcore/files/patch-Setup.hs19
-rw-r--r--x11-toolkits/hs-wxcore/pkg-descr2
4 files changed, 17 insertions, 19 deletions
diff --git a/x11-toolkits/hs-wxcore/Makefile b/x11-toolkits/hs-wxcore/Makefile
index 7cfa90ae1432..3ba467d99017 100644
--- a/x11-toolkits/hs-wxcore/Makefile
+++ b/x11-toolkits/hs-wxcore/Makefile
@@ -6,20 +6,19 @@
#
PORTNAME= wxcore
-PORTVERSION= 0.13.2.1
-PORTREVISION= 1
+PORTVERSION= 0.90.0.1
CATEGORIES= x11-toolkits haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= wxHaskell core
-
CABAL_SETUP= Setup.hs
-USE_CABAL= parsec stm wxdirect>0.12.1.2
+USE_CABAL= parsec stm wxc>=0.90 wxdirect>=0.90
-BUILD_DEPENDS+= wxgtk2-unicode>=2.8:${PORTSDIR}/x11-toolkits/wxgtk28-unicode \
- wxgtk2-unicode-contrib>=2.8:${PORTSDIR}/x11-toolkits/wxgtk28-unicode-contrib
+USE_WX= 2.9
+WX_COMPS= wx
+WX_UNICODE= yes
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>
diff --git a/x11-toolkits/hs-wxcore/distinfo b/x11-toolkits/hs-wxcore/distinfo
index e53b61e7dc2a..25bff7fc6246 100644
--- a/x11-toolkits/hs-wxcore/distinfo
+++ b/x11-toolkits/hs-wxcore/distinfo
@@ -1,2 +1,2 @@
-SHA256 (cabal/wxcore-0.13.2.1.tar.gz) = 26a615a594f3733d79205dafd5e3e00649284c6b5a3dcd35b4db5fc1fb4e0d5c
-SIZE (cabal/wxcore-0.13.2.1.tar.gz) = 539205
+SHA256 (cabal/wxcore-0.90.0.1.tar.gz) = f80e97e8488c3d98320be1f60b66c1da937090ca8223159c185cae02d021290c
+SIZE (cabal/wxcore-0.90.0.1.tar.gz) = 355766
diff --git a/x11-toolkits/hs-wxcore/files/patch-Setup.hs b/x11-toolkits/hs-wxcore/files/patch-Setup.hs
index 6d57db2b5242..a319b4b4fe18 100644
--- a/x11-toolkits/hs-wxcore/files/patch-Setup.hs
+++ b/x11-toolkits/hs-wxcore/files/patch-Setup.hs
@@ -1,11 +1,10 @@
---- ./Setup.hs.orig 2012-02-07 08:27:09.000000000 +0100
-+++ ./Setup.hs 2012-02-15 09:35:23.000000000 +0100
-@@ -56,7 +56,7 @@
- wx_cfg_parms = if os == "mingw32"
- then [ "--unicode", "--libs", "gl,stc", "--cppflags" ]
- else [ "--libs", "std,gl,stc,xrc,richtext,aui,media", "--cppflags" ]
-- wx <- fmap parseWxConfig (readProcess "wx-config" wx_cfg_parms "")
-+ wx <- fmap parseWxConfig (readProcess "wxgtk2u-2.8-config" wx_cfg_parms "")
- lbi <- confHook simpleUserHooks (pkg0, pbi) flags
+--- ./Setup.hs.orig 2012-04-13 14:40:36.000000000 +0200
++++ ./Setup.hs 2012-05-13 20:41:08.000000000 +0200
+@@ -66,7 +66,6 @@
- let lpd = localPkgDescr lbi
+ let libbi' = libbi
+ { extraLibDirs = extraLibDirs libbi ++ [wxcDirectory]
+- , extraLibs = extraLibs libbi ++ ["wxc"]
+ , ldOptions = ldOptions libbi ++ ["-Wl,-rpath," ++ wxcDirectory] }
+
+ let lib' = lib { libBuildInfo = libbi' }
diff --git a/x11-toolkits/hs-wxcore/pkg-descr b/x11-toolkits/hs-wxcore/pkg-descr
index 315487644f59..865dd7d51f88 100644
--- a/x11-toolkits/hs-wxcore/pkg-descr
+++ b/x11-toolkits/hs-wxcore/pkg-descr
@@ -1,7 +1,7 @@
wxHaskell is a portable and native GUI library for Haskell. It is built
on top of wxWidgets, a comprehensive C++ library that is portable across
all major GUI platforms, including GTK, Windows, X11, and MacOS X. This
-version works with wxWidgets 2.8 only. Distributed under the WXWINDOWS
+version works with wxWidgets 2.9 only. Distributed under the WXWINDOWS
LIBRARY LICENSE. Please see LICENSE file, but note that this is
essentially LGPL with an exception allowing binary distribution of
proprietary software. This is the same license as wxWidgets itself