ports/117491: [NEW PORT] x11-wm/xmonad: Xmonad is a minimalist and tiling window manager for X
Matthieu GUEGAN
matt.guegan at free.fr
Thu Oct 25 16:40:02 UTC 2007
>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: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 25 16:40:02 UTC 2007
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list