Date: Sun, 3 Feb 2008 10:05:40 GMT From: Matthieu GUEGAN <matt.guegan@free.fr> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/120235: [NEW PORT] x11-wm/xmonad-contrib: Third party tiling algorithms, configurations and scripts to xmonad Message-ID: <200802031005.m13A5e7K067458@www.freebsd.org> Resent-Message-ID: <200802031010.m13AA1ul094124@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <matt.guegan@free.fr> 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 <bsd.port.pre.mk> 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 <bsd.port.post.mk> 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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802031005.m13A5e7K067458>