From nobody@FreeBSD.org  Thu Oct 25 16:33:40 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A8FFA16A418
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Oct 2007 16:33:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 92CE613C494
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Oct 2007 16:33:40 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l9PGXBiX045364
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 25 Oct 2007 16:33:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l9PGXBPW045363;
	Thu, 25 Oct 2007 16:33:11 GMT
	(envelope-from nobody)
Message-Id: <200710251633.l9PGXBPW045363@www.freebsd.org>
Date: Thu, 25 Oct 2007 16:33:11 GMT
From: Matthieu GUEGAN <matt.guegan@free.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT] x11-wm/xmonad: Xmonad is a minimalist and tiling window manager for X
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         117491
>Category:       ports
>Synopsis:       [NEW PORT] x11-wm/xmonad: Xmonad is a minimalist and tiling window manager for X
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    vs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 25 16:40:02 UTC 2007
>Closed-Date:    Mon Oct 29 08:11:02 UTC 2007
>Last-Modified:  Mon Oct 29 08:11:02 UTC 2007
>Originator:     Matthieu GUEGAN
>Release:        FreeBSD 7.0-BETA1 i386
>Organization:
>Environment:
FreeBSD 7.0-BETA1 #0: Tue Oct 23 11:56:06 CEST 2007
>Description:
XMonad is a tiling window manager written in Haskell for X.

Features :
    * Very stable, fast, small and simple.
    * Automatic window tiling and management
    * First class keyboard support: a mouse is unnecessary
    * Full support for tiling windows on multi-head displays
    * Full support for floating windows
    * XRandR support to rotate, add or remove monitors
    * Per-workspace layout algorithms
    * Per-screens custom status bars
    * Easy, powerful customisation and reconfiguration
    * Large extension library
    * Extensive documentation and support for hacking

WWW:    http://www.xmonad.org/
>How-To-Repeat:

>Fix:
WARNING !! This port needs :

 * x11/hs-x11-ghc [see PR 117486 - PATCH]
 * x11/hs-x11extras-ghc [see PR 117490 - NEW PORT]

Patch attached with submission follows:

