summaryrefslogtreecommitdiff
path: root/x11/wxhaskell
diff options
context:
space:
mode:
authoraugustss <augustss>2004-11-20 23:18:25 +0000
committeraugustss <augustss>2004-11-20 23:18:25 +0000
commit1438234d9849c9a8a582793604dfa673d492df39 (patch)
tree7ce3feda3d1169e8e0e94845577b001b61512196 /x11/wxhaskell
parent9f6dca48428782b1cc9986c83e9dce53581816f9 (diff)
downloadpkgsrc-1438234d9849c9a8a582793604dfa673d492df39.tar.gz
Add wxhaskell, a package with Haskell bindings for wxGTK.
Not quite ready for general use yet.
Diffstat (limited to 'x11/wxhaskell')
-rw-r--r--x11/wxhaskell/DESCR10
-rw-r--r--x11/wxhaskell/Makefile25
-rw-r--r--x11/wxhaskell/PLIST55
-rw-r--r--x11/wxhaskell/distinfo5
-rw-r--r--x11/wxhaskell/patches/patch-aa19
5 files changed, 114 insertions, 0 deletions
diff --git a/x11/wxhaskell/DESCR b/x11/wxhaskell/DESCR
new file mode 100644
index 00000000000..03dda7059bb
--- /dev/null
+++ b/x11/wxhaskell/DESCR
@@ -0,0 +1,10 @@
+wxHaskell is a portable and native GUI library for Haskell.
+The goal of the project is to provide an industrial strength GUI
+library for Haskell, but without the burden of developing (and
+maintaining) one ourselves.
+
+wxHaskell is therefore built on top of wxWidgets ? a comprehensive C++
+library that is portable across all major GUI platforms; including
+GTK, Windows, X11, and MacOS X. Furthermore, it is a mature library
+(in development since 1992) that supports a wide range of widgets with
+the native look-and-feel, and it has a very active community.
diff --git a/x11/wxhaskell/Makefile b/x11/wxhaskell/Makefile
new file mode 100644
index 00000000000..04767099dcd
--- /dev/null
+++ b/x11/wxhaskell/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2004/11/20 23:18:25 augustss Exp $
+
+DISTNAME= wxhaskell-0.8
+CATEGORIES= x11
+MASTER_SITES= http://voxel.dl.sourceforge.net/sourceforge/wxhaskell/
+DISTFILES= wxhaskell-src-0.8.zip
+
+MAINTAINER= augustss@NetBSD.org
+HOMEPAGE= http://wxhaskell.sourceforge.net/index.html
+COMMENT= wxGTK bindings for Haskell
+
+BUILD_DEPENDS= ghc>=6.2:../../lang/ghc
+BUILD_DEPENDS+= wxGTK>=2.4.2:../../x11/wxGTK
+
+USE_GNU_TOOLS+= make
+USE_X11= yes
+
+MAKEFILE= makefile
+MAKE_FLAGS= X11BASE=${X11BASE}
+
+pre-configure:
+ cd ${WRKSRC}; ./configure --prefix=${PREFIX} --with-opengl
+
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/wxhaskell/PLIST b/x11/wxhaskell/PLIST
new file mode 100644
index 00000000000..85136ff5684
--- /dev/null
+++ b/x11/wxhaskell/PLIST
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1 2004/11/20 23:18:25 augustss Exp $
+lib/libwxc-gtk2.4.2-0.8.so
+lib/imports/Graphics/UI/WXCore/WxcObject.hi
+lib/imports/Graphics/UI/WXCore/WxcClassTypes.hi
+lib/imports/Graphics/UI/WXCore/WxcTypes.hi
+lib/imports/Graphics/UI/WXCore/WxcClassesAL.hi
+lib/imports/Graphics/UI/WXCore/WxcClassesMZ.hi
+lib/imports/Graphics/UI/WXCore/WxcClasses.hi
+lib/imports/Graphics/UI/WXCore/WxcClassInfo.hi
+lib/imports/Graphics/UI/WXCore/WxcDefs.hi
+lib/imports/Graphics/UI/WXCore/IntMap.hi
+lib/imports/Graphics/UI/WXCore/Types.hi
+lib/imports/Graphics/UI/WXCore/Defines.hi
+lib/imports/Graphics/UI/WXCore/Draw.hi
+lib/imports/Graphics/UI/WXCore/Events.hi
+lib/imports/Graphics/UI/WXCore/Frame.hi
+lib/imports/Graphics/UI/WXCore/Layout.hi
+lib/imports/Graphics/UI/WXCore/Process.hi
+lib/imports/Graphics/UI/WXCore/Dialogs.hi
+lib/imports/Graphics/UI/WXCore/Image.hi
+lib/imports/Graphics/UI/WXCore/Controls.hi
+lib/imports/Graphics/UI/WXCore/Db.hi
+lib/imports/Graphics/UI/WXCore/OpenGL.hi
+lib/imports/Graphics/UI/WXCore.hi
+lib/libwxcore0.a
+lib/wxcore0.o
+lib/libwxcore1.a
+lib/wxcore1.o
+lib/libwxcore2.a
+lib/wxcore2.o
+lib/libwxcore.a
+lib/wxcore.o
+lib/wxcore.pkg
+lib/imports/Graphics/UI/WX/Types.hi
+lib/imports/Graphics/UI/WX/Attributes.hi
+lib/imports/Graphics/UI/WX/Layout.hi
+lib/imports/Graphics/UI/WX/Classes.hi
+lib/imports/Graphics/UI/WX/Variable.hi
+lib/imports/Graphics/UI/WX/Events.hi
+lib/imports/Graphics/UI/WX/Window.hi
+lib/imports/Graphics/UI/WX/Frame.hi
+lib/imports/Graphics/UI/WX/Media.hi
+lib/imports/Graphics/UI/WX/Menu.hi
+lib/imports/Graphics/UI/WX/Timer.hi
+lib/imports/Graphics/UI/WX/Draw.hi
+lib/imports/Graphics/UI/WX/Controls.hi
+lib/imports/Graphics/UI/WX/Dialogs.hi
+lib/imports/Graphics/UI/WX.hi
+lib/libwx.a
+lib/wx.o
+lib/wx.pkg
+@dirrm lib/imports/Graphics/UI/WXCore
+@dirrm lib/imports/Graphics/UI/WX
+@unexec ghc-pkg -r wxcore
+@unexec ghc-pkg -r wx
diff --git a/x11/wxhaskell/distinfo b/x11/wxhaskell/distinfo
new file mode 100644
index 00000000000..70b06bb5aa1
--- /dev/null
+++ b/x11/wxhaskell/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2004/11/20 23:18:26 augustss Exp $
+
+SHA1 (wxhaskell-src-0.8.zip) = 415dd824e5bd60d6cca97d9545327fd5b80c28c7
+Size (wxhaskell-src-0.8.zip) = 545291 bytes
+SHA1 (patch-aa) = bb011c52a385281da3afd70762bd2b562c43d6af
diff --git a/x11/wxhaskell/patches/patch-aa b/x11/wxhaskell/patches/patch-aa
new file mode 100644
index 00000000000..56e6ddc42ef
--- /dev/null
+++ b/x11/wxhaskell/patches/patch-aa
@@ -0,0 +1,19 @@
+*** makefile.orig Tue Jul 27 16:12:15 2004
+--- makefile Sat Nov 20 16:35:27 2004
+***************
+*** 632,638 ****
+ WXC-OBJS =$(call make-objs, $(WXC-OUTDIR), $(WXC-SOURCES))
+ WXC-DEPS =$(call make-deps, $(WXC-OUTDIR), $(WXC-SOURCES))
+ WXC-LIBS =$(WXWIN-LIBS)
+! WXC-CXXFLAGS =$(WXWIN-CXXFLAGS) -I$(WXC-INCDIR)
+
+
+ wxc: wxc-dirs $(WXC-LIB)
+--- 632,638 ----
+ WXC-OBJS =$(call make-objs, $(WXC-OUTDIR), $(WXC-SOURCES))
+ WXC-DEPS =$(call make-deps, $(WXC-OUTDIR), $(WXC-SOURCES))
+ WXC-LIBS =$(WXWIN-LIBS)
+! WXC-CXXFLAGS =$(WXWIN-CXXFLAGS) -I$(WXC-INCDIR) -I$(X11BASE)/include
+
+
+ wxc: wxc-dirs $(WXC-LIB)