aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2004-03-09 17:15:58 +0000
committerOliver Braun <obraun@FreeBSD.org>2004-03-09 17:15:58 +0000
commit363a3cec82fcbaece4f481478930686f154cda5f (patch)
tree286a4915bd786925bc7a1d32d4e4bc61a2df3492 /x11-toolkits
parent700b9acc7e7df343a05978648797bd4b11610925 (diff)
downloadports-363a3cec82fcbaece4f481478930686f154cda5f.tar.gz
ports-363a3cec82fcbaece4f481478930686f154cda5f.zip
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/hs-gio/Makefile47
-rw-r--r--x11-toolkits/hs-gio/distinfo2
-rw-r--r--x11-toolkits/hs-gio/files/patch-makefile20
-rw-r--r--x11-toolkits/hs-gio/pkg-descr12
-rw-r--r--x11-toolkits/hs-gio/pkg-plist126
6 files changed, 208 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index 5b3ae81c33f5..9b8c9071e82a 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -84,6 +84,7 @@
SUBDIR += guile-gnome
SUBDIR += guile-gtk
SUBDIR += hs-frantk
+ SUBDIR += hs-gio
SUBDIR += hs-gtk+hs
SUBDIR += hs-gtk2hs
SUBDIR += hs-port
diff --git a/x11-toolkits/hs-gio/Makefile b/x11-toolkits/hs-gio/Makefile
new file mode 100644
index 000000000000..5537cd74753e
--- /dev/null
+++ b/x11-toolkits/hs-gio/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: gio
+# Date created: 2004-03-09
+# Whom: obraun@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= gio
+PORTVERSION= 1.2
+CATEGORIES= x11-toolkits haskell
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= htoolkit
+PKGNAMEPREFIX= hs-
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A 'middle-ground' GUI library for Haskell
+
+BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
+ ${LOCALBASE}/share/port/port.pkg:${PORTSDIR}/x11-toolkits/hs-port
+RUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
+ ${LOCALBASE}/share/port/port.pkg:${PORTSDIR}/x11-toolkits/hs-port
+
+USE_BZIP2= yes
+USE_REINPLACE= yes
+HAS_CONFIGURE= yes
+USE_GMAKE= yes
+MAKEFILE= makefile
+MAKE_ENV+= DOCSDIR="${DOCSDIR}" INSTALL_DATA="${INSTALL_DATA}"
+ALL_TARGET= release
+
+GHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version`
+PLIST_SUB+= GHC_VERSION="${GHC_VERSION}"
+
+.if !defined(NOPORTDOCS)
+BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock \
+ ${LOCALBASE}/share/doc/ghc6/index.html:${PORTSDIR}/lang/ghc6-doc
+CONFIGURE_ARGS+= -haddock-libs ${LOCALBASE}/share/doc/ghc6/libraries/base \
+ -haddock-html ${LOCALBASE}/share/doc/ghc6/libraries/
+ALL_TARGET= release doc
+INSTALL_TARGET= install install-doc
+.endif
+
+post-install:
+ ${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/config/gio.pkg ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/hs-gio/distinfo b/x11-toolkits/hs-gio/distinfo
new file mode 100644
index 000000000000..3e888bcc527e
--- /dev/null
+++ b/x11-toolkits/hs-gio/distinfo
@@ -0,0 +1,2 @@
+MD5 (gio-1.2.tar.bz2) = 422305263f143540890a2996ea347b44
+SIZE (gio-1.2.tar.bz2) = 96156
diff --git a/x11-toolkits/hs-gio/files/patch-makefile b/x11-toolkits/hs-gio/files/patch-makefile
new file mode 100644
index 000000000000..a298acc4f201
--- /dev/null
+++ b/x11-toolkits/hs-gio/files/patch-makefile
@@ -0,0 +1,20 @@
+--- makefile.orig Mon Oct 6 21:04:50 2003
++++ makefile Tue Mar 9 16:48:34 2004
+@@ -117,13 +117,15 @@
+ # build a library
+ install: $(MAINLIB) $(PKG)
+ install -d $(LIBDIR)/imports/Graphics/UI/GIO
+- install -d $(LIBDIR)/doc/html/gio
+ install -m 644 $(HOUTDIR)/*.hi $(LIBDIR)/imports/Graphics/UI
+ install -m 644 $(HOUTDIR)/GIO/*.hi $(LIBDIR)/imports/Graphics/UI/GIO
+ install -m 644 $(MAINLIB) $(LIBDIR)
+ $(RM) $(LIBDIR)/$(MAINOBJ)
+ $(HCPKG) -u -g -i $(PKG)
+- install -m 644 doc/*.html doc/*.css doc/*.gif doc/*.haddock $(LIBDIR)/doc/html/gio
++
++install-doc:
++ install -d ${DOCSDIR}
++ ${INSTALL_DATA} doc/*.html doc/*.css doc/*.gif doc/*.haddock ${DOCSDIR}
+
+ $(MAINLIB): $(HOBJS) $(COBJS) $(STUBSTUBOBJS)
+ $(AR) -r $@ $^
diff --git a/x11-toolkits/hs-gio/pkg-descr b/x11-toolkits/hs-gio/pkg-descr
new file mode 100644
index 000000000000..2c130e61ec1b
--- /dev/null
+++ b/x11-toolkits/hs-gio/pkg-descr
@@ -0,0 +1,12 @@
+GIO is part of the HToolkit. The goal of the HToolkit project is to implement a
+portable Haskell library for writing graphical user interfaces (GUI's).
+
+The "Graphics.UI.GIO" library is a 'middle-ground' GUI library for Haskell. It
+is build on the portable GUI library "Port". GIO stands for Graphical IO, and
+implements a middle-level, monadic interface for writing GUI's. The library
+only uses the IO monad and doesn't implement a design for structure and state.
+
+WWW: http://htoolkit.sourceforge.net/
+
+-- Oliver Braun
+obraun@FreeBSD.org
diff --git a/x11-toolkits/hs-gio/pkg-plist b/x11-toolkits/hs-gio/pkg-plist
new file mode 100644
index 000000000000..86bf1b084ff9
--- /dev/null
+++ b/x11-toolkits/hs-gio/pkg-plist
@@ -0,0 +1,126 @@
+lib/ghc-%%GHC_VERSION%%/HSgio.o
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Attributes.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Bitmap.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Canvas.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/CommonDialogs.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Controls.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Events.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Font.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Layout.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Menu.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Messages.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Process.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Timer.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/ToolBar.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Types.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO/Window.hi
+lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO.hi
+lib/ghc-%%GHC_VERSION%%/libHSgio.a
+share/gio/gio.pkg
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Attributes.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Bitmap.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Canvas.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.CommonDialogs.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Controls.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Events.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Font.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Layout.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Menu.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Messages.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Process.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Timer.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.ToolBar.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Types.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.Window.html
+%%PORTDOCS%%%%DOCSDIR%%/Graphics.UI.GIO.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-126.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-60.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-61.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-94.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-A.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-B.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-C.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-D.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-E.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-F.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-G.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-H.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-I.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-J.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-K.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-L.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-M.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-N.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-O.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-P.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-Q.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-R.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-S.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-T.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-U.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-V.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-W.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tA.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tB.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tC.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tD.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tE.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tF.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tG.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tH.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tI.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tJ.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tK.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tL.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tM.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tN.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tO.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tP.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tQ.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tR.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tS.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tT.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tU.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tV.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tW.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tX.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tY.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-tZ.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vA.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vB.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vC.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vD.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vE.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vF.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vG.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vH.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vI.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vJ.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vK.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vL.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vM.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vN.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vO.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vP.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vQ.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vR.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vS.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vT.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vU.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vV.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vW.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vX.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vY.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index-vZ.html
+%%PORTDOCS%%%%DOCSDIR%%/doc-index.html
+%%PORTDOCS%%%%DOCSDIR%%/gio.haddock
+%%PORTDOCS%%%%DOCSDIR%%/haddock.css
+%%PORTDOCS%%%%DOCSDIR%%/haskell_icon.gif
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm share/gio
+@dirrm lib/ghc-%%GHC_VERSION%%/imports/Graphics/UI/GIO
+@exec %D/bin/ghc-pkg -u -g -i %D/share/gio/gio.pkg
+@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec %D/bin/ghc-pkg -r gio
+@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old