From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 3 10:10:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8046B16A421 for ; Sun, 3 Feb 2008 10:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6135F13C474 for ; Sun, 3 Feb 2008 10:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m13AA1OB094125 for ; Sun, 3 Feb 2008 10:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m13AA1ul094124; Sun, 3 Feb 2008 10:10:01 GMT (envelope-from gnats) Resent-Date: Sun, 3 Feb 2008 10:10:01 GMT Resent-Message-Id: <200802031010.m13AA1ul094124@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Matthieu GUEGAN Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C04916A41B for ; Sun, 3 Feb 2008 10:07:36 +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 6B24313C45D for ; Sun, 3 Feb 2008 10:07:36 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m13A5eQ3067459 for ; Sun, 3 Feb 2008 10:05:40 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m13A5e7K067458; Sun, 3 Feb 2008 10:05:40 GMT (envelope-from nobody) Message-Id: <200802031005.m13A5e7K067458@www.freebsd.org> Date: Sun, 3 Feb 2008 10:05:40 GMT From: Matthieu GUEGAN To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/120235: [NEW PORT] x11-wm/xmonad-contrib: Third party tiling algorithms, configurations and scripts to xmonad X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Feb 2008 10:10:01 -0000 >Number: 120235 >Category: ports >Synopsis: [NEW PORT] x11-wm/xmonad-contrib: Third party tiling algorithms, configurations and scripts to xmonad >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: Sun Feb 03 10:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Matthieu GUEGAN >Release: FreeBSD 7.0-PRERELEASE i386 >Organization: >Environment: FreeBSD 7.0-PRERELEASE #1: Fri Feb 1 16:01:50 CET >Description: This PR replaces the old one 'ports/119929' which has to be closed ! --- Third party tiling algorithms, configurations and scripts to xmonad. For an introduction to building, configuring and using xmonad extensions, see XMonad.Doc. In particular: * XMonad.Doc.Configuring, a guide to configuring xmonad. * XMonad.Doc.Extending, using the contributed extensions library. * XMonad.Doc.Developing, introduction to xmonad internals and writing your own extensions. >How-To-Repeat: install the attached .shar file >Fix: 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-contrib # xmonad-contrib/Makefile # xmonad-contrib/pkg-descr # xmonad-contrib/distinfo # xmonad-contrib/pkg-deinstall # echo c - xmonad-contrib mkdir -p xmonad-contrib > /dev/null 2>&1 echo x - xmonad-contrib/Makefile sed 's/^X//' >xmonad-contrib/Makefile << 'END-of-xmonad-contrib/Makefile' X# New ports collection makefile for: xmonad-contrib X# Date created: 2008-01-23 X# Whom: Matthieu Guegan X# X# $FreeBSD$ X# X XPORTNAME= xmonad XPORTVERSION= 0.6 XCATEGORIES= x11-wm haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/xmonad-contrib/${PORTVERSION}/ XPKGNAMESUFFIX= -contrib XDISTNAME= xmonad-contrib-${PORTVERSION} X XMAINTAINER= matt.guegan@free.fr XCOMMENT= Third party tiling algorithms, configurations and scripts to xmonad X XUSE_XLIB= yes X XCABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs X X.include X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \ X hs-x11-extras-ghc>=0.4:${PORTSDIR}/x11/hs-x11-extras-ghc \ X xmonad:${PORTSDIR}/x11-wm/xmonad XLIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4 X XPORTDOCS= LICENSE X Xdo-configure: X cd ${WRKSRC} && ${CABALCMD} configure --ghc --prefix=${PREFIX} X Xdo-build: X cd ${WRKSRC} && ${CABALCMD} build X Xdo-install: X @cd ${WRKSRC} && ${CABALCMD} install X @${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/LICENSE ${DOCSDIR} X X.include END-of-xmonad-contrib/Makefile echo x - xmonad-contrib/pkg-descr sed 's/^X//' >xmonad-contrib/pkg-descr << 'END-of-xmonad-contrib/pkg-descr' XThird party tiling algorithms, configurations and scripts to xmonad. X XFor an introduction to building, configuring and using xmonad extensions, Xsee XMonad.Doc. X XIn particular: X X* XMonad.Doc.Configuring, a guide to configuring xmonad. X* XMonad.Doc.Extending, using the contributed extensions library. X* XMonad.Doc.Developing, introduction to xmonad internals and X writing your own extensions. END-of-xmonad-contrib/pkg-descr echo x - xmonad-contrib/distinfo sed 's/^X//' >xmonad-contrib/distinfo << 'END-of-xmonad-contrib/distinfo' XMD5 (xmonad-contrib-0.6.tar.gz) = 638624d55eb648e9beba973506e9db84 XSHA256 (xmonad-contrib-0.6.tar.gz) = f4d02408d6e9ab0693c49eed98d71026caa22d30f1305a3618196f513e6c3878 XSIZE (xmonad-contrib-0.6.tar.gz) = 124467 END-of-xmonad-contrib/distinfo echo x - xmonad-contrib/pkg-deinstall sed 's/^X//' >xmonad-contrib/pkg-deinstall << 'END-of-xmonad-contrib/pkg-deinstall' X#!/bin/sh X# Uses the ghc unregister command to deinstall properly X X# Define VARS here X XPKG_VERSION="0.6" XPKG_NAME="xmonad-contrib" XPKG_CATEGORY="x11-wm" X XLOCALBASE=/usr/local XPORTSDIR=/usr/ports X XCABALCMD="${LOCALBASE}/bin/runghc Setup.lhs" XWRKSRC=${PORTSDIR}/${PKG_CATEGORY}/${PKG_NAME}/work/${PKG_NAME}-${PKG_VERSION} XPKGDIR=${PORTSDIR}/${PKG_CATEGORY}/${PKG_NAME} X X# ---SCRIPT--- X Xcase "$2" in XDEINSTALL) X if [ -f $WRKSRC/Setup.lhs ]; then X echo "Nice ! a work dir seems to be present..." X echo "Try to make clean if this script fails..." X else X echo "We need to extract and compile xmonad pkg first..." X cd ${PKGDIR} && make X echo "OK here we go !!!" X fi X cd ${WRKSRC} && ${CABALCMD} unregister X ;; Xesac X Xexit 0 END-of-xmonad-contrib/pkg-deinstall exit >Release-Note: >Audit-Trail: >Unformatted: