pkgsrc-wip/xmonad/Makefile
Arnaud Degroote 8b86fdd411 Upgrade xmonad from 0.6 to 0.7
Changes in core since 0.6

 -- Added a startupHook field to the xmonad configuration record, which is
   an arbitrary X () action to be run each time xmonad starts (including
   restarts with mod-q).
 -- More tests!
 -- Improved documentation!
 -- SIGPIPE is now ignored.
 -- mod-shift-tab added to default keybindings, to cycle backwards through
    windows
 -- Finally killed bug #111 dead! (#111 caused problems which were especially
 -- noticeable when clicking on tabs in a tabbed layout).
 -- Added a 'stringProperty' query that can be used in manageHooks to match
    on any text property of a window.

More changes can be found on
http://haskell.org/haskellwiki/Xmonad/Notable_changes_since_0.6
2008-06-08 23:42:41 +00:00

43 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2008/06/08 23:42:41 zul_ Exp $
#
DISTNAME= xmonad-${VERSION}
CATEGORIES= wm
MASTER_SITES= http://hackage.haskell.org/packages/archive/xmonad/${VERSION}/
MAINTAINER= emil@math.su.se
HOMEPAGE= http://xmonad.org/
COMMENT= Minimalist tiling window manager for X
USE_LANGUAGES= c
GHCVERSION_cmd= ${PREFIX}/bin/ghc -V | ${CUT} -d ' ' -f 8
GHCVERSION= ${GHCVERSION_cmd:sh}
FILES_SUBST+= PREFIX=${PREFIX}
FILES_SUBST+= GHCVERSION=${GHCVERSION}
FILES_SUBST+= PKGVERSION=${VERSION}
PLIST_SUBST+= GHCVERSION=${GHCVERSION}
CONFIGURE_ARGS+= --ghc
CONFIGURE_ARGS+= --with-compiler=${PREFIX}/bin/ghc
CONFIGURE_ARGS+= --with-hc-pkg=${PREFIX}/bin/ghc-pkg
CONFIGURE_ARGS+= --prefix=${PREFIX}
VERSION= 0.7
do-configure:
cd ${WRKSRC} && runhaskell -cpp Setup.lhs configure ${CONFIGURE_ARGS}
do-build:
cd ${WRKSRC} && runhaskell -cpp Setup.lhs build
do-install:
cd ${WRKSRC} && runhaskell -cpp Setup.lhs copy
.include "../../wip/hs-x11-extras/buildlink3.mk"
.include "../../wip/hs-x11/buildlink3.mk"
.include "../../lang/ghc/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"