# 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:
#
#	xmonad
#	xmonad/pkg-descr
#	xmonad/Makefile
#	xmonad/pkg-plist
#	xmonad/distinfo
#
echo c - xmonad
mkdir -p xmonad > /dev/null 2>&1
echo x - xmonad/pkg-descr
sed 's/^X//' >xmonad/pkg-descr << 'END-of-xmonad/pkg-descr'
XXMonad is a tiling window manager written in Haskell for X.
X
XFeatures :
X    * Very stable, fast, small and simple.
X    * Automatic window tiling and management
X    * First class keyboard support: a mouse is unnecessary
X    * Full support for tiling windows on multi-head displays
X    * Full support for floating windows
X    * XRandR support to rotate, add or remove monitors
X    * Per-workspace layout algorithms
X    * Per-screens custom status bars
X    * Easy, powerful customisation and reconfiguration
X    * Large extension library
X    * Extensive documentation and support for hacking
X
XWWW:	http://www.xmonad.org/
END-of-xmonad/pkg-descr
echo x - xmonad/Makefile
sed 's/^X//' >xmonad/Makefile << 'END-of-xmonad/Makefile'
X# New ports collection makefile for:	xmonad
X# Date created:		2007-10-25
X# Whom:			Matthieu Guegan <matt.guegan@free.fr>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	xmonad
XPORTVERSION=	0.4
XPORTREVISION=	1
XCATEGORIES=	x11-wm haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/xmonad/${PORTVERSION}/
X
XMAINTAINER=	matt.guegan@free.fr
XCOMMENT=	Xmonad is a minimalist and tiling window manager for X
X
XUSE_XLIB=	yes
X
X# include the version verbatim. This will require a revision bump
X# on updates, but the correct quoting of `ghc --numeric-version` in the various
X# places is a real nightmare.
XGHC_VERSION=	6.6.1
XPLIST_SUB+=	GHC_VERSION=${GHC_VERSION} \
X	PORTVERSION=${PORTVERSION} \
X	PORTNAME=${PORTNAME} \
X	SUBDIR=lib/ghc-${GHC_VERSION}/cabal
X
X.include <bsd.port.pre.mk>
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
XLIB_DEPENDS+=	gmp.7:${PORTSDIR}/math/libgmp4
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
X
X# 'owned' by lang/ghc:
XCABALDIR=	${PREFIX}/lib/ghc-${GHC_VERSION}/cabal
XCABALCMD=	${LOCALBASE}/bin/runghc Setup.lhs
XSUBDIR=		${PORTNAME}${PKGNAMESUFFIX}
X
XBUILD_DEPENDS+=	${CABALDIR}/libHSX11-1.2.3.a:${PORTSDIR}/x11/hs-x11-ghc
XBUILD_DEPENDS+=	${CABALDIR}/libHSX11-extras-0.4.a:${PORTSDIR}/x11/hs-x11extras-ghc
X
Xdo-configure:
X	cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX} --libdir=${CABALDIR} \
X	 --libsubdir='' --datasubdir=''
X
Xdo-build:
X	cd ${WRKSRC} && ${CABALCMD} build
X
Xdo-install:
X	cd ${WRKSRC} && ${CABALCMD} install
X
X.include <bsd.port.post.mk>
END-of-xmonad/Makefile
echo x - xmonad/pkg-plist
sed 's/^X//' >xmonad/pkg-plist << 'END-of-xmonad/pkg-plist'
Xbin/xmonad
X@dirrmtry bin
END-of-xmonad/pkg-plist
echo x - xmonad/distinfo
sed 's/^X//' >xmonad/distinfo << 'END-of-xmonad/distinfo'
XMD5 (xmonad-0.4.tar.gz) = 5d24c556f7c8f04954721b391fd79a13
XSHA256 (xmonad-0.4.tar.gz) = 978fb99e40786070307992fde78fe252b96e834740fb983b94c3a395c45467bb
XSIZE (xmonad-0.4.tar.gz) = 41025
END-of-xmonad/distinfo
exit


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->vs 
Responsible-Changed-By: vs 
Responsible-Changed-When: Fri Oct 26 08:23:33 UTC 2007 
Responsible-Changed-Why:  
Grab. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117491 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/117491: commit references a PR
Date: Mon, 29 Oct 2007 07:33:06 +0000 (UTC)

 vs          2007-10-29 07:33:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11-wm               Makefile 
   Added files:
     x11-wm/xmonad        Makefile distinfo pkg-descr 
   Log:
   XMonad is a tiling window manager written in Haskell for X.
   
   Features :
       * Very stable, fast, small and simple.
       * Automatic window tiling and management
       * First class keyboard support: a mouse is unnecessary
       * Full support for tiling windows on multi-head displays
       * Full support for floating windows
       * XRandR support to rotate, add or remove monitors
       * Per-workspace layout algorithms
       * Per-screens custom status bars
       * Easy, powerful customisation and reconfiguration
       * Large extension library
       * Extensive documentation and support for hacking
   
   WWW:    http://www.xmonad.org/
   
   PR:             ports/117491
   Submitted by:   Matthieu Guegan <matt.guegan at free.fr>
   
   Revision  Changes    Path
   1.209     +1 -0      ports/x11-wm/Makefile
   1.1       +42 -0     ports/x11-wm/xmonad/Makefile (new)
   1.1       +3 -0      ports/x11-wm/xmonad/distinfo (new)
   1.1       +16 -0     ports/x11-wm/xmonad/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: vs 
State-Changed-When: Mon Oct 29 08:08:45 UTC 2007 
State-Changed-Why:  
Committed with modifications as discussed. We also need to ship the LICENSE file for packages. 
Thanks for your submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=117491 
>Unformatted:
