diff options
author | Gabor Pali <pgj@FreeBSD.org> | 2012-02-18 21:35:29 +0000 |
---|---|---|
committer | Gabor Pali <pgj@FreeBSD.org> | 2012-02-18 21:35:29 +0000 |
commit | 0df28bef5d81dba3620f6bcd5cf1c1170dbfed13 (patch) | |
tree | 92bb859241420f33f26a83d5823bab5caebc174f | |
parent | 804b93ca8f481b5c4b8835e3e47d587a92333ef5 (diff) | |
download | ports-0df28bef5d81dba3620f6bcd5cf1c1170dbfed13.tar.gz ports-0df28bef5d81dba3620f6bcd5cf1c1170dbfed13.zip |
Notes
-rw-r--r-- | lang/ghc/bsd.hackage.mk | 1 | ||||
-rw-r--r-- | x11-toolkits/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/hs-wxcore/Makefile | 24 | ||||
-rw-r--r-- | x11-toolkits/hs-wxcore/distinfo | 2 | ||||
-rw-r--r-- | x11-toolkits/hs-wxcore/files/patch-Setup.hs | 11 | ||||
-rw-r--r-- | x11-toolkits/hs-wxcore/pkg-descr | 10 |
6 files changed, 49 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk index d4d94a731906..6f3920331701 100644 --- a/lang/ghc/bsd.hackage.mk +++ b/lang/ghc/bsd.hackage.mk @@ -281,6 +281,7 @@ wai-extra_port= www/hs-wai-extra wai-logger_port= www/hs-wai-logger warp_port= www/hs-warp webkit_port= www/hs-webkit +wxcore_port= x11-toolkits/hs-wxcore # lib_depends wxdirect_port= x11-toolkits/hs-wxdirect # executable X11_port= x11/hs-X11 # lib_depends X11-xft_port= x11/hs-X11-xft diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index e1321da23c87..df532c0a5ae5 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -88,6 +88,7 @@ SUBDIR += hs-gtksourceview2 SUBDIR += hs-pango SUBDIR += hs-vte + SUBDIR += hs-wxcore SUBDIR += hs-wxdirect SUBDIR += irrlicht SUBDIR += itk diff --git a/x11-toolkits/hs-wxcore/Makefile b/x11-toolkits/hs-wxcore/Makefile new file mode 100644 index 000000000000..65888ac952b8 --- /dev/null +++ b/x11-toolkits/hs-wxcore/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: hs-wxcore +# Date created: January 26, 2012 +# Whom: haskell@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= wxcore +PORTVERSION= 0.13.2.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 + +BUILD_DEPENDS+= wxgtk2-unicode>=2.8:${PORTSDIR}/x11-toolkits/wxgtk28-unicode \ + wxgtk2-unicode-contrib>=2.8:${PORTSDIR}/x11-toolkits/wxgtk28-unicode-contrib + +.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 new file mode 100644 index 000000000000..e53b61e7dc2a --- /dev/null +++ b/x11-toolkits/hs-wxcore/distinfo @@ -0,0 +1,2 @@ +SHA256 (cabal/wxcore-0.13.2.1.tar.gz) = 26a615a594f3733d79205dafd5e3e00649284c6b5a3dcd35b4db5fc1fb4e0d5c +SIZE (cabal/wxcore-0.13.2.1.tar.gz) = 539205 diff --git a/x11-toolkits/hs-wxcore/files/patch-Setup.hs b/x11-toolkits/hs-wxcore/files/patch-Setup.hs new file mode 100644 index 000000000000..6d57db2b5242 --- /dev/null +++ b/x11-toolkits/hs-wxcore/files/patch-Setup.hs @@ -0,0 +1,11 @@ +--- ./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
+
+ let lpd = localPkgDescr lbi
diff --git a/x11-toolkits/hs-wxcore/pkg-descr b/x11-toolkits/hs-wxcore/pkg-descr new file mode 100644 index 000000000000..315487644f59 --- /dev/null +++ b/x11-toolkits/hs-wxcore/pkg-descr @@ -0,0 +1,10 @@ +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 +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 +uses. + +WWW: http://haskell.org/haskellwiki/WxHaskell |