Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Apr 2007 01:34:20 GMT
From:      David Lazar<david@davidlazar.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/112259: [NEW PORT] hs-X11/x11-toolkits: A Haskell binding to the X11 graphics library
Message-ID:  <200704300134.l3U1YJoY000478@www.freebsd.org>
Resent-Message-ID: <200704300140.l3U1e3w5070580@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112259
>Category:       ports
>Synopsis:       [NEW PORT] hs-X11/x11-toolkits: A Haskell binding to the X11 graphics library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 30 01:40:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Lazar
>Release:        FreeBSD 6.2-RELEASE i386
>Organization:
>Environment:
FreeBSD envy.inferno.lazar 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007
root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
This port is an up-to-date version of the X11 bindings included with GHC-6.6 extralibs.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	hs-X11
#	hs-X11/Makefile
#	hs-X11/pkg-descr
#	hs-X11/pkg-plist
#
echo c - hs-X11
mkdir -p hs-X11 > /dev/null 2>&1
echo x - hs-X11/Makefile
sed 's/^X//' >hs-X11/Makefile << 'END-of-hs-X11/Makefile'
X# New ports collection makefile for:   X11
X# Date created:        23 April 2007
X# Whom:                David Lazar <david@davidlazar.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		X11
XPORTVERSION=	1.2
XCATEGORIES=		x11-toolkits devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/X11/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=		ports@davidlazar.org
XCOMMENT=		A Haskell binding to the X11 graphics library
X
XBUILD_DEPENDS=	${GHC}:${PORTSDIR}/lang/ghc
XUSE_XLIB=		yes
X
XCONFIGURE_ARGS=	--ghc --prefix=${PREFIX}
X
XGHC=			ghc-6.6
XGHC_VERSION=	${GHC:S/^ghc-//}
XPLIST_SUB+=		GHC_VERSION=${GHC_VERSION}
XPLIST_SUB+=		PORT_VERSION=${PORTVERSION}
X
Xdo-configure:
X		cd ${WRKSRC} && runhaskell Setup.hs configure
X
Xdo-build:
X		cd ${WRKSRC} && runhaskell Setup.hs build
X
Xdo-install:
X		cd ${WRKSRC} && runhaskell Setup.hs install
X
X.include <bsd.port.mk>
END-of-hs-X11/Makefile
echo x - hs-X11/pkg-descr
sed 's/^X//' >hs-X11/pkg-descr << 'END-of-hs-X11/pkg-descr'
XA Haskell binding to the X11 graphics library. 
X
XThe binding is a direct translation of the C binding; for documentation of 
Xthese calls, refer to The Xlib Programming Manual, available online at 
Xhttp://tronche.com/gui/x/xlib/ .
X
XExposed modules: Graphics.X11, Graphics.X11.Types, Graphics.X11.Xlib, 
XGraphics.X11.Xlib.Atom, Graphics.X11.Xlib.Color, Graphics.X11.Xlib.Context, 
XGraphics.X11.Xlib.Display, Graphics.X11.Xlib.Event, Graphics.X11.Xlib.Font, 
XGraphics.X11.Xlib.Misc, Graphics.X11.Xlib.Region, Graphics.X11.Xlib.Screen, 
XGraphics.X11.Xlib.Types, Graphics.X11.Xlib.Window
X
XWWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11
END-of-hs-X11/pkg-descr
echo x - hs-X11/pkg-plist
sed 's/^X//' >hs-X11/pkg-plist << 'END-of-hs-X11/pkg-plist'
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Types.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Atom.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Color.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Context.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Display.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Event.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Font.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Misc.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Region.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Screen.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Types.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/Window.hi
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/HSX11-%%PORT_VERSION%%.o
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/include/HsXlib.h
Xlib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/libHSX11-%%PORT_VERSION%%.a
X@dirrm lib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/Xlib/
X@dirrm lib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics/X11/
X@dirrm lib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/Graphics
X@dirrm lib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/include
X@dirrm lib/X11-%%PORT_VERSION%%/ghc-%%GHC_VERSION%%/
X@dirrm lib/X11-%%PORT_VERSION%%/
X@unexec ghc-pkg unregister X11-%%PORT_VERSION%%
END-of-hs-X11/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704300134.l3U1YJoY000478